Function at 0x484100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x100
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
ja 0x4841fc
je case.0x48421d.260
lea eax, [ebx - 2]
cmp eax, 0x85
ja case.0x4842ec.518
movzx eax, byte [eax + 0x484544]
jmp dword [eax*4 + 0x48451c]
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
call eax
test al, al
je case.0x4842ec.518
cmp di, 1
je case.0x4842ec.518
mov ecx, dword [esi + 0x15]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
call eax
jmp case.0x4842ec.518
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
call eax
jmp case.0x4842ec.518
mov ecx, dword [ebp + 8]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4842ec.518
call fcn.0048b410
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
jmp case.0x4842ec.518
mov dword [ebp + 8], 0
mov byte [esi + 0x14], 0
jmp case.0x4842ec.518
cmp byte [esi + 0x19], 0
je case.0x4842ec.518
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
or eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, 0x111
ja 0x4842d4
je 0x4842bc
lea eax, [ebx - 0x101]
cmp eax, 4
ja case.0x4842ec.518
jmp dword [eax*4 + 0x4845cc]
mov ebx, dword [ebp + 0x10]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x48423a
or ebx, 0x20000
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x48424d
or ebx, 0x10000
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x484260
or ebx, 0x40000
test edi, 0x40000000
jne 0x48427a
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
push ebx
mov ecx, esi
call eax
test al, al
jne case.0x48413b.20
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
push ebx
mov ecx, esi
call eax
test al, al
je 0x4843ea
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi]
mov eax, dword [ebp + 0x10]
mov edx, dword [edx + 0x58]
push eax
call edx
jmp case.0x4842ec.518
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, esi
call edx
jmp case.0x4842ec.518
mov eax, dword [ebp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x6c]
mov ecx, eax
shr ecx, 0x10
push ecx
push eax
mov ecx, esi
call edx
jmp case.0x4842ec.518
lea eax, [ebx - 0x200]
cmp eax, 0xa3
ja case.0x4842ec.518
movzx eax, byte [eax + 0x484614]
jmp dword [eax*4 + 0x4845e0]
movsx ecx, di
mov edx, edi
shr edx, 0x10
mov dword [esp + 0x10], ecx
movsx eax, dx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
shr ecx, 0x10
movsx edx, cx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, esi
call eax
jmp case.0x4842ec.518
movsx ecx, di
mov edx, edi
shr edx, 0x10
mov dword [esp + 0x10], ecx
movsx eax, dx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x48]
shr ecx, 0x10
movsx edx, cx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, esi
call eax
jmp case.0x4842ec.518
mov ecx, edi
shr ecx, 0x10
cmp byte [esi + 0x14], 0
movsx edx, cx
movsx ebx, di
mov dword [esp + 0x10], edx
jne 0x4843db
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
mov byte [esi + 0x14], 1
call eax
test al, al
je 0x4843ea
mov ecx, dword [esi + 0x15]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
push eax
push ebx
mov ecx, esi
call edx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edi
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [esi + 0x14], 0
je case.0x4842ec.518
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
call edx
mov byte [esi + 0x14], 0
jmp case.0x4842ec.518
cmp byte [esi + 0x14], 0
je case.0x4842ec.518
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
mov ecx, edi
shr ecx, 0x10
movzx edx, di
push ecx
push edx
mov ecx, esi
call eax
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
jmp case.0x4842ec.518
mov eax, dword [esi]
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
movsx ecx, di
push edx
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, esi
call edx
jmp case.0x4842ec.518
mov eax, dword [esi]
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
movsx ecx, di
push edx
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
jmp case.0x4842ec.518
mov eax, dword [esi]
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
movsx ecx, di
push edx
mov edx, dword [eax + 0x38]
push ecx
mov ecx, esi
call edx
jmp case.0x4842ec.518
mov eax, dword [esi]
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
movsx ecx, di
push edx
mov edx, dword [eax + 0x34]
push ecx
mov ecx, esi
call edx
jmp case.0x4842ec.518
mov eax, dword [esi]
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
movsx ecx, di
push edx
mov edx, dword [eax + 0x40]
push ecx
mov ecx, esi
call edx
jmp case.0x4842ec.518
mov eax, dword [esi]
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
movsx ecx, di
push edx
mov edx, dword [eax + 0x3c]
push ecx
mov ecx, esi
call edx
jmp case.0x4842ec.518
mov eax, dword [esi]
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
movsx ecx, di
push edx
mov edx, dword [eax + 0x4c]
push ecx
mov ecx, esi
call edx
jmp case.0x4842ec.518