Function at 0x4017d0
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x4053c0
push 0xffffffffffffffff
push 0x486058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
push edi
mov dword [esp + 0x1c], eax
xor ebx, ebx
xor ebp, ebp
call fcn.0044d86c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
cmp dword [esi + 0x5c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
je 0x4055be
mov edi, dword [esp + 0x30]
cmp edi, ebx
je 0x40556d
push 0x72
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jns 0x405430
mov dword [esp + 0x10], 0x72
mov edx, dword [edi + 4]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0044000a
mov ecx, dword [esi + 0xa4]
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp ecx, eax
je 0x4054db
test ah, 1
mov dword [esi + 0xa4], eax
je 0x405480
mov ecx, dword [esi + 0x1c]
push ebx
push 0x64
push 0x100
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x9c], 1
jmp 0x4054db
test ah, 2
je 0x4054a3
mov edx, dword [esi + 0x1c]
push ebx
push 0x64
push 0x200
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0xa0], 1
jmp 0x4054db
cmp dword [esi + 0x9c], ebx
mov edi, dword [sym.imp.USER32.dll_KillTimer]
je 0x4054c2
mov eax, dword [esi + 0x1c]
push 0x100
push eax
call edi
mov dword [esi + 0x9c], ebx
cmp dword [esi + 0xa0], ebx
je 0x4054db
mov ecx, dword [esi + 0x1c]
push 0x200
push ecx
call edi
mov dword [esi + 0xa0], ebx
mov eax, dword [esi + 0x64]
cmp eax, ebp
je 0x4054f3
push eax
push ebp
mov ecx, esi
call fcn.004010aa
test eax, eax
jne 0x4054f3
cmp ebp, ebx
jne 0x405547
cmp dword [esp + 0x10], 0x72
je 0x40554e
mov eax, dword [esi + 0x88]
push eax
mov dword [esi + 0x6c], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
cmp dword [esp + 0x10], 0x72
jne 0x40556d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jns 0x405565
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x6c], ecx
jmp 0x4055ae
mov edx, dword [esi + 0x80]
jmp 0x4055ab
test byte [esp + 0x14], 0x5e
push 0x11
je 0x405590
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jns 0x40558b
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x6c], ecx
jmp 0x4055ae
mov edx, dword [esi + 0x78]
jmp 0x4055ab
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jns 0x4055a5
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x6c], ecx
jmp 0x4055ae
mov edx, dword [esi + 0x84]
mov dword [esi + 0x6c], edx
mov esi, dword [esi + 0x6c]
cmp dword [esp + 0x1c], esi
je 0x4055be
push esi
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4