Function at 0x41d490
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4634b0]
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 0x41d601
je 0x41d572
lea eax, [edi - 2]
cmp eax, 0x1e
ja case.0x41d79c.515
movzx eax, byte [eax + 0x41d860]
jmp dword [eax*4 + 0x41d84c]
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.00434307
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.00434307
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x1c]
test eax, eax
je case.0x41d79c.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.00434307
mov esp, ebp
pop ebp
ret 0x10
call fcn.0041db70
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00434307
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0x8e]
cmp eax, 0x17
ja case.0x41d587.143
movzx eax, byte [eax + 0x41d89c]
jmp dword [eax*4 + 0x41d880]
push 1
mov ecx, esi
call fcn.0041d980
jmp case.0x41d79c.515
push 0
mov ecx, esi
call fcn.0041dbd0
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.00434307
mov esp, ebp
pop ebp
ret 0x10
push 1
jmp 0x41d59b
push 2
jmp 0x41d59b
mov eax, dword [esi + 0x54]
mov ecx, esi
movzx eax, byte [eax + 0x52]
push eax
call fcn.0041d330
jmp case.0x41d79c.515
mov eax, dword [esi + 0x50]
xor ecx, ecx
cmp byte [eax + 0x52], cl
setne cl
push ecx
lea ecx, [esi + 0x130]
call fcn.00414fc0
jmp case.0x41d79c.515
push dword [ebp + 0x14]
push ecx
push 0x111
jmp 0x41d5a9
cmp edi, 0x200
ja 0x41d784
je 0x41d756
cmp edi, 0x113
jne case.0x41d79c.515
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0x2710]
cmp eax, 4
ja case.default.0x41d62d
jmp dword [eax*4 + 0x41d8b4]
mov ecx, esi
call fcn.0041db00
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00434307
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0041df80
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00434307
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.00419c30
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00434307
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0041de70
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00434307
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 0x41d71a
push 0x10
call edi
shr eax, 0xf
test al, 1
je 0x41d71a
push 0x24
call edi
shr eax, 0xf
and al, 1
je 0x41d715
cmp byte [0x468cb4], 0
jne 0x41d715
cmp byte [esi + 0x2ad], 0
mov byte [0x468cb4], 1
sete cl
mov byte [esi + 0x2ad], cl
call fcn.004137b0
jmp 0x41d71a
mov byte [0x468cb4], al
cmp byte [esi + 0x2ad], 0
je 0x41d832
lea ecx, [esi + 0x74]
call fcn.00416570
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00434307
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push ecx
push 0x113
jmp 0x41d5a9
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.00434307
mov esp, ebp
pop ebp
ret 0x10
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x41d79c.515
movzx eax, byte [eax + 0x41d8dc]
jmp dword [eax*4 + 0x41d8c8]
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.00434307
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.00434307
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.00434307
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.00434307
mov esp, ebp
pop ebp
ret 0x10