Function at 0x41b890
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0xd
jne 0x41b8e3
mov ecx, dword [ebp - 0x1c]
add ecx, 0x41c
call fcn.00407027
test eax, eax
je 0x41b8d6
mov ecx, dword [ebp - 0x1c]
call fcn.0041bbb9
jmp 0x41b8de
mov ecx, dword [ebp - 0x1c]
call fcn.0041bafb
jmp 0x41baea
cmp dword [ebp + 8], 9
jne 0x41ba3c
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
movsx eax, ax
and eax, 0x8000
test eax, eax
jne 0x41b9a5
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2bc
call fcn.00407027
test eax, eax
je 0x41b930
mov ecx, dword [ebp - 0x1c]
add ecx, 0x57c
call fcn.0041983e
jmp 0x41b9a0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x57c
call fcn.00407027
test eax, eax
je 0x41b952
mov ecx, dword [ebp - 0x1c]
add ecx, 0x41c
call fcn.0041983e
jmp 0x41b9a0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x144
call fcn.004181d1
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x144
call fcn.00418207
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
push edx
call fcn.00414e38
add esp, 8
mov eax, dword [ebp - 0x1c]
add eax, 0x144
push eax
call fcn.00414f1b
add esp, 4
jmp 0x41ba37
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2bc
call fcn.00407027
test eax, eax
je 0x41ba07
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x200
call fcn.004181d1
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x200
call fcn.00418207
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x18]
push edx
call fcn.00414e38
add esp, 8
mov eax, dword [ebp - 0x1c]
add eax, 0x200
push eax
call fcn.00414f1b
add esp, 4
jmp 0x41ba37
mov ecx, dword [ebp - 0x1c]
add ecx, 0x57c
call fcn.00407027
test eax, eax
je 0x41ba29
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2bc
call fcn.0041983e
jmp 0x41ba37
mov ecx, dword [ebp - 0x1c]
add ecx, 0x57c
call fcn.0041983e
jmp 0x41baea
cmp dword [ebp + 8], 0x20
jne 0x41bab0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2bc
call fcn.00407027
test eax, eax
je 0x41ba5e
mov ecx, dword [ebp - 0x1c]
call fcn.0041bafb
jmp 0x41baae
mov ecx, dword [ebp - 0x1c]
add ecx, 0x41c
call fcn.00407027
test eax, eax
je 0x41ba7a
mov ecx, dword [ebp - 0x1c]
call fcn.0041bbb9
jmp 0x41baae
mov ecx, dword [ebp - 0x1c]
add ecx, 0x57c
call fcn.00407027
test eax, eax
je 0x41baae
mov ecx, dword [ebp - 0x1c]
add ecx, 0x57c
call fcn.00406f87
neg eax
sbb eax, eax
inc eax
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x57c
call fcn.00406fac
jmp 0x41baea
cmp dword [ebp + 8], 0x25
jne 0x41bac6
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2bc
call fcn.0041983e
jmp 0x41baea
cmp dword [ebp + 8], 0x27
jne 0x41badc
mov ecx, dword [ebp - 0x1c]
add ecx, 0x41c
call fcn.0041983e
jmp 0x41baea
cmp dword [ebp + 8], 0x1b
jne 0x41baea
mov ecx, dword [ebp - 0x1c]
call fcn.0041bbb9
pop esi
add esp, 0x1c
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 4