冰楓論壇

標題: TwMs v264.1 Auto Key [打印本頁]

作者: lafeng666    時間: 2024-9-11 13:21
標題: TwMs v264.1 Auto Key
  1. //TwMs v264.1 Auto Key
  2. [ENABLE]
  3. Alloc(Auto_Key_Hook,128,142967F72)
  4. Alloc(Delay,4)
  5. Alloc(Timer,4)
  6. RegisterSymbol(Delay)
  7. RegisterSymbol(Timer)

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

  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,001D0030 //按鍵代碼
  25. mov edx,11 //鍵碼
  26. mov rcx,147ADCE98
  27. mov rcx,[rcx]
  28. jl 142967F72+5
  29. mov [Timer],eax
  30. call 144A82670
  31. add rsp,20
  32. pop r11
  33. pop r10
  34. pop r9
  35. pop r8
  36. pop rdx
  37. pop rcx
  38. call 142F8BE20
  39. jmp 142967F72+5

  40. 142967F72:
  41. jmp Auto_Key_Hook

  42. [DISABLE]
  43. 142967F72:
  44. call 142F8BE20

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





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