// DIE's signature file

init("protector", "Maxtocode");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.isNET()) {
        if (PE.isNetObjectPresent("Attick.dll") && PE.isNetObjectPresent("CheckRuntime")) {
            sVersion = "1.X";
            sOptions = "runtime";
            bDetected = true;
        } else if (PE.isSignatureInSectionPresent(0, "00'InfaceMax 'ffffff005f175920ffff00'toCode_interface'00")) {
            sVersion = "1.X";
            bDetected = true;
        } else if (PE.isNetObjectPresent("MRuntime3.dll")) {
            sVersion = "3.X";
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}