// DIE's signature file

init("crypter", "Duals eXe Encryptor");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.compareEP("558BEC81EC00050000E8000000005D81ED0E")) {
        switch (PE.readWord(PE.nEP + 18)) {
            case 0x308:
                sVersion = "1.0";
                break;
            case 0x43A:
                sVersion = "1.0b";
                break;
        }
        bDetected = true;
    }

    return result(bShowType, bShowVersion, bShowOptions);
}