冰楓論壇

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

作者: 晴曦    時間: 2024-5-18 00:40
標題: TwMS v261.2 Auto Key
  1. //TwMS v261.2 Auto Key
  2. [ENABLE]
  3. Alloc(Auto_Key_Hook,128,142413542)
  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,00210000 //按鍵代碼
  25. mov edx,46 //鍵碼
  26. mov rcx,14755A4E8
  27. mov rcx,[rcx]
  28. jl 142413542+5
  29. mov [Timer],eax
  30. call 14461E5D0
  31. add rsp,20
  32. pop r11
  33. pop r10
  34. pop r9
  35. pop r8
  36. pop rdx
  37. pop rcx
  38. call 142A13750
  39. jmp 142413542+5

  40. 142413542:
  41. jmp Auto_Key_Hook

  42. [DISABLE]
  43. 142413542:
  44. call 142A13750

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





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