Advertisement
tcyknhrabirwjyljhp

Untitled

Mar 4th, 2023
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. [ENABLE]
  2. globalalloc(ToggleConsole,$1000,GameAssembly.dll)
  3. createthread(ToggleConsole)
  4.  
  5. ToggleConsole:
  6. xor r12,r12
  7. sub rsp,28
  8. call GameAssembly.DllGetActivationFactory+A410 // get root domain
  9. mov rcx,rax
  10. call GameAssembly.DllGetActivationFactory+8790 // thread attach
  11. mov rsi,rax
  12. KeyLoop:
  13. mov rax,[GameAssembly.dll+50893F8] // static memory
  14. mov rax,[rax+000000B8] // Singleton
  15. test rax,rax
  16. je KeyLoop
  17. mov rax,[rax+10] // DebugConsole
  18. test rax,rax
  19. je KeyLoop
  20. mov rdi,rax
  21. mov ecx,50
  22. xor edx,edx
  23. call KERNELBASE.SleepEx
  24. mov rcx,70 // F1
  25. call USER32.GetAsyncKeyState
  26. test eax,eax
  27. je KeyLoop
  28. mov rcx,rdi
  29. //mov eax,1
  30. sub eax,r12d
  31. mov dl,al
  32. mov r12d,edx
  33. call GameAssembly.dll+2C88FB0 // Show
  34. jmp KeyLoop
  35. mov rcx,rsi
  36. call GameAssembly.DllGetActivationFactory+9420 // thread detach
  37. add rsp,28
  38. ret
  39.  
  40. [DISABLE]
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement