冰楓論壇

標題: TwMS v262.4 Auto Key [打印本頁]

作者: 晴曦    時間: 2024-7-10 18:52
標題: TwMS v262.4 Auto Key
  1. //TwMS v262.4 Auto Key
  2. [ENABLE]
  3. Alloc(Auto_Key_Hook,128,142602FF2)
  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,14784A4D8
  27. mov rcx,[rcx]
  28. jl 142602FF2+5
  29. mov [Timer],eax
  30. call 1448828B0
  31. add rsp,20
  32. pop r11
  33. pop r10
  34. pop r9
  35. pop r8
  36. pop rdx
  37. pop rcx
  38. call 142C1D6C0
  39. jmp 142602FF2+5

  40. 142602FF2:
  41. jmp Auto_Key_Hook

  42. [DISABLE]
  43. 142602FF2:
  44. call 142C1D6C0

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





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