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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x43e080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00407eb0
nop
call fcn.004018a0
movzx eax, al
test eax, eax
jne 0x404ae4
mov eax, 1
jmp 0x404e27
push 7
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 0x435eac
call fcn.00413b93
add esp, 4
call fcn.00407eb0
lea ecx, [ebp - 0x30]
push ecx
call fcn.00404920
add esp, 4
lea edx, [ebp - 0x30]
push edx
call fcn.00404950
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.00404a30
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
push ecx
push 0x435eb0
lea edx, [ebp - 0x48]
push edx
call fcn.004056d0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00402f80
nop
lea ecx, [ebp - 0x48]
call fcn.00402f60
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
nop
call fcn.00402c80
movzx eax, al
test eax, eax
jne 0x404bd6
push 0x405a00
push str.Failed_to_initialize_game_
push 0x43f058
call fcn.00405710
add esp, 8
mov ecx, eax
call fcn.00404e80
push str.pause
call fcn.00413b93
add esp, 4
mov dword [ebp - 0x64], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00402f80
mov eax, dword [ebp - 0x64]
jmp 0x404e27
push 0x4074c0
lea ecx, [ebp - 0x28]
call fcn.00405a30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004049d0
push 0x407550
lea ecx, [ebp - 0x20]
call fcn.00405a30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004049d0
push 0x408460
lea ecx, [ebp - 0x18]
call fcn.00405a30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.004049d0
nop
mov ecx, 1
test ecx, ecx
je 0x404dbb
push 0x70
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 1
je 0x404cdc
movzx eax, byte [0x43fe91]
test eax, eax
jne 0x404c57
mov dword [ebp - 0x50], 1
jmp 0x404c5e
mov dword [ebp - 0x50], 0
mov cl, byte [ebp - 0x50]
mov byte [0x43fe91], cl
movzx edx, byte [0x43fe91]
test edx, edx
je 0x404c83
push 0x64
push 0x15e
call fcn.00407be0
add esp, 8
jmp 0x404c95
push 0xc8
push 0x10e
call fcn.00407be0
add esp, 8
movzx eax, byte [0x43fe91]
test eax, eax
je 0x404ca9
mov dword [ebp - 0x54], 0x435ee0
jmp 0x404cb0
mov dword [ebp - 0x54], 0x435ee8
push 0x405a00
mov ecx, dword [ebp - 0x54]
push ecx
push str._Aimbot_
push 0x43f058
call fcn.00405710
add esp, 8
push eax
call fcn.00405710
add esp, 8
mov ecx, eax
call fcn.00404e80
nop
push 0x71
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 1
je 0x404d9c
mov ecx, 0x43fe90
call fcn.00404e40
movzx eax, al
test eax, eax
jne 0x404d07
mov byte [ebp - 0x49], 1
jmp 0x404d0b
mov byte [ebp - 0x49], 0
movzx ecx, byte [ebp - 0x49]
push ecx
mov ecx, 0x43fe90
call fcn.00404e60
nop
mov ecx, 0x43fe90
call fcn.00404e40
movzx edx, al
test edx, edx
je 0x404d3d
push 0x64
push 0x15e
call fcn.00407be0
add esp, 8
jmp 0x404d4f
push 0xc8
push 0x10e
call fcn.00407be0
add esp, 8
mov ecx, 0x43fe90
call fcn.00404e40
movzx eax, al
test eax, eax
je 0x404d69
mov dword [ebp - 0x58], str.ENABLED
jmp 0x404d70
mov dword [ebp - 0x58], str.DISABLED
push 0x405a00
mov ecx, dword [ebp - 0x58]
push ecx
push str._SoundESP_
push 0x43f058
call fcn.00405710
add esp, 8
push eax
call fcn.00405710
add esp, 8
mov ecx, eax
call fcn.00404e80
nop
movzx edx, byte [0x43fe91]
test edx, edx
je 0x404dad
call fcn.00408960
nop
push 0x10
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x404c22
call fcn.00402d10
push 0x405a00
push str._nExiting...
push 0x43f058
call fcn.00405710
add esp, 8
mov ecx, eax
call fcn.00404e80
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00404980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00404980
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00404980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00402f80
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c8c1
mov esp, ebp
pop ebp
ret