Function at 0x42e601
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dc43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42e635
jmp 0x42e8d2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x42e675
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x13c], 0
jge 0x42e673
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x138]
mov dword [ecx + 0x13c], eax
jmp 0x42e682
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x13c], 0xffffffff
mov ecx, dword [ebp - 0x50]
call fcn.0043111c
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x3c]
call fcn.004044d0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x50]
call fcn.00404a00
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x138]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 3
mov edx, dword [ebp - 0x50]
movsx eax, word [edx + 0x10e]
cmp eax, 2
jne 0x42e6d1
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xb8]
mov dword [ebp - 0x54], edx
jmp 0x42e6dd
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xb4]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x50]
add eax, 0x44
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
call fcn.00433740
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x42e71e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
jmp 0x42e8d2
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x88]
push edx
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x40]
call dword [edx + 0x30]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
jmp 0x42e748
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x20]
call fcn.00402060
cmp dword [ebp - 0x10], eax
jge 0x42e833
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040c760
movsx edx, al
cmp edx, 9
jne 0x42e781
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xf4]
mov edx, dword [ebp - 0x24]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x24], eax
jmp 0x42e7ee
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040c760
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0042f613
test eax, eax
je 0x42e7ab
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
add eax, dword [edx + 0xfc]
mov dword [ebp - 0x24], eax
jmp 0x42e7ee
push 1
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040c760
push eax
lea ecx, [ebp - 0x44]
call fcn.0045b002
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.00430ec3
mov edx, dword [ebp - 0x24]
add edx, dword [eax]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
sub eax, 3
cmp eax, dword [ebp - 0x18]
jg 0x42e806
mov ecx, dword [ebp - 0x24]
sub ecx, 3
cmp dword [ebp - 0x18], ecx
jge 0x42e806
jmp 0x42e833
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040c760
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0042f613
test eax, eax
je 0x42e828
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
jmp 0x42e73f
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x40]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0041d230
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.00402060
cmp eax, dword [ebp - 0x10]
jge 0x42e86e
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.00402060
mov dword [ebp - 0x58], eax
jmp 0x42e874
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
mov dword [edx + 0x138], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x28]
cmp edx, dword [ecx + 0x138]
jne 0x42e8a9
push 0
mov ecx, dword [ebp - 0x50]
call fcn.00404a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
jmp 0x42e8d2
mov ecx, dword [ebp - 0x50]
call fcn.0042a0e0
push 0
mov ecx, dword [ebp - 0x50]
call fcn.00404a40
mov ecx, dword [ebp - 0x50]
call fcn.00428ba0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret