x86 Assembly AimBoT Source v1.8 - Dll (Mw2)
#1
this is the new version of my AimBoT
i included Tube Support

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,unsigned int Gravity_Address,unsigned int If_Aiming_Tube_Address,float Tube_Velocity){ float My_X_Location,My_Y_Location,My_Z_Location,Enemy_X_Location,Enemy_Y_Location,Enemy_Z_Location,Gravity,Velocity,temp; int retnto[3]; __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 onemoreChance push 2500 fild dword ptr [esp] fstp dword ptr [Velocity] add esp,4 push 1 fild DWORD PTR [esp] fstp DWORD PTR [Gravity] add esp,4 jmp DontEndYet onemoreChance: push [If_Aiming_Tube_Address] call ReadMemory pop eax mov ebx,0 cmp eax,ebx je end push [If_Aiming_Tube_Address] call ReadMemory pop eax mov ebx,3 cmp eax,ebx jg end mov eax,[Tube_Velocity] mov [Velocity],eax push [Gravity_Address] call ReadMemory fild DWORD PTR [esp] fstp DWORD PTR [Gravity] add esp,4 DontEndYet: 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 call Degrees_Y fld dword ptr [esp] fld dword ptr [esp] fcom fstsw ax sahf fstp dword ptr [esp-4] fstp dword ptr [esp-4] jb end push -1 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 [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 retnto[0] pop esi mov edi, dword ptr ds:[esi] push edi push retnto[0] retn WriteMemory: ; WriteMemory(Address,Value) pop retnto[0] pop esi pop edi mov dword ptr ds:[edi], esi push retnto[0] retn Sqrt: ; Sqrt(Value) pop retnto[0] fld dword ptr [esp] fsqrt fstp dword ptr [esp] push retnto[0] retn Atan: ; Atan(Value) pop retnto[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 retnto[0] retn Pow: ; Pow(Base,Power) pop retnto[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 retnto[0] retn Asin: ; Asin(Value) pop retnto[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 retnto[4] retn Acos: ; Acos(Value) pop retnto[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 retnto[4] retn Degrees_X: ; Degrees_X(Value,Value) pop retnto[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 retnto[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 retnto[8] retn Degrees_Y: ; Degrees_Y() pop retnto[8] 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] fld dword ptr [esp+4] fadd add esp,4 fstp dword ptr [esp] call Sqrt pop dword ptr [My_X_Location] push [Velocity] push 4 fild dword ptr [esp] fstp dword ptr [esp] call Pow push dword ptr [My_X_Location] push 2 fild dword ptr [esp] fstp dword ptr [esp] call Pow fld dword ptr [esp] fld dword ptr [Gravity] fmul fstp dword ptr [esp] push 2 fild dword ptr [esp] fstp dword ptr [esp] fld dword ptr [esp] fld dword ptr [My_Z_Location] fmul fstp dword ptr [esp] push [Velocity] push 2 fild dword ptr [esp] fstp dword ptr [esp] call Pow fld dword ptr [esp] fld dword ptr [esp+4] fmul add esp,4 fstp dword ptr [esp] fld dword ptr [esp] fld dword ptr [esp+4] fadd add esp,4 fstp dword ptr [esp] fld dword ptr [Gravity] fld dword ptr [esp] fmul fstp dword ptr [esp] fld dword ptr [esp+4] fld dword ptr [esp] fsub add esp,4 fstp dword ptr [esp] call Sqrt push [Velocity] push 2 fild dword ptr [esp] fstp dword ptr [esp] call Pow fld dword ptr [esp] fld dword ptr [esp+4] fsub add esp,4 fstp dword ptr [esp] push 0 fld dword ptr [Gravity] fld dword ptr [My_X_Location] fmul fstp dword ptr [esp] fld dword ptr [esp+4] fld dword ptr [esp] fdiv add esp,4 fstp dword ptr [esp] call Atan push retnto[8] retn end: mov esp,ecx } Sleep(17); }

Here full Source code.. for the aimbot and more stuff included
like No recoil .. espbox etc

Code:
#include <windows.h> /*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /NNNNNNNN NNNNNNNN iiii XXXXXXX XXXXXXX lllllll MMMMMMMM MMMMMMMM/ /N:::::::N N::::::N i::::i X:::::X X:::::X l:::::l M:::::::M M:::::::M/ /N::::::::N N::::::N iiii X:::::X X:::::X l:::::l M::::::::M M::::::::M/ /N:::::::::N N::::::N X::::::X X::::::X l:::::l M:::::::::M M:::::::::M/ /N::::::::::N N::::::Niiiiiii eeeeeeeeeeee XXX:::::X X:::::XXXrrrrr rrrrrrrrr l::::l aaaaaaaaaaaaa M::::::::::M M::::::::::M/ /N:::::::::::N N::::::Ni:::::i ee::::::::::::ee X:::::X X:::::X r::::rrr:::::::::r l::::l a::::::::::::a M:::::::::::M M:::::::::::M/ /N:::::::N::::N N::::::N i::::i e::::::eeeee:::::ee X:::::X:::::X r:::::::::::::::::r l::::l aaaaaaaaa:::::a M:::::::M::::M M::::M:::::::M/ /N::::::N N::::N N::::::N i::::i e::::::e e:::::e X:::::::::X rr::::::rrrrr::::::rl::::l a::::a M::::::M M::::M M::::M M::::::M/ /N::::::N N::::N:::::::N i::::i e:::::::eeeee::::::e X:::::::::X r:::::r r:::::rl::::l aaaaaaa:::::a M::::::M M::::M::::M M::::::M/ /N::::::N N:::::::::::N i::::i e:::::::::::::::::e X:::::X:::::X r:::::r rrrrrrrl::::l aa::::::::::::a M::::::M M:::::::M M::::::M/ /N::::::N N::::::::::N i::::i e::::::eeeeeeeeeee X:::::X X:::::X r:::::r l::::l a::::aaaa::::::a M::::::M M:::::M M::::::M/ /N::::::N N:::::::::N i::::i e:::::::e XXX:::::X X:::::XXX r:::::r l::::l a::::a a:::::a M::::::M MMMMM M::::::M/ /N::::::N N::::::::Ni::::::ie::::::::e X::::::X X::::::X r:::::r l::::::la::::a a:::::a M::::::M M::::::M/ /N::::::N N:::::::Ni::::::i e::::::::eeeeeeeeX:::::X X:::::X r:::::r l::::::la:::::aaaa::::::a M::::::M M::::::M/ /N::::::N N::::::Ni::::::i ee:::::::::::::eX:::::X X:::::X r:::::r l::::::l a::::::::::aa:::aM::::::M M::::::M/ /NNNNNNNN NNNNNNNiiiiiiii eeeeeeeeeeeeeeXXXXXXX XXXXXXX rrrrrrr llllllll aaaaaaaaaa aaaaMMMMMMMM MMMMMMMM/ / / / all credits saves to NieXrlaM for coding / *//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 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,unsigned int Gravity_Address,unsigned int If_Aiming_Tube_Address,float Tube_Velocity){ float My_X_Location,My_Y_Location,My_Z_Location,Enemy_X_Location,Enemy_Y_Location,Enemy_Z_Location,Gravity,Velocity,temp; int retnto[3]; __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 onemoreChance push 2500 fild dword ptr [esp] fstp dword ptr [Velocity] add esp,4 push 1 fild DWORD PTR [esp] fstp DWORD PTR [Gravity] add esp,4 jmp DontEndYet onemoreChance: push [If_Aiming_Tube_Address] call ReadMemory pop eax mov ebx,0 cmp eax,ebx je end push [If_Aiming_Tube_Address] call ReadMemory pop eax mov ebx,3 cmp eax,ebx jg end mov eax,[Tube_Velocity] mov [Velocity],eax push [Gravity_Address] call ReadMemory fild DWORD PTR [esp] fstp DWORD PTR [Gravity] add esp,4 DontEndYet: 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 call Degrees_Y fld dword ptr [esp] fld dword ptr [esp] fcom fstsw ax sahf fstp dword ptr [esp-4] fstp dword ptr [esp-4] jb end push -1 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 [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 retnto[0] pop esi mov edi, dword ptr ds:[esi] push edi push retnto[0] retn WriteMemory: ; WriteMemory(Address,Value) pop retnto[0] pop esi pop edi mov dword ptr ds:[edi], esi push retnto[0] retn Sqrt: ; Sqrt(Value) pop retnto[0] fld dword ptr [esp] fsqrt fstp dword ptr [esp] push retnto[0] retn Atan: ; Atan(Value) pop retnto[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 retnto[0] retn Pow: ; Pow(Base,Power) pop retnto[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 retnto[0] retn Asin: ; Asin(Value) pop retnto[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 retnto[4] retn Acos: ; Acos(Value) pop retnto[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 retnto[4] retn Degrees_X: ; Degrees_X(Value,Value) pop retnto[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 retnto[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 retnto[8] retn Degrees_Y: ; Degrees_Y() pop retnto[8] 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] fld dword ptr [esp+4] fadd add esp,4 fstp dword ptr [esp] call Sqrt pop dword ptr [My_X_Location] push [Velocity] push 4 fild dword ptr [esp] fstp dword ptr [esp] call Pow push dword ptr [My_X_Location] push 2 fild dword ptr [esp] fstp dword ptr [esp] call Pow fld dword ptr [esp] fld dword ptr [Gravity] fmul fstp dword ptr [esp] push 2 fild dword ptr [esp] fstp dword ptr [esp] fld dword ptr [esp] fld dword ptr [My_Z_Location] fmul fstp dword ptr [esp] push [Velocity] push 2 fild dword ptr [esp] fstp dword ptr [esp] call Pow fld dword ptr [esp] fld dword ptr [esp+4] fmul add esp,4 fstp dword ptr [esp] fld dword ptr [esp] fld dword ptr [esp+4] fadd add esp,4 fstp dword ptr [esp] fld dword ptr [Gravity] fld dword ptr [esp] fmul fstp dword ptr [esp] fld dword ptr [esp+4] fld dword ptr [esp] fsub add esp,4 fstp dword ptr [esp] call Sqrt push [Velocity] push 2 fild dword ptr [esp] fstp dword ptr [esp] call Pow fld dword ptr [esp] fld dword ptr [esp+4] fsub add esp,4 fstp dword ptr [esp] push 0 fld dword ptr [Gravity] fld dword ptr [My_X_Location] fmul fstp dword ptr [esp] fld dword ptr [esp+4] fld dword ptr [esp] fdiv add esp,4 fstp dword ptr [esp] call Atan push retnto[8] retn end: mov esp,ecx } Sleep(17); } void SendTextToChat(char* Text){ char* MessageType = "chat message"; int ChatOffset = 0x594830; _asm{ push [MessageType] push 0x3A83B201 push 0x96 push [Text] push [Text] mov ESI,[Text] mov ecx,esi call [ChatOffset] add esp,0x14 } } class MemHacking { public: float ReadFloat(unsigned int Address){ float N; _asm{ push [Address] pop ebx mov eax,dword ptr [ebx] mov [N],eax}return N;} int ReadInt(unsigned int Address){ int N; _asm{ push [Address] pop ebx mov eax,dword ptr [ebx] mov [N],eax}return N;} char* ReadChar(unsigned int Address,unsigned int Bytes){ Bytes -= 1; char* N; for (unsigned int i = 0; i <= Bytes; i++){ char Temporary; __asm{ xor edi,edi push [Address] pop edi xor edx,edx xor dx,dx xor dl,dl xor dh,dh mov dl,byte ptr ds:[edi] mov [Temporary],dl} N[i] = Temporary; Address++;}return N;} void writeMemByte(DWORD dwAddress, void* bytes, DWORD dwSize){ DWORD flOldProtect = 0; VirtualProtect((void*)dwAddress, dwSize, PAGE_EXECUTE_READWRITE, &flOldProtect); memcpy((void*) dwAddress, bytes, dwSize); VirtualProtect((void*)dwAddress, dwSize, flOldProtect, &flOldProtect);} void writeMemInt(DWORD dwAddress, int bytes){ DWORD flOldProtect = 0; VirtualProtect((void*)dwAddress, sizeof(bytes), PAGE_EXECUTE_READWRITE, &flOldProtect); memcpy((void*) dwAddress, &bytes, sizeof(bytes)); VirtualProtect((void*)dwAddress, sizeof(bytes), flOldProtect, &flOldProtect);} void writeMemFloat(DWORD dwAddress, float bytes){ DWORD flOldProtect = 0; VirtualProtect((void*)dwAddress, sizeof(bytes), PAGE_EXECUTE_READWRITE, &flOldProtect); memcpy((void*) dwAddress, &bytes, sizeof(bytes)); VirtualProtect((void*)dwAddress, sizeof(bytes), flOldProtect, &flOldProtect);} }; void Thermal(bool OnorOff){ MemHacking MH; if(OnorOff == true){ MH.writeMemFloat(0x6746E58,1.00000011920929);}} void Laser(bool OnorOff){ MemHacking MH; if(OnorOff == false){ MH.writeMemInt(0x646E7B0,0);} if(OnorOff == true){ MH.writeMemInt(0x646E7B0,1);}} void FOV(bool OnorOff){ MemHacking MH; if(OnorOff == true){ MH.writeMemFloat(0x64684A0,80);}} void BlackNWhiteFix(bool OnorOff){ float BlackNWhiteValue = 0.407000005245209; MemHacking MH; if(OnorOff == true){ _asm{ push -1 fild dword ptr [esp] fstp dword ptr[esp] fld dword ptr [BlackNWhiteValue] fld dword ptr [esp] fmul add esp,4 fstp dword ptr[BlackNWhiteValue]} MH.writeMemFloat(0x8F280C,BlackNWhiteValue);}} void GameESP(bool OnorOff){ MemHacking MH; if(MH.ReadInt(0x7F58C8) != 4096){ if(OnorOff == false){ MH.writeMemInt(0xB9B828,4096); MH.writeMemInt(0xB89060,4096); MH.writeMemInt(0xB8C1AC,4096); MH.writeMemInt(0xB8F2F8,4096); MH.writeMemInt(0xB92444,4096); MH.writeMemInt(0xB95590,4096); MH.writeMemInt(0xB986DC,4096);}} if(MH.ReadInt(0x7F58C8) != 4376){ if(OnorOff == true){ MH.writeMemInt(0xB9B828,4376); MH.writeMemInt(0xB89060,4376); MH.writeMemInt(0xB8C1AC,4376); MH.writeMemInt(0xB8F2F8,4376); MH.writeMemInt(0xB92444,4376); MH.writeMemInt(0xB95590,4376); MH.writeMemInt(0xB986DC,4376);}}} DWORD WINAPI Mw2_Hack(LPVOID lpParam) { bool EnableAimBoT = false; bool EnableESPbox = false; bool NoRecoil = false; bool Thermalb = false; bool Laserb = false; bool NoFlash = false; bool Re3Deffect = false; bool BlackNwhiteF = false; bool Radar = false; bool Fovb = false; MemHacking MH; BYTE Nop[6] = {0x90, 0x90, 0x90, 0x90, 0x90, 0x90}; while(true){ if (GetAsyncKeyState(VK_NUMPAD0)){ EnableAimBoT = EnableAimBoT == true ? false : true; Sleep(250); if (EnableAimBoT == true){ MH.writeMemByte(0x56BAFD, Nop,6); MH.writeMemByte(0x491C31, Nop,6); SendTextToChat("^3AimBoT is ^2On");} else{ BYTE AimBoTx[6] = {0xF, 0x8B, 0x5C, 0xFF, 0xFF, 0xFF}; BYTE AimBoTy[6] = {0xF, 0x84, 0xA6, 0x0, 0x0, 0x0}; MH.writeMemByte(0x56BAFD, AimBoTx,6); MH.writeMemByte(0x491C31, AimBoTy,6); SendTextToChat("^3AimBoT is ^1Off");}} if (GetAsyncKeyState(VK_NUMPAD1)){ EnableESPbox = EnableESPbox == true ? false : true; Sleep(250); if (EnableESPbox == true){ MH.writeMemByte(0x5A00FE, Nop,2); MH.writeMemByte(0x4D7520, Nop,6); SendTextToChat("^3EspBox is ^2On");} else{ BYTE Esp[6] = {0x8B, 0xD, 0xC8, 0x58, 0x7F, 0x0}; BYTE FixColdBlooded[2] = {0x75, 0x6F}; MH.writeMemByte(0x5A00FE, FixColdBlooded,2); MH.writeMemByte(0x4D7520, Esp,6); SendTextToChat("^3EspBox is ^1Off");}} if (GetAsyncKeyState(VK_NUMPAD2)){ NoRecoil = NoRecoil == true ? false : true; Sleep(250); if (NoRecoil == true){ MH.writeMemByte(0x49D327, Nop,5); SendTextToChat("^3No Recoil is ^2On");} else{ BYTE NoRecoil[5] = {0xE8,0xC4,0x53,0xFB,0xFF}; MH.writeMemByte(0x49D327, NoRecoil,5); SendTextToChat("^3No Recoil is ^1Off");}} if (GetAsyncKeyState(VK_NUMPAD3)){ Thermalb = Thermalb == true ? false : true; Sleep(250); if (Thermalb == true){ MH.writeMemByte(0x5102C4, Nop,5); SendTextToChat("^3Thermal is ^2On");} else{ BYTE Thermal[5] = {0xA2, 0x58, 0x6E, 0x74, 0x6}; MH.writeMemByte(0x5102C4, Thermal,5); SendTextToChat("^3Thermal is ^1Off");}} if (GetAsyncKeyState(VK_NUMPAD4)){ Laserb = Laserb == true ? false : true; Sleep(250); if (Laserb == true){ SendTextToChat("^3Laser is ^2On");} else{ SendTextToChat("^3Laser is ^1Off");}} if (GetAsyncKeyState(VK_NUMPAD5)){ NoFlash = NoFlash == true ? false : true; Sleep(250); if (NoFlash == true){ BYTE NoFlash1[10] = {0xC7, 0x5, 0x34, 0x98, 0x86, 0x0, 0x0, 0x0, 0x0, 0x0}; BYTE NoFlash2[13] = {0xC7, 0x5, 0x34, 0x98, 0x86, 0x0, 0x0, 0x0, 0x0, 0x0, 0x90, 0x90, 0x90}; BYTE NoFlash3[17] = {0xC7, 0x5, 0x2C, 0x98, 0x86, 0x0, 0x0, 0x0, 0x0, 0x0, 0x83, 0xC4, 0x10, 0xC3, 0xCC, 0xCC, 0xCC}; MH.writeMemByte(0x4AEE85, NoFlash1,10); MH.writeMemByte(0x5966AA, NoFlash2,13); MH.writeMemByte(0x5966DF, NoFlash3,17); SendTextToChat("^3No Flash is ^2On");} else{ BYTE NoFlash1[10] = {0xC7, 0x5, 0x34, 0x98, 0x86, 0x0, 0x1, 0x0, 0x0, 0x0}; BYTE NoFlash2[13] = {0xD9, 0x1D, 0x28, 0x98, 0x86, 0x0, 0xD9, 0x40, 0x1C, 0xD9, 0x5C, 0x24, 0x10}; BYTE NoFlash3[17] = {0xD9, 0x1D, 0x2C, 0x98, 0x86, 0x0, 0x83, 0xC4, 0x10, 0xC3, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC}; MH.writeMemByte(0x4AEE85, NoFlash1,10); MH.writeMemByte(0x5966AA, NoFlash2,13); MH.writeMemByte(0x5966DF, NoFlash3,17); SendTextToChat("^3No Flash is ^1Off");}} if (GetAsyncKeyState(VK_NUMPAD6)){ Re3Deffect = Re3Deffect == true ? false : true; Sleep(250); if (Re3Deffect == true){ MH.writeMemByte(0x404250, Nop,4); SendTextToChat("^3Remove 3D Effects is ^2On");} else{ BYTE No3Deffects[4] = {0xD9, 0x44, 0xE4, 0x8}; MH.writeMemByte(0x404250, No3Deffects,4); SendTextToChat("^3Remove 3D Effects is ^1Off");}} if (GetAsyncKeyState(VK_NUMPAD7)){ BlackNwhiteF = BlackNwhiteF == true ? false : true; Sleep(250); if (BlackNwhiteF == true){ MH.writeMemByte(0x50E09B, Nop,4); SendTextToChat("^0Black^3&^7White ^3Fix is ^2On");} else{ BYTE BlackNWhite[4] = {0xD9, 0x44, 0x24, 0x28}; MH.writeMemByte(0x50E09B, BlackNWhite,4); MH.writeMemFloat(0x8F280C,0.407000005245209); SendTextToChat("^0Black^3&^7White ^3Fix is ^1Off");}} if (GetAsyncKeyState(VK_NUMPAD8)){ Radar = Radar == true ? false : true; Sleep(250); if (Radar == true){ MH.writeMemByte(0x5806D0, Nop,2); MH.writeMemByte(0x580701, Nop,2); SendTextToChat("^3Radar Fix is ^2On");} else{ BYTE Radarx[2] = {0x74, 0x3B}; BYTE Radary[2] = {0x74, 0x9}; MH.writeMemByte(0x5806D0, Radarx,2); MH.writeMemByte(0x580701, Radary,2); SendTextToChat("^3Radar Fix is ^1Off");}} if (GetAsyncKeyState(VK_NUMPAD9)){ Fovb = Fovb == true ? false : true; Sleep(250); if (Fovb == true){ SendTextToChat("^3FOV 80 is ^2On");} else{ MH.writeMemFloat(0x64684A0,65); SendTextToChat("^3FOV 80 is ^1Off");}} GameESP(EnableESPbox); Thermal(Thermalb); Laser(Laserb); FOV(Fovb); BlackNWhiteFix(BlackNwhiteF); if (EnableAimBoT == true){ AimBoT(0x7A3304,0xB36A44,0x7A3300,0xB36A40,0x7F5B78,0x7A32E8+4,0x7A32E8,0x7A32E8+8,0x7A3360+4,0x7A3360,0x7A3360+8,0x7F590C,0x7F8EE9,2406); } } } BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved) { if (dwReason == DLL_PROCESS_ATTACH) { DisableThreadLibraryCalls( hModule ); CreateThread(0, 0, Mw2_Hack, 0, 0, 0); } return TRUE; }

(http://pastebin.com/)


Enjoy (and sorry for my english again :X)



Attached Files
.rar   Mw2_Hack_Source_By_NieXrlaM.rar (Size: 386.03 KB / Downloads: 147)
[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
great job pal thanks !!!
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,562 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,270 10-21-2013, 15:10
Last Post: zurasaur
  [Release] [SOURCE] DOOR V2.0 [HARD] Tony. 5 7,262 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,775 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.