Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- globalalloc(ToggleConsole,$1000,GameAssembly.dll)
- createthread(ToggleConsole)
- ToggleConsole:
- xor r12,r12
- sub rsp,28
- call GameAssembly.DllGetActivationFactory+A410 // get root domain
- mov rcx,rax
- call GameAssembly.DllGetActivationFactory+8790 // thread attach
- mov rsi,rax
- KeyLoop:
- mov rax,[GameAssembly.dll+50893F8] // static memory
- mov rax,[rax+000000B8] // Singleton
- test rax,rax
- je KeyLoop
- mov rax,[rax+10] // DebugConsole
- test rax,rax
- je KeyLoop
- mov rdi,rax
- mov ecx,50
- xor edx,edx
- call KERNELBASE.SleepEx
- mov rcx,70 // F1
- call USER32.GetAsyncKeyState
- test eax,eax
- je KeyLoop
- mov rcx,rdi
- //mov eax,1
- sub eax,r12d
- mov dl,al
- mov r12d,edx
- call GameAssembly.dll+2C88FB0 // Show
- jmp KeyLoop
- mov rcx,rsi
- call GameAssembly.DllGetActivationFactory+9420 // thread detach
- add rsp,28
- ret
- [DISABLE]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement