// Detect It Easy: detection rule file format

init("packer", "JDPack");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.compareEP("558BEC6AFF68........68........64A1000000005064892500000000......E801000000")) {
        sVersion = "2.00";
        bDetected = true;
    } else if (PE.compareEP("60E8000000005D8BD581ED........2B95........81EA06......8995........83BD")) {
        sVersion = "1.01";
        bDetected = true;
    }

    return result(bShowType, bShowVersion, bShowOptions);
}