Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extern _detour_chain
- section .text
- my_DwmEnableComposition:
- ret
- global thcrap_plugin_init
- export thcrap_plugin_init
- thcrap_plugin_init:
- push 0
- push dword [my_DwmEnableComposition]
- push func
- push 0
- push dll
- call _detour_chain
- xor eax, eax
- ret
- global __DllMainCRTStartup@12
- __DllMainCRTStartup@12:
- mov eax, 1
- ret 12
- section .rdata
- dll db "dwmapi.dll", 0
- func db "DwmEnableComposition", 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement