Function at 0x45b684
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
add eax, 0x16c
push eax
mov ecx, dword [ebp - 0x60]
call fcn.0045ccfc
test eax, eax
jne 0x45b6bb
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00467f30
jmp 0x45bc8a
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x16c]
mov eax, dword [ecx + 0x170]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
test ecx, ecx
je case.0x45b70c.4
mov edx, dword [ebp + 8]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
sub eax, 0x41
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x17
ja case.0x45b70c.4
mov edx, dword [ebp - 0x64]
xor ecx, ecx
mov cl, byte [edx + 0x45bca4]
jmp dword [ecx*4 + 0x45bc90]
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x60]
call dword [edx + 0xdc]
jmp case.0x45b70c.4
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x60]
call dword [edx + 0xd0]
jmp case.0x45b70c.4
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x60]
call dword [edx + 0xd4]
jmp case.0x45b70c.4
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x60]
call dword [edx + 0xd8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
sub ecx, 9
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0x25
ja case.0x45b775.10
mov eax, dword [ebp - 0x68]
xor edx, edx
mov dl, byte [eax + 0x45bce8]
jmp dword [edx*4 + 0x45bcbc]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x170]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x16c]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.00462b97
test eax, eax
je 0x45b7da
push 0x49e3c8
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x170]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x16c]
push edx
mov ecx, dword [ebp - 0x60]
call fcn.00461cef
push 0
mov eax, dword [ebp - 0x60]
add eax, 0x16c
push eax
mov ecx, dword [ebp - 0x60]
call fcn.0045ce52
push 1
mov ecx, dword [ebp - 0x60]
call fcn.004672c0
jmp 0x45baa4
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
test ecx, ecx
je 0x45b85f
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0xa4]
jle 0x45b80d
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
jmp 0x45b85d
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0xa4]
jne 0x45b849
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x9c]
jle 0x45b849
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x60]
call fcn.00406580
sub eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 1
jmp 0x45b85d
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00467f30
jmp 0x45b8cc
mov ecx, dword [ebp - 0x60]
call fcn.00406580
sub eax, 1
cmp dword [ebp - 4], eax
jge 0x45b87a
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x45b8cc
mov ecx, dword [ebp - 0x60]
call fcn.00406580
sub eax, 1
cmp dword [ebp - 4], eax
jne 0x45b8b8
mov ecx, dword [ebp - 0x60]
call fcn.00406560
sub eax, 1
cmp dword [ebp - 8], eax
jge 0x45b8b8
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0xa4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 1
jmp 0x45b8cc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.00467f30
jmp 0x45baa4
mov ecx, dword [ebp - 0x60]
call fcn.00406560
sub eax, 1
cmp dword [ebp - 8], eax
jge 0x45b8ea
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x45baa4
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x9c]
jle 0x45b906
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
jmp 0x45baa4
mov ecx, dword [ebp - 0x60]
call fcn.00406580
sub eax, 1
cmp dword [ebp - 4], eax
jge 0x45b924
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x45baa4
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0xa4]
jle 0x45b940
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x45baa4
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.0045ec41
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
push 0
push 3
push 0x115
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.0045ec41
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x45b9bc
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x60]
call fcn.00406560
sub eax, 1
cmp dword [ebp - 8], eax
jle 0x45b9ba
mov ecx, dword [ebp - 0x60]
call fcn.00406560
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x45b9ca
mov ecx, dword [ebp - 0x60]
call fcn.00406560
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x45baa4
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.0045ec41
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
push 0
push 2
push 0x115
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.0045ec41
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x45ba42
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x9c]
jge 0x45ba40
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x9c]
mov dword [ebp - 8], edx
jmp 0x45ba4e
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x9c]
mov dword [ebp - 8], ecx
jmp 0x45baa4
push 0
push 6
push 0x115
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x9c]
mov dword [ebp - 8], eax
jmp 0x45baa4
push 0
push 7
push 0x115
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
mov ecx, dword [ebp - 0x60]
call fcn.00406560
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x45baa4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00467f30
mov ecx, dword [ebp - 0x60]
add ecx, 0x16c
push ecx
lea ecx, [ebp - 8]
call fcn.00467260
test eax, eax
je 0x45bc8a
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x148], 0
jne 0x45bb36
mov ecx, dword [ebp - 0x60]
add ecx, 0x1a8
call fcn.004688f0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x7c]
neg ecx
sbb ecx, ecx
add ecx, 4
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x148], ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
je 0x45bb08
cmp dword [ebp + 8], 9
jne 0x45bb1d
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x164], edx
mov eax, dword [ebp - 4]
mov dword [ecx + 0x168], eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.0045da56
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x148], 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x60]
call fcn.0045d220
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.00462bdd
test eax, eax
jne 0x45bc8a
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x60]
call fcn.004672e0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
sub ecx, 9
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0x1f
ja case.0x45bb92.5
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov dl, byte [eax + 0x45bd26]
jmp dword [edx*4 + 0x45bd0e]
push 0
push 1
push 0x114
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
jmp case.0x45bb92.5
push 0
push 0
push 0x114
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
jmp case.0x45bb92.5
push 0
push 1
push 0x115
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
jmp case.0x45bb92.5
push 0
push 0
push 0x115
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
jmp case.0x45bb92.5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
test ecx, ecx
je 0x45bc48
cmp dword [ebp - 0xc], 0
je 0x45bc35
push 0
push 0
push 0x115
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
push 1
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0xe0]
push eax
push 0
mov ecx, dword [ebp - 0x60]
call fcn.0045f25d
jmp case.0x45bb92.5
push 0
push 0
push 0x114
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
jmp case.0x45bb92.5
cmp dword [ebp - 0xc], 0
je 0x45bc6f
push 0
push 1
push 0x115
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
push 1
push 0
push 0
mov ecx, dword [ebp - 0x60]
call fcn.0045f25d
jmp case.0x45bb92.5
push 0
push 1
push 0x114
mov ecx, dword [ebp - 0x60]
call fcn.00467cc0
push 1
mov ecx, dword [ebp - 0x60]
call fcn.004069a0
mov esp, ebp
pop ebp
ret 0xc