冰楓論壇

標題: TwMS v263.2 Auto Key [打印本頁]

作者: 晴曦    時間: 2024-8-7 20:00
標題: TwMS v263.2 Auto Key
  1. //TwMS v263.2 Auto Key
  2. [ENABLE]
  3. Alloc(Auto_Key_Hook,128,142628242)
  4. alloc(Delay,4)
  5. alloc(Timer,4)
  6. registersymbol(Delay)
  7. registersymbol(Timer)

  8. Delay: //延遲毫秒
  9. DD #1

  10. Timer:
  11. DD 00

  12. Auto_Key_Hook:
  13. push rcx
  14. push rdx
  15. push r8
  16. push r9
  17. push r10
  18. push r11
  19. sub rsp,20
  20. call KERNEL32.GetTickCount
  21. mov edx,eax
  22. sub edx,[Timer]
  23. cmp edx,[Delay]
  24. mov r8,002C0000 //按鍵代碼
  25. mov edx,5A //鍵碼
  26. mov rcx,14785FB98
  27. mov rcx,[rcx]
  28. jl 142628242+5
  29. mov [Timer],eax
  30. call 1448A0C20
  31. add rsp,20
  32. pop r11
  33. pop r10
  34. pop r9
  35. pop r8
  36. pop rdx
  37. pop rcx
  38. call 142C426C0
  39. jmp 142628242+5

  40. 142628242:
  41. jmp Auto_Key_Hook

  42. [DISABLE]
  43. 142628242:
  44. call 142C426C0

  45. DeAlloc(Auto_Key_Hook)
  46. Dealloc(Delay)
複製代碼





歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓