Function at 0x401580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403775
mov eax, dword fs:[0]
push eax
mov eax, 0x20f0
call fcn.004036c0
mov eax, dword [0x406040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
lea ecx, [ebp - 0x24]
mov eax, esp
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [eax], str.ac_client.exe
mov dword [eax + 4], 0xd
call fcn.00401310
push 0x220
lea eax, [ebp - 0x12b4]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x20ec], str.ac_client.exe
mov dword [ebp - 0x20e8], 0xd
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x12b8], 0x224
push dword [ebp - 0x24]
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
mov esi, eax
lea eax, [ebp - 0x12b8]
push eax
push esi
call edi
test eax, eax
je 0x401658
nop
lea eax, [ebp - 0x1298]
push eax
lea ecx, [ebp - 0x20ec]
call fcn.00401cc0
test eax, eax
je 0x4017d9
lea eax, [ebp - 0x12b8]
push eax
push esi
call edi
test eax, eax
jne 0x401630
xor edi, edi
test esi, esi
je 0x401665
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
lea eax, [edi + 0x10f4f4]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push ecx
push eax
push dword [ebp - 0x20]
call edi
mov eax, dword [ebp - 0x28]
push 0x104e
push 0
lea ecx, [eax + 0xf8]
mov dword [ebp - 0x20f0], ecx
lea esi, [eax + 0x225]
lea ecx, [eax + 0xfc]
mov dword [ebp - 0x20f4], ecx
lea ecx, [eax + 0x150]
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x20e8], ecx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1090]
push 0
push 0x104e
push eax
push esi
push dword [ebp - 0x20]
call edi
push 0x104e
lea eax, [ebp - 0x1090]
push eax
lea eax, [ebp - 0x20e0]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x20e0]
lea ecx, [ebp - 0x40]
push eax
call fcn.00401470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1124]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.________________________________________________________
movq qword [ebp - 0x1c], xmm0
call fcn.00401470
push str.______________________________________________
lea ecx, [ebp - 0x110c]
mov byte [ebp - 4], 2
call fcn.00401470
push 0x4042a8
lea ecx, [ebp - 0x10f4]
mov byte [ebp - 4], 3
call fcn.00401470
push str._______________________._________________
lea ecx, [ebp - 0x10dc]
mov byte [ebp - 4], 4
call fcn.00401470
push str._______________________________________
lea ecx, [ebp - 0x10c4]
mov byte [ebp - 4], 5
call fcn.00401470
push str._____________________________________________
lea ecx, [ebp - 0x10ac]
mov byte [ebp - 4], 6
call fcn.00401470
mov byte [ebp - 4], 7
lea edi, [ebp - 0x1124]
lea ecx, [ebp - 0x1094]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
sub ecx, edi
mov dword [ebp - 0x14], 0
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40185c
cmp eax, 0xaaaaaaa
ja 0x401c4e
jmp 0x4017e4
mov edi, dword [ebp - 0x12a4]
jmp 0x40165a
lea esi, [eax + eax*2]
shl esi, 3
cmp esi, 0x1000
jb 0x40181b
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x401c53
push eax
call fcn.00402691
add esp, 4
test eax, eax
je 0x401815
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x40182e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test esi, esi
je 0x40182c
push esi
call fcn.00402691
add esp, 4
mov ecx, eax
jmp 0x40182e
xor ecx, ecx
lea eax, [ecx + esi]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20e4], eax
push eax
push ecx
lea edx, [ebp - 0x1094]
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.004024e0
add esp, 8
mov dword [ebp - 0x18], eax
push 0x401c70
push 6
push 0x18
lea eax, [ebp - 0x1124]
mov byte [ebp - 4], 0xa
push eax
call fcn.004026c1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x401e10
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x401902
cmp dword [0x406110], 0xf
mov edx, str.e_36m
push dword [0x40610c]
cmova edx, dword [str.e_36m]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004022f0
add esp, 4
mov edx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x4018c1
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.004022f0
cmp dword [0x4060e0], 0xf
mov edx, str.e_0m
push dword [0x4060dc]
cmova edx, dword [str.e_0m]
mov ecx, eax
call fcn.004022f0
add esp, 8
mov ecx, eax
push 0x401e10
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
add esi, 0x18
cmp esi, edi
jne 0x401890
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x401e10
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [0x4060f8], 0xf
mov edx, str.e_33m
push dword [0x4060f4]
cmova edx, dword [str.e_33m]
mov ecx, eax
call fcn.004022f0
mov edx, str._____________________________
mov ecx, eax
call fcn.00401e40
cmp dword [0x4060e0], 0xf
mov edx, str.e_0m
push dword [0x4060dc]
cmova edx, dword [str.e_0m]
mov ecx, eax
call fcn.004022f0
add esp, 8
mov ecx, eax
push 0x401e10
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x401e10
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Welcome_to_desynced_
call fcn.00401e40
cmp dword [0x4060b0], 0xf
mov edx, str.e_35m
push dword [0x4060ac]
cmova edx, dword [str.e_35m]
mov ecx, eax
call fcn.004022f0
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.004022f0
add esp, 8
mov edx, 0x4043d4
mov ecx, eax
call fcn.00401e40
push 0x401e10
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [0x406140], 0xf
mov edx, str.e_32m
push dword [0x40613c]
cmova edx, dword [str.e_32m]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004022f0
mov edx, str.F1:_Health_Hack
mov ecx, eax
call fcn.00401e40
cmp dword [0x4060e0], 0xf
mov edx, str.e_0m
push dword [0x4060dc]
cmova edx, dword [str.e_0m]
mov ecx, eax
call fcn.004022f0
add esp, 8
mov ecx, eax
push 0x401e10
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [0x406140], 0xf
mov edx, str.e_32m
push dword [0x40613c]
cmova edx, dword [str.e_32m]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004022f0
mov edx, str.F2:_Armor_Hack
mov ecx, eax
call fcn.00401e40
cmp dword [0x4060e0], 0xf
mov edx, str.e_0m
push dword [0x4060dc]
cmova edx, dword [str.e_0m]
mov ecx, eax
call fcn.004022f0
add esp, 8
mov ecx, eax
push 0x401e10
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [0x406140], 0xf
mov edx, str.e_32m
push dword [0x40613c]
cmova edx, dword [str.e_32m]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004022f0
mov edx, str.F3:_Rifle_Ammo_Hack
mov ecx, eax
call fcn.00401e40
cmp dword [0x4060e0], 0xf
mov edx, str.e_0m
push dword [0x4060dc]
cmova edx, dword [str.e_0m]
mov ecx, eax
call fcn.004022f0
add esp, 8
mov ecx, eax
push 0x401e10
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x401e10
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0x70
call esi
test ax, ax
jns 0x401b6d
push 0
push 4
lea eax, [ebp - 0x20e4]
mov dword [ebp - 0x20e4], 0x3e8
push eax
push dword [ebp - 0x20f0]
push dword [ebp - 0x20]
call edi
cmp dword [0x406158], 0xf
mov edx, str.e_31m
push dword [0x406154]
cmova edx, dword [str.e_31m]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004022f0
mov edx, str.Health_hacked_
jmp 0x401c13
push 0x71
call esi
test ax, ax
jns 0x401bc1
push 0
push 4
lea eax, [ebp - 0x20e4]
mov dword [ebp - 0x20e4], 0x3e8
push eax
push dword [ebp - 0x20f4]
push dword [ebp - 0x20]
call edi
cmp dword [0x406158], 0xf
mov edx, str.e_31m
push dword [0x406154]
cmova edx, dword [str.e_31m]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004022f0
mov edx, str.Armor_hacked_
jmp 0x401c13
push 0x72
call esi
test ax, ax
jns 0x401c2a
push 0
push 4
lea eax, [ebp - 0x20e4]
mov dword [ebp - 0x20e4], 0x3e8
push eax
push dword [ebp - 0x20e8]
push dword [ebp - 0x20]
call edi
cmp dword [0x406158], 0xf
mov edx, str.e_31m
push dword [0x406154]
cmova edx, dword [str.e_31m]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004022f0
mov edx, str.Rifle_ammo_hacked_
add esp, 4
mov ecx, eax
call fcn.00401e40
push 0x401e10
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x20fc]
mov dword [ebp - 0x20fc], 0x64
mov dword [ebp - 0x20f8], 0
call fcn.00402060
jmp 0x401b16
call fcn.004022e0
call fcn.00401140
int3