Function at 0x413e70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4584b8]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
cmp edi, 0x111
ja 0x413fe1
je 0x413f52
lea eax, [edi - 2]
cmp eax, 0x1e
ja case.0x41417c.515
movzx eax, byte [eax + 0x414240]
jmp dword [eax*4 + 0x41422c]
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x1c]
test eax, eax
je case.0x41417c.515
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
call fcn.00414580
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0x8e]
cmp eax, 0x17
ja case.0x413f67.143
movzx eax, byte [eax + 0x41427c]
jmp dword [eax*4 + 0x414260]
push 1
mov ecx, esi
call fcn.00414360
jmp case.0x41417c.515
push 0
mov ecx, esi
call fcn.004145e0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
push 1
jmp 0x413f7b
push 2
jmp 0x413f7b
mov eax, dword [esi + 0x54]
mov ecx, esi
movzx eax, byte [eax + 0x52]
push eax
call fcn.00413d20
jmp case.0x41417c.515
mov eax, dword [esi + 0x50]
xor ecx, ecx
cmp byte [eax + 0x52], cl
setne cl
push ecx
lea ecx, [esi + 0xd8]
call fcn.0040b540
jmp case.0x41417c.515
push dword [ebp + 0x14]
push ecx
push 0x111
jmp 0x413f89
cmp edi, 0x200
ja 0x414164
je 0x414136
cmp edi, 0x113
jne case.0x41417c.515
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0x2710]
cmp eax, 4
ja case.default.0x41400d
jmp dword [eax*4 + 0x414294]
mov ecx, esi
call fcn.00414510
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.004148c0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x68]
mov ecx, esi
mov byte [eax + 0x50], 5
mov dword [eax + 0x4c], 2
movzx eax, byte [esi + 0x30]
push eax
call fcn.00410520
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.004147a0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
shr eax, 0xf
test al, 1
je 0x4140fa
push 0x10
call edi
shr eax, 0xf
test al, 1
je 0x4140fa
push 0x24
call edi
shr eax, 0xf
and al, 1
je 0x4140f5
cmp byte [0x45b78c], 0
jne 0x4140f5
cmp byte [esi + 0x155], 0
mov byte [0x45b78c], 1
sete cl
mov byte [esi + 0x155], cl
call fcn.00409e20
jmp 0x4140fa
mov byte [0x45b78c], al
cmp byte [esi + 0x155], 0
je 0x414212
lea ecx, [esi + 0x74]
call fcn.0040c8e0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push ecx
push 0x113
jmp 0x413f89
mov ecx, dword [ebp + 0x14]
mov eax, ecx
mov edx, dword [esi]
shr eax, 0x10
cwde
push eax
movsx eax, cx
mov ecx, esi
push eax
call dword [edx + 8]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x41417c.515
movzx eax, byte [eax + 0x4142bc]
jmp dword [eax*4 + 0x4142a8]
mov ecx, dword [ebp + 0x14]
mov eax, ecx
mov edx, dword [esi]
shr eax, 0x10
cwde
push eax
movsx eax, cx
mov ecx, esi
push eax
call dword [edx + 0x10]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov eax, ecx
mov edx, dword [esi]
shr eax, 0x10
cwde
push eax
movsx eax, cx
mov ecx, esi
push eax
call dword [edx + 0xc]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov eax, ecx
mov edx, dword [esi]
shr eax, 0x10
cwde
push eax
movsx eax, cx
mov ecx, esi
push eax
call dword [edx + 0x14]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
call dword [eax + 4]
mov ecx, dword [esp + 0x54]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 0x10