{
auto pvs_addr = g_opcodes->scan_absolute(
g_modules->m_modules.engine2_dll.get_name(),
xorstr_("48 8D 0D ? ? ? ? 33 D2 FF 50"),
0x3
);
if ( pvs_addr )
{
m_pvs = reinterpret_cast<i_pvs*>( pvs_addr );
__try
{
m_pvs->set( true );
LOG_INFO( xorstr_( "[+] PVS disabled" ) );
}
__except ( EXCEPTION_EXECUTE_HANDLER )
{
m_pvs = nullptr;
LOG_ERROR( xorstr_( "[-] PVS set failed" ) );
}
}
else
{
LOG_ERROR( xorstr_( "[-] PVS pointer not found" ) );
}
}
LOG_INFO(xorstr_("[+] Interfaces initialization completed!"));
}