// DIE's signature file
// Author: hypn0 <hypn0@mail.ru>

init("protector", "MaskPE");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.isSectionNamePresent(".MaskPE") && PE.compareEP("60")) {
        if (PE.findSignature(PE.nEP, 0x100, "6160e8........8bc33e8b..40e8") != -1) {
            sVersion = "2.0";
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}