Function at 0x41ad80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x45f4b0]
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 0x41aef1
je 0x41ae62
lea eax, [edi - 2]
cmp eax, 0x1e
ja case.0x41b08c.515
movzx eax, byte [eax + 0x41b150]
jmp dword [eax*4 + 0x41b13c]
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.00431be4
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.00431be4
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x1c]
test eax, eax
je case.0x41b08c.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.00431be4
mov esp, ebp
pop ebp
ret 0x10
call fcn.0041b460
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00431be4
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0x8e]
cmp eax, 0x17
ja case.0x41ae77.143
movzx eax, byte [eax + 0x41b18c]
jmp dword [eax*4 + 0x41b170]
push 1
mov ecx, esi
call fcn.0041b270
jmp case.0x41b08c.515
push 0
mov ecx, esi
call fcn.0041b4c0
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.00431be4
mov esp, ebp
pop ebp
ret 0x10
push 1
jmp 0x41ae8b
push 2
jmp 0x41ae8b
mov eax, dword [esi + 0x54]
mov ecx, esi
movzx eax, byte [eax + 0x52]
push eax
call fcn.0041ac20
jmp case.0x41b08c.515
mov eax, dword [esi + 0x50]
xor ecx, ecx
cmp byte [eax + 0x52], cl
setne cl
push ecx
lea ecx, [esi + 0x130]
call fcn.00413640
jmp case.0x41b08c.515
push dword [ebp + 0x14]
push ecx
push 0x111
jmp 0x41ae99
cmp edi, 0x200
ja 0x41b074
je 0x41b046
cmp edi, 0x113
jne case.0x41b08c.515
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0x2710]
cmp eax, 4
ja case.default.0x41af1d
jmp dword [eax*4 + 0x41b1a4]
mov ecx, esi
call fcn.0041b3f0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00431be4
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0041b870
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00431be4
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.004174c0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00431be4
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0041b760
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00431be4
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 0x41b00a
push 0x10
call edi
shr eax, 0xf
test al, 1
je 0x41b00a
push 0x24
call edi
shr eax, 0xf
and al, 1
je 0x41b005
cmp byte [0x464cb4], 0
jne 0x41b005
cmp byte [esi + 0x2ad], 0
mov byte [0x464cb4], 1
sete cl
mov byte [esi + 0x2ad], cl
call fcn.00411e30
jmp 0x41b00a
mov byte [0x464cb4], al
cmp byte [esi + 0x2ad], 0
je 0x41b122
lea ecx, [esi + 0x74]
call fcn.004141d0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00431be4
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push ecx
push 0x113
jmp 0x41ae99
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.00431be4
mov esp, ebp
pop ebp
ret 0x10
lea eax, [edi - 0x201]
cmp eax, 0xa2
ja case.0x41b08c.515
movzx eax, byte [eax + 0x41b1cc]
jmp dword [eax*4 + 0x41b1b8]
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.00431be4
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.00431be4
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.00431be4
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.00431be4
mov esp, ebp
pop ebp
ret 0x10