Asm AimBoT Source - Dll (Mw2)
#1
this code is a aimbot source code for Mw2 Multyplayer
you can edit the offsets to any other call of duty game
(its detected by Vac)

Code -
Code:
void AimBoT(unsigned int Current_X_Degress_Address,unsigned int X_Degress_Address,unsigned int Current_Y_Degress_Address,unsigned int Y_Degress_Address,unsigned int Get_If_Aiming_Address,unsigned int My_X_Location_Address,unsigned int My_Y_Location_Address,unsigned int My_Z_Location_Address,unsigned int Enemy_X_Location_Address,unsigned int Enemy_Y_Location_Address,unsigned int Enemy_Z_Location_Address){ float My_X_Location,My_Y_Location,My_Z_Location,Enemy_X_Location,Enemy_Y_Location,Enemy_Z_Location,temp; int Returns[12]; __asm{ Start: mov ecx,esp push [Get_If_Aiming_Address] call ReadMemory fldz fld dword ptr [esp] fcom fstsw ax sahf fstp dword ptr [esp-4] fstp dword ptr [esp-4] je end push [My_X_Location_Address] call ReadMemory pop eax push [My_Y_Location_Address] call ReadMemory pop edx push [My_Z_Location_Address] call ReadMemory pop ebx mov [My_X_Location],eax mov [My_Y_Location],edx mov [My_Z_Location],ebx push [Enemy_X_Location_Address] call ReadMemory pop eax push [Enemy_Y_Location_Address] call ReadMemory pop edx push [Enemy_Z_Location_Address] call ReadMemory pop ebx cmp eax,0 je Testz jmp DontEnd Testz: cmp edx,0 je Test1 jmp DontEnd Test1: cmp ebx,0 je end DontEnd: push [Enemy_X_Location_Address] call ReadMemory pop eax push [Enemy_Y_Location_Address] call ReadMemory pop edx push [Enemy_Z_Location_Address] call ReadMemory pop ebx mov [Enemy_X_Location],eax mov [Enemy_Y_Location],edx mov [Enemy_Z_Location],ebx fld dword ptr [Enemy_X_Location] fld dword ptr [My_X_Location] fsub fstp dword ptr [My_X_Location] fld dword ptr [Enemy_Y_Location] fld dword ptr [My_Y_Location] fsub fstp dword ptr [My_Y_Location] fld dword ptr [Enemy_Z_Location] fld dword ptr [My_Z_Location] fsub fstp dword ptr [My_Z_Location] fldz fld dword ptr [My_Y_Location] fcom fstsw ax sahf fstp dword ptr [esp-4] fstp dword ptr [esp-4] jb Compare1 jmp endCompare1 Compare1: fldz fld dword ptr [My_X_Location] fcom fstsw ax sahf fstp dword ptr [esp-4] fstp dword ptr [esp-4] jb Compare1_1 jge Compare1_2 Compare1_1: push -1 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fld dword ptr [My_X_Location] fmul fstp DWORD PTR [My_X_Location] add esp,4 push -1 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fld dword ptr [My_Y_Location] fmul fstp DWORD PTR [My_Y_Location] add esp,4 push 180 fild DWORD PTR [esp] fstp DWORD PTR [esp] push 1 call Degrees_X jmp endCompare2 Compare1_2: push 1 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fld dword ptr [My_X_Location] fmul fstp DWORD PTR [My_X_Location] add esp,4 push -1 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fld dword ptr [My_Y_Location] fmul fstp DWORD PTR [My_Y_Location] add esp,4 push 90 fild DWORD PTR [esp] fstp DWORD PTR [esp] push 0 call Degrees_X jmp endCompare2 endCompare1: fldz fld dword ptr [My_Y_Location] add esp,4 fcom fstsw ax sahf fstp dword ptr [esp-4] fstp dword ptr [esp-4] jge Compare2 jmp endCompare2 Compare2: fldz fld dword ptr [My_X_Location] add esp,4 fcom fstsw ax sahf fstp dword ptr [esp-4] fstp dword ptr [esp-4] jb Compare2_1 jge Compare2_2 Compare2_1: push -1 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fld dword ptr [My_X_Location] fmul fstp DWORD PTR [My_X_Location] add esp,4 push 1 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fld dword ptr [My_Y_Location] fmul fstp DWORD PTR [My_Y_Location] add esp,4 push 270 fild DWORD PTR [esp] fstp DWORD PTR [esp] push 0 call Degrees_X jmp endCompare2 Compare2_2: push 1 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fld dword ptr [My_X_Location] fmul fstp DWORD PTR [My_X_Location] add esp,4 push 1 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fld dword ptr [My_Y_Location] fmul fstp DWORD PTR [My_Y_Location] add esp,4 push 0 fild DWORD PTR [esp] fstp DWORD PTR [esp] push 1 call Degrees_X jmp endCompare2 endCompare2: push [Current_X_Degress_Address] call ReadMemory fldz fld dword ptr [esp] fcom fstsw ax sahf fstp dword ptr [esp-4] fstp dword ptr [esp-4] jb add360d jmp dadd360d add360d: fld dword ptr [esp] push 360 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld dword ptr [esp] fadd add esp,4 fstp DWORD PTR [esp] dadd360d: push [X_Degress_Address] call ReadMemory fld dword ptr [esp] fld dword ptr [esp+4] fsub add esp,4 fstp dword ptr [esp] fld dword ptr [esp] fld dword ptr [esp+4] fadd add esp,4 fstp dword ptr [esp] pop ebx push [X_Degress_Address] push ebx call WriteMemory fldz fld dword ptr [My_Z_Location] fcom fstsw ax sahf fstp dword ptr [esp-4] fstp dword ptr [esp-4] jb DoMinus push -1 jmp elseDoPlus DoMinus: fld [My_Z_Location] push -1 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fmul fstp DWORD PTR [My_Z_Location] push 1 elseDoPlus: call Degrees_Y; push [Current_Y_Degress_Address] call ReadMemory push [Y_Degress_Address] call ReadMemory fld dword ptr [esp] fld dword ptr [esp+4] fsub add esp,4 fstp dword ptr [esp] fld dword ptr [esp] fld dword ptr [esp+4] fadd add esp,4 fstp dword ptr [esp] pop eax push [Y_Degress_Address] push eax call WriteMemory push [Enemy_X_Location_Address] push 0 call WriteMemory push [Enemy_Y_Location_Address] push 0 call WriteMemory push [Enemy_Z_Location_Address] push 0 call WriteMemory jmp end ReadMemory: ; ReadMemory(Address) pop (Returns[0]) pop esi mov edi, DWORD PTR DS:[esi] push edi xor edi,edi xor esi,esi push (Returns[0]) retn WriteMemory: ; WriteMemory(Address,Value) pop (Returns[0]) pop esi pop edi mov DWORD PTR DS:[edi], esi xor esi,esi xor edi,edi push (Returns[0]) retn Sqrt: ; Sqrt(Value) pop (Returns[0]) fld dword ptr [esp] fsqrt fstp dword ptr [esp] push (Returns[0]) retn Atan: ; Atan(Value) pop (Returns[0]) fld dword ptr [esp] fld1 fpatan fstp dword ptr [esp] push 180 fild DWORD PTR [esp] fstp DWORD PTR [esp] fld dword ptr [esp] fldpi fdiv fstp dword ptr [esp] pop esi fld dword ptr [esp] push esi fld dword ptr [esp] fmul add esp,4 fstp dword ptr [esp] push (Returns[0]) retn Pow: ; Pow(Base,Power) pop (Returns[0]) fld DWORD PTR [esp] fld DWORD PTR [esp+4] fld1 fsub fyl2xp1 sub esp,16 fist DWORD PTR [esp+12] fld1 fstp TBYTE PTR [esp] fisub DWORD PTR [esp+12] mov eax, [esp+12] add [esp+8],eax f2xm1 fld1 fadd fld TBYTE PTR [esp] fmul add esp,20 fstp DWORD PTR [esp] push (Returns[0]) retn Asin: ; Asin(Value) pop (Returns[4]) push 2 fild DWORD PTR [esp] fstp DWORD PTR [esp] call Pow pop edi push edi fld1 fld DWORD PTR [esp] fsub fstp DWORD PTR [esp] push edi fld DWORD PTR [esp] fld DWORD PTR [esp+4] fdiv fstp DWORD PTR [esp] call Sqrt call Atan push (Returns[4]) retn Acos: ; Acos(Value) pop (Returns[4]) push 2 fild DWORD PTR [esp] fstp DWORD PTR [esp] call Pow pop edi push edi fld1 fld DWORD PTR [esp] fsub fstp DWORD PTR [esp] push edi fld DWORD PTR [esp+4] fld DWORD PTR [esp] fdiv fstp DWORD PTR [esp] call Sqrt call Atan push (Returns[4]) retn Degrees_X: ; Degrees_X(Value,Value) pop (Returns[8]) pop esi pop [temp] push [My_X_Location] push 2 fild DWORD PTR [esp] fstp DWORD PTR [esp] call Pow push [My_Y_Location] push 2 fild DWORD PTR [esp] fstp DWORD PTR [esp] call Pow fld DWORD PTR [esp+4] fld DWORD PTR [esp] fadd add esp,4 fstp DWORD PTR [esp] call Sqrt push [My_X_Location] fld DWORD PTR [esp] fld DWORD PTR [esp+4] fdiv add esp,4 fstp DWORD PTR [esp] pop edi cmp esi,1 je DoSin_X jmp DoCos_X DoSin_X: push edi call Asin fld DWORD PTR [temp] fld DWORD PTR [esp] fadd add esp,4 fstp DWORD PTR [esp] push (Returns[8]) retn DoCos_X: push edi call Acos fld DWORD PTR [temp] fld DWORD PTR [esp] fadd add esp,4 fstp DWORD PTR [esp] push (Returns[8]) retn Degrees_Y: ; Degrees_Y() pop (Returns[8]) pop [temp] push [My_X_Location] push 2 fild DWORD PTR [esp] fstp DWORD PTR [esp] call Pow push [My_Y_Location] push 2 fild DWORD PTR [esp] fstp DWORD PTR [esp] call Pow fld DWORD PTR [esp+4] fld DWORD PTR [esp] fadd add esp,4 fstp DWORD PTR [esp] push [My_Z_Location] push 2 fild DWORD PTR [esp] fstp DWORD PTR [esp] call Pow fld DWORD PTR [esp+4] fld DWORD PTR [esp] fadd add esp,4 fstp DWORD PTR [esp] call Sqrt push [My_Z_Location] fld DWORD PTR [esp] fld DWORD PTR [esp+4] fdiv add esp,4 fstp DWORD PTR [esp] call Asin push temp fild DWORD PTR [esp] fstp DWORD PTR [esp] fld DWORD PTR [esp] fld DWORD PTR [esp+4] fmul add esp,4 fstp DWORD PTR [esp] push (Returns[8]) retn end: mov esp,ecx } Sleep(17); }

here a video -

here full code -
http://pastebin.com/FJ63pYbD

all credits saves to NieXrlaM for coding

Enjoy and sorry for my english =P
[Image: 14y48rc.png]
There are 10 types of people in the world, those who know binary code and those who not understand the joke ,,
Reply

#2
glad to have you on board
Reply

#3
WHY?
Why not just use a language like C++

Also, Sleep?

hook the frame rendering.
Reply

#4
(11-12-2010, 02:48)SuperNovaAO Wrote: WHY?
Why not just use a language like C++

Also, Sleep?

hook the frame rendering.

its assembly forum .. so i will not post c++ aimbot.. and i have one
2)
i need to do sleep in the function becuse if i will not.. it will not work so well
[Image: 14y48rc.png]
There are 10 types of people in the world, those who know binary code and those who not understand the joke ,,
Reply

#5
Well, hook the framerendering function and you won't need a sleep.
+ I added syntax highlightning in your post.
Reply

#6
(11-12-2010, 03:17)SuperNovaAO Wrote: Well, hook the framerendering function and you won't need a sleep.
+ I added syntax highlightning in your post.

edit my code.. and add what ever you want =P
if your saying that it will be better then Sleep function
[Image: 14y48rc.png]
There are 10 types of people in the world, those who know binary code and those who not understand the joke ,,
Reply

#7
Thanks for this Niex
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] [SOURCE] Random Weapons. [HARD] Tony. 1 6,153 11-08-2013, 11:11
Last Post: Nekochan
  Help source random weapons [HARD] Tony. 4 6,567 11-08-2013, 05:25
Last Post: [HARD] Tony.
  [Request] Health and Points on hud source robinvm 7 8,179 10-27-2013, 08:23
Last Post: robinvm
  [Release] Working Aimbot The Clay Man 17 25,274 10-21-2013, 15:10
Last Post: zurasaur
  [Release] [SOURCE] DOOR V2.0 [HARD] Tony. 5 7,264 09-26-2013, 14:01
Last Post: Nekochan
  [source] medic E-losev 6 7,550 07-26-2013, 06:18
Last Post: E-losev
  [source] vAmpIr E-losev 5 6,776 07-25-2013, 16:28
Last Post: Bandarigoda123
  [Release] Barata's REAL External Console Source C# barata 37 30,143 06-28-2013, 23:47
Last Post: barata
  [Release] Shoutbot + source JariZ 11 10,353 04-05-2013, 18:15
Last Post: SuperNovaAO
Rainbow [News] Valve strikes again (Source Filmmaker) estebespt 25 18,700 04-05-2013, 18:15
Last Post: SuperNovaAO

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.