Advertisement
Guest User

aero.asm

a guest
Feb 20th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. extern  _detour_chain
  2.  
  3.     section .text
  4.  
  5. my_DwmEnableComposition:
  6.     ret
  7.  
  8. global  thcrap_plugin_init
  9. export  thcrap_plugin_init
  10. thcrap_plugin_init:
  11.     push    0
  12.     push    dword [my_DwmEnableComposition]
  13.     push    func
  14.     push    0
  15.     push    dll
  16.     call    _detour_chain
  17.  
  18.     xor eax, eax
  19.     ret
  20.  
  21. global  __DllMainCRTStartup@12
  22. __DllMainCRTStartup@12:
  23.     mov eax, 1
  24.     ret 12
  25.  
  26.     section .rdata
  27.  
  28. dll db "dwmapi.dll", 0
  29. func    db "DwmEnableComposition", 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement