// Detect It Easy: detection rule file
// Author: hypn0 <hypn0@mail.ru>

meta("sfx", "LHA SFX");

function detect() {
    if (MSDOS.compareEP("eb$$fcbc....8cc805....8ec0eb$$bb....e8....061fb430cd218bd81e3c..72..368e06....33c08bf8b9....f2aeae")) {
        sVersion = "2.05L, 2.10-2.13, 2.55";
        bDetected = true;
    } else if (MSDOS.compareEP("eb$$fcbc....8cc805....8ec0e8....bb....e8....061fb430cd218bd81e3c..72..368e06....33c08bf8")) {
        sVersion = "2.13";
        bDetected = true;
    } else if (MSDOS.compareEP("eb$$00fcbc....8cc805....8ec0eb$$bb....e8....061fb430cd218bd81e3c..72..368e06....33c08bf8b9....f2aeae")) {
        sVersion = "2.13S";
        sOptions = "converted to exe";
        bDetected = true;
    } else if (MSDOS.compareEP("e9$$$$fcbc....8cc805....8ec0b8....cd21be....268816....26c706........ac")) {
        sVersion = "1.13L";
        sOptions = "converted to exe";
        bDetected = true;
    }

    return result();
}