Function at 0x42b8bd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
push edi
mov dword [ebp - 0x930], ecx
push 0
mov ecx, 0x4c2830
call fcn.0048cef8
test eax, eax
jne 0x42b912
push 1
mov ecx, 0x4c2830
call fcn.0048cef8
test eax, eax
jne 0x42b912
push 3
mov ecx, 0x4c2830
call fcn.0048cef8
test eax, eax
jne 0x42b912
push 4
mov ecx, 0x4c2830
call fcn.0048cef8
test eax, eax
jne 0x42b912
jmp 0x42bc3e
mov ecx, 0x4c2830
call fcn.0040c4c0
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x42bbce
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
call fcn.00411885
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], 5
cmp dword [ebp - 4], 3
jne 0x42b994
push 1
lea eax, [ebp - 0x20]
push eax
push 0x17
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 8]
jmp 0x42bc3e
cmp dword [ebp - 4], 5
jne 0x42ba17
push 0
lea eax, [ebp - 0x20]
push eax
push 0x30
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 0x5c]
cmp eax, 3
je 0x42b9f4
push 0
lea eax, [ebp - 0x20]
push eax
push 0x30
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 0x5c]
cmp eax, 9
je 0x42b9f4
push 0
lea eax, [ebp - 0x20]
push eax
push 0x30
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 0x5c]
cmp eax, 4
jne 0x42b9f9
jmp 0x42bc3e
push 0
lea eax, [ebp - 0x20]
push eax
push 0x18
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 8]
jmp 0x42bc3e
cmp dword [ebp - 4], 7
jne 0x42ba47
push 1
lea eax, [ebp - 0x20]
push eax
push 0x40
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 8]
push 0
mov ecx, 0x4c2830
call fcn.0048ce17
jmp 0x42bc3e
cmp dword [ebp - 4], 8
jne 0x42ba77
push 2
lea eax, [ebp - 0x20]
push eax
push 0x40
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 8]
push 0
mov ecx, 0x4c2830
call fcn.0048ce17
jmp 0x42bc3e
cmp dword [ebp - 4], 4
jne 0x42ba82
jmp 0x42bc3e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
je 0x42bbce
mov byte [ebp - 0x8a0], 0
mov ecx, 0x20f
xor eax, eax
lea edi, [ebp - 0x89f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x8a0]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x37
mov eax, dword [0x4c2ce0]
mov edx, dword [eax]
mov ecx, dword [0x4c2ce0]
call dword [edx + 0x5c]
test eax, eax
je 0x42bbcc
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 0x98]
mov dword [ebp - 0x92c], eax
push 0x4b2610
lea eax, [ebp - 0x924]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x8a0]
push ecx
lea edx, [ebp - 0x924]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x4b2614
lea eax, [ebp - 0x924]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
mov dword [ebp - 0x928], 0
mov byte [ebp - 0x8a4], 0
mov dword [ebp - 0x928], 0
jmp 0x42bb60
mov ecx, dword [ebp - 0x928]
add ecx, 1
mov dword [ebp - 0x928], ecx
lea edx, [ebp - 0x924]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
cmp dword [ebp - 0x928], eax
jae 0x42bb92
mov eax, dword [ebp - 0x928]
mov cl, byte [ebp - 0x8a4]
add cl, byte [ebp + eax - 0x924]
mov byte [ebp - 0x8a4], cl
jmp 0x42bb51
mov edx, dword [ebp - 0x8a4]
and edx, 0xff
push edx
lea eax, [ebp - 0x924]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
mov ecx, dword [ebp - 0x92c]
push ecx
lea edx, [ebp - 0x860]
push edx
lea eax, [ebp - 0x924]
push eax
call fcn.0042117d
add esp, 0x14
jmp 0x42bc3e
cmp dword [ebp + 0xc], 0
je 0x42bc11
lea ecx, [ebp - 0x60]
push ecx
call fcn.004130bb
add esp, 4
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 5
mov ecx, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x3c]
and ecx, edx
push ecx
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x20]
and eax, ecx
push eax
push 3
mov edx, dword [0x4c2ce0]
mov eax, dword [edx]
mov ecx, dword [0x4c2ce0]
call dword [eax + 8]
pop edi
mov esp, ebp
pop ebp
ret 8