Function at 0x402410
Capabilities:
Log keystrokes via polling
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404fb0
mov eax, dword fs:[0]
push eax
mov eax, 0x2114
call fcn.00404e80
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.zespera__v0.1__Free_ModMenu
lea ecx, [ebp - 0x10d0]
call fcn.00401520
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10d0]
cmp dword [ebp - 0x10bc], 0xf
cmova eax, dword [ebp - 0x10d0]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
test eax, eax
jne 0x4024d8
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004038c0
mov edx, str.Failed_to_set_console_title_
mov ecx, eax
call fcn.00402fe0
cmp dword [0x4090e8], 0xf
mov edx, str.e_0m
push dword [0x4090e4]
cmova edx, dword [str.e_0m]
mov ecx, eax
call fcn.004038c0
add esp, 8
mov ecx, eax
push 0x403200
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 dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10bc]
cmp ecx, 0xf
jbe 0x40251b
mov edx, dword [ebp - 0x10d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402511
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402511
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040409f
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x14], 0x23003c
push dword [ebp - 0x14]
push 0xfffffffffffffff5
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
xor eax, eax
mov dword [ebp - 0x20], 0x22003b
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0xfffffffffffffff5
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
call fcn.00402150
test al, al
je 0x402553
push 0xfffffffffffffff5
call esi
mov esi, eax
mov dword [ebp - 0x14], 0
cmp esi, 0xffffffff
je 0x40258e
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x40258e
mov eax, dword [ebp - 0x14]
or eax, 4
push eax
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, eax
test esi, esi
je 0x4025c2
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 2
push 0xc8
push 0
push esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
sub esp, 8
lea ecx, [ebp - 0x1c]
mov eax, esp
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [eax], str.ac_client.exe
mov dword [eax + 4], 0xd
call fcn.004013c0
push 0x220
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x24], str.ac_client.exe
mov dword [ebp - 0x20], 0xd
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x264], 0x224
push dword [ebp - 0x1c]
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
mov esi, eax
lea eax, [ebp - 0x264]
xor ebx, ebx
push eax
push esi
call edi
test eax, eax
je 0x402669
nop dword [eax]
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402d90
test eax, eax
je 0x402663
lea eax, [ebp - 0x264]
push eax
push esi
call edi
test eax, eax
jne 0x402640
jmp 0x402669
mov ebx, dword [ebp - 0x250]
test esi, esi
je 0x402674
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [ebp - 0x14]
push 0
push 4
push ecx
lea eax, [ebx + 0x17e0a8]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x18]
call edi
mov eax, dword [ebp - 0x14]
push 0x104e
push 0
lea ecx, [eax + 0xf0]
mov dword [ebp - 0x1094], ecx
lea ebx, [eax + 0xec]
lea ecx, [eax + 0x140]
mov dword [ebp - 0x1098], ecx
lea esi, [eax + 0x205]
lea ecx, [eax + 0x13c]
mov dword [ebp - 0x109c], ecx
lea ecx, [eax + 0x144]
mov dword [ebp - 0x10a0], ecx
lea ecx, [eax + 0x164]
mov dword [ebp - 0x10a4], ecx
lea ecx, [eax + 0x160]
mov dword [ebp - 0x10a8], ecx
lea ecx, [eax + 0x158]
mov dword [ebp - 0x10ac], ecx
lea ecx, [eax + 0x204]
add eax, 0x18a7cc
mov dword [ebp - 0x10b0], ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x108c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108c]
push 0
push 0x104e
push eax
push esi
push dword [ebp - 0x18]
call edi
push 0x104e
lea eax, [ebp - 0x108c]
push eax
lea eax, [ebp - 0x2120]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x2120]
lea ecx, [ebp - 0x3c]
push eax
call fcn.00401520
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401630
call fcn.00401a90
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop dword [eax]
push 0x70
call esi
test ax, ax
jns 0x4027fe
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 0x3e8
push eax
push ebx
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.Health_hacked_
jmp 0x402c15
push 0x71
call esi
test ax, ax
jns 0x402881
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 0x3e8
push eax
push dword [ebp - 0x1094]
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.Armor_hacked_
jmp 0x402c15
push 0x72
call esi
test ax, ax
jns 0x402904
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 0x3e8
push eax
push dword [ebp - 0x1098]
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.Rifle_ammo_hacked_
jmp 0x402c15
push 0x73
call esi
test ax, ax
jns 0x402987
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 0x3e8
push eax
push dword [ebp - 0x109c]
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.Sniper_ammo_hacked_
jmp 0x402c15
push 0x74
call esi
test ax, ax
jns 0x402a0a
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 0x3e8
push eax
push dword [ebp - 0x10a0]
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.Grenade_ammo_hacked_
jmp 0x402c15
push 0x75
call esi
test ax, ax
jns 0x402a8d
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 1
push eax
push dword [ebp - 0x10a4]
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.Fast_fire__Assault_Rifle__enabled_
jmp 0x402c15
push 0x76
call esi
test ax, ax
jns 0x402b10
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 1
push eax
push dword [ebp - 0x10a8]
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.Fast_fire__Sniper__enabled_
jmp 0x402c15
push 0x77
call esi
test ax, ax
jns 0x402b93
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 1
push eax
push dword [ebp - 0x10ac]
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.Fast_fire__Shotgun__enabled_
jmp 0x402c15
push 0x78
call esi
test ax, ax
jns 0x402c4c
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 1
push eax
push dword [ebp - 0x10b0]
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.Auto_shoot_enabled_
mov ecx, eax
call fcn.00402fe0
cmp dword [0x4090e8], 0xf
mov edx, str.e_0m
push dword [0x4090e4]
cmova edx, dword [str.e_0m]
mov ecx, eax
call fcn.004038c0
add esp, 0xc
mov ecx, eax
push 0x403200
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 0x79
call esi
test ax, ax
jns 0x402d02
push 0
push 4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 0x42f00000
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call edi
cmp dword [0x409178], 0xf
mov edx, str.e_32m
push dword [0x409174]
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.004038c0
mov edx, 0x406688
mov ecx, eax
call fcn.00402fe0
cmp dword [0x409190], 0xf
mov edx, str.e_31m
push dword [0x40918c]
cmova edx, dword [str.e_31m]
mov ecx, eax
call fcn.004038c0
mov edx, str.FOV_set_to_90_
mov ecx, eax
call fcn.00402fe0
cmp dword [0x4090e8], 0xf
mov edx, str.e_0m
push dword [0x4090e4]
cmova edx, dword [str.e_0m]
mov ecx, eax
call fcn.004038c0
add esp, 0xc
mov ecx, eax
push 0x403200
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 - 0x10b8]
mov dword [ebp - 0x10b8], 0x64
mov dword [ebp - 0x10b4], 0
call fcn.00403430
jmp 0x402780