/// "SVK - Protector"/"Slovak Protector"/SVKP (https://web.archive.org/web/20020604155614/http://www.anticracking.sk/) was a packer created by Pavol Cerven that focused on protecting and obfuscating executables.
/// It offered features such as encryption, debugger detection, and protection against memory dumps (https://web.archive.org/web/20020805143050fw_/http://www.anticracking.sk/svkp.html).
// TODO: Investigate the "Debugger or tool for monitoring detected!!!.Application cannot be run with debugger or monitoring tool(s) loaded!. Please unload it and restart the application" strings present in seemingly every version.
// Get the entry point data, if it exists.
if(pex.EntryPointData!=null)
{
// Found in the SVKP 1.05 demo.
if(pex.EntryPointData.StartsWith(newbyte?[]
{
0xEB,0x03,0xC7,0x84,0xE8,0x60,0xEB,0x03,
0xC7,0x84,0xE8,0xEB,0x03,0xC7,0x84,0x9A,
0xE8,0x00,0x00,0x00,0x00,0x5D,0x81,0xED,
0x15,0x00,0x00,0x00,0xEB,0x03,0xC7,0x84,
0xE9,0x64,0xA0
}))
return"SVKP v1.05";
// Found in the SVKP 1.051 demo.
if(pex.EntryPointData.StartsWith(newbyte?[]
{
0x60,0xEB,0x03,0xC7,0x84,0xE8,0xEB,0x03,
0xC7,0x84,0x9A,0xE8,0x00,0x00,0x00,0x00,
0x5D,0x81,0xED,0x10,0x00,0x00,0x00,0xEB,
0x03,0xC7,0x84,0xE9,0x64,0xA0,0x23,0x00,
0x00,0x00,0xEB
}))
return"SVKP v1.051";
// Found in the SVKP 1.11 demo.
if(pex.EntryPointData.StartsWith(newbyte?[]
{
0x60,0xE8,null,null,null,null,0x5D,0x81,
0xED,0x06,null,null,null,0x64,0xA0,0x23
}))
return"SVKP v1.11";
// Found in the SVKP 1.32 demo and Redump entry 84122.
// This section is present in at least versions 1.05-1.32, but isn't present in every known sample of these versions. Removing this section name may be a perk of the licensed version.