// Detect It Easy: detection rule file format

init("protector", "DeepSea");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.isNET()) {
        var nOffset = PE.findString(PE.section[0].FileOffset, PE.section[0].FileSize, "DeepSeaObfuscator");
        if (nOffset != -1) {
            if (PE.compare("'Evaluation'", nOffset + 18)) {
                sVersion = "4.X";
                sOptions = "Evaluation";
            }
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}