Advertisement
captmicro

Untitled

Feb 17th, 2013
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _declspec(naked) void FunctionCallerStub()
  2. {
  3.     __asm
  4.     {
  5.         pushfd ;store flags
  6.         pushad ;store registers
  7.         jz _SkipFunction
  8.         call Function
  9.     __SkipFunction:
  10.         popad ;restore registers
  11.         popfd ;restore flags
  12.         jnz 0x0042E280
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement