|
|
|
@ -116,6 +116,18 @@ int __cdecl main( int argc, const char *argv[] )
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::printf( "> virtual instruction rva decryption instructions:\n" );
|
|
|
|
|
for ( auto &transform : vinstr_rva_decrypt_instrs )
|
|
|
|
|
{
|
|
|
|
|
std::printf( "\t" );
|
|
|
|
|
vm::util::print( transform );
|
|
|
|
|
}
|
|
|
|
|
std::printf( "> virtual instruction rva encryption instructions:\n" );
|
|
|
|
|
if (!vm::transform::inverse_transforms(vinstr_rva_decrypt_instrs))
|
|
|
|
|
{
|
|
|
|
|
std::printf( "> failed to inverse rva encryption instructions...\n" );
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for ( auto &transform : vinstr_rva_decrypt_instrs )
|
|
|
|
|
{
|
|
|
|
|
std::printf( "\t" );
|
|
|
|
@ -130,6 +142,8 @@ int __cdecl main( int argc, const char *argv[] )
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ( parser.exists( "showhandlers" ) )
|
|
|
|
|
{
|
|
|
|
|
for ( auto idx = 0u; idx < vm_handlers.size(); ++idx )
|
|
|
|
|