SHARE
TWEET

Untitled

a guest Mar 20th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [ENABLE]
  2. aobscanmodule(_Crosshair,FC_m64.dll,41 89 07 48 8B 56 18)
  3. aobscanmodule(_WriteMouseButtonClick,DINPUT8.dll,48 8B 05 E2 C6 02 00)
  4. globalalloc(CrosshairMem,$1000,"FC_m64.dll"+10B1C254)
  5. alloc(MouseMem,$1000,"DINPUT8.dll"+FA03)
  6. alloc(_FlagCrosshair,8)
  7. registersymbol(_FlagCrosshair)
  8. registersymbol(_Crosshair)
  9. registersymbol(_WriteMouseButtonClick)
  10.  
  11. CrosshairMem:
  12. cmp rax,00000000FFFFFFFF
  13. je codeCrosshair
  14. cmp byte ptr [r15],#255
  15. je codeCrosshair
  16. cmp r12,0
  17. je codeCrosshair
  18. mov [_FlagCrosshair],rax
  19. codeCrosshair:
  20.   mov [r15],eax
  21.   mov rdx,[rsi+18]
  22.   jmp returnCrosshair
  23.  
  24. MouseMem:
  25. popfq
  26.   mov byte ptr [DINPUT8.dll+3C0EC],80
  27.   mov byte ptr [DINPUT8.dll+3C0ED],80
  28.   jmp returnMouse
  29.  
  30. codeMouse:
  31. pushfq
  32.  // cmp byte ptr [DINPUT8.dll+3C0EC],80
  33.  // je originalcode
  34.   mov byte ptr [DINPUT8.dll+3C0EC],#0
  35.   cmp byte ptr [_FlagCrosshair],1
  36.   je MouseMem
  37. popfq
  38. mov rax,[DINPUT8.dll+3C0EC]
  39.   jmp returnMouse
  40.  
  41.   //originalcode:
  42. //popfq
  43.  // mov rax,[DINPUT8.dll+3C0EC]
  44.  // jmp returnMouse
  45.  
  46.  
  47. _Crosshair:
  48.   jmp CrosshairMem
  49.   nop
  50.   nop
  51. returnCrosshair:
  52.  
  53.  
  54. _WriteMouseButtonClick:
  55.   jmp codeMouse
  56.   nop
  57.   nop
  58. returnMouse:
  59.  
  60.  
  61. _FlagCrosshair:
  62. db 0
  63.  
  64. [DISABLE]
  65.  
  66. _Crosshair:
  67.   db 41 89 07 48 8B 56 18
  68. _WriteMouseButtonClick:
  69.   db 48 8B 05 E2 C6 02 00
  70. unregistersymbol(_Crosshair)
  71. unregistersymbol(_FlagCrosshair)
  72. unregistersymbol(_WriteMouseButtonClick)
  73. dealloc(MouseMem)
  74. dealloc(_FlagCrosshair)
  75. dealloc(CrosshairMem)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top