// Detect It Easy: detection rule file format
// Author: LinXP

init("sfx", "NanoZip");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.compareEP("60be........8dbe........5789e58d9c24........31c05039dc75")) {
        if (PE.compareOverlay("AE01'NanoZip 0.09 alpha'")) {
            sVersion = "0.09a";
            sOptions = "nz_w32c.sfx";
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}