Function at 0x416140
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x45a5d0]
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 0x4162b1
je 0x416222
lea eax, [edi - 2]
cmp eax, 0x1e
ja case.0x416454.515
movzx eax, byte [eax + 0x416518]
jmp dword [eax*4 + 0x416504]
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.0042cfb3
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.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x1c]
test eax, eax
je case.0x416454.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.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
call fcn.00416830
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0x8e]
cmp eax, 0x17
ja case.0x416237.143
movzx eax, byte [eax + 0x416554]
jmp dword [eax*4 + 0x416538]
push 1
mov ecx, esi
call fcn.00416640
jmp case.0x416454.515
push 0
mov ecx, esi
call fcn.00416890
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.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
push 1
jmp 0x41624b
push 2
jmp 0x41624b
mov eax, dword [esi + 0x54]
mov ecx, esi
movzx eax, byte [eax + 0x52]
push eax
call fcn.00415fe0
jmp case.0x416454.515
mov eax, dword [esi + 0x50]
xor ecx, ecx
cmp byte [eax + 0x52], cl
setne cl
push ecx
lea ecx, [esi + 0x130]
call fcn.0040ce00
jmp case.0x416454.515
push dword [ebp + 0x14]
push ecx
push 0x111
jmp 0x416259
cmp edi, 0x200
ja 0x41643c
je 0x41640e
cmp edi, 0x113
jne case.0x416454.515
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0x2710]
cmp eax, 4
ja case.default.0x4162dd
jmp dword [eax*4 + 0x41656c]
mov ecx, esi
call fcn.004167c0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.00416c40
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x68]
mov ecx, esi
mov byte [eax + 0x60], 5
mov dword [eax + 0x5c], 2
movzx eax, byte [esi + 0x30]
push eax
call fcn.00411ce0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.00416b30
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esi + 0x74]
call fcn.0040f190
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
shr eax, 0xf
test al, 1
je 0x4163d2
push 0x10
call edi
shr eax, 0xf
test al, 1
je 0x4163d2
push 0x24
call edi
shr eax, 0xf
and al, 1
je 0x4163cd
cmp byte [0x45fc4c], 0
jne 0x4163cd
cmp byte [esi + 0x251], 0
mov byte [0x45fc4c], 1
sete cl
mov byte [esi + 0x251], cl
call fcn.0040b7a0
jmp 0x4163d2
mov byte [0x45fc4c], al
cmp byte [esi + 0x251], 0
je 0x4164ea
lea ecx, [esi + 0x74]
call fcn.0040e350
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push ecx
push 0x113
jmp 0x416259
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.0042cfb3
mov esp, ebp
pop ebp
ret 0x10
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x416454.515
movzx eax, byte [eax + 0x416594]
jmp dword [eax*4 + 0x416580]
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.0042cfb3
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.0042cfb3
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.0042cfb3
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.0042cfb3
mov esp, ebp
pop ebp
ret 0x10