Function at 0x488a50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
jne 0x488fa4
push ebx
push 0x10
call esi
mov ebx, eax
push 0x11
and ebx, 0x8000
call esi
mov edx, eax
mov eax, dword [ebp + 0xc]
and edx, 0x8000
lea ecx, [eax - 0xd]
cmp ecx, 0x66
ja case.default.0x488a9f
movzx ecx, byte [ecx + 0x488fd8]
push edi
jmp dword [ecx*4 + 0x488fac]
cmp eax, 0x73
je case.0x488a9f.23
mov edi, dword [ebp + 8]
test byte [edi + 0x7e8], 4
je 0x488b29
cmp eax, 0x26
jne 0x488b29
movzx eax, word [edi + 0x7ec]
mov ecx, edi
mov esi, dword [edi + 0x800]
and eax, 0x80
push eax
push dword [edi + 0x804]
mov dword [ebp + 8], eax
call fcn.0048ab20
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
cwde
shr ecx, 0x10
movsx ecx, cx
sub ecx, dword [edi + 0x7e0]
push ecx
push eax
mov ecx, edi
call fcn.00489dd0
push dword [ebp + 8]
mov ecx, dword [edi]
test ebx, ebx
push eax
cmove esi, eax
push esi
push edi
call dword [ecx + 0x190]
mov ecx, edi
call fcn.0048b320
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
test edx, edx
je 0x488bc6
mov esi, dword [edi + 0x804]
mov eax, dword [edi + 0x800]
push esi
mov dword [ebp - 8], eax
call fcn.0048a880
push esi
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.0048a990
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.0048a8f0
mov ecx, esi
mov dword [ebp - 4], eax
sub ecx, eax
jne 0x488b89
mov eax, dword [ebp + 8]
test eax, eax
je 0x488b9c
dec eax
mov ecx, edi
push eax
call fcn.0048a8f0
mov esi, eax
mov ecx, edi
push esi
call fcn.0048a990
add eax, esi
mov esi, eax
jmp 0x488b9c
push 0
push dword [ebp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.00489be0
mov esi, eax
add esi, dword [ebp - 4]
mov eax, dword [edi]
test ebx, ebx
push 0
push esi
cmovne esi, dword [ebp - 8]
push esi
push edi
call dword [eax + 0x190]
mov ecx, edi
call fcn.0048b320
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.0048a150
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
test byte [edi + 0x7e8], 4
je 0x488c05
cmp eax, 0x28
jne 0x488c05
push ebx
mov ecx, edi
call fcn.0048a1c0
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
test edx, edx
je 0x488cae
mov esi, dword [edi + 0x804]
mov eax, dword [edi + 0x800]
push esi
mov dword [ebp - 4], eax
call fcn.0048a880
push esi
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.0048a990
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.0048a8f0
mov edx, dword [ebp + 0xc]
mov ecx, eax
mov eax, esi
mov dword [ebp - 8], ecx
sub eax, ecx
cmp eax, edx
jne 0x488c72
test byte [edi + 0x7e8], 4
je 0x488c84
mov eax, dword [edi + 0x834]
mov ecx, dword [ebp + 8]
dec eax
cmp ecx, eax
je 0x488c84
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.0048a8f0
mov esi, eax
jmp 0x488c84
push 1
push edx
inc eax
push eax
push ecx
mov ecx, edi
call fcn.00489be0
mov esi, eax
add esi, dword [ebp - 8]
mov eax, dword [edi]
test ebx, ebx
push 0
push esi
cmovne esi, dword [ebp - 4]
push esi
push edi
call dword [eax + 0x190]
mov ecx, edi
call fcn.0048b320
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.0048a2b0
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
test edx, edx
je 0x488cf1
mov eax, dword [edi]
push 0
push 0
push 0
push edi
call dword [eax + 0x190]
mov ecx, edi
call fcn.0048b320
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ecx, edi
call fcn.0048a320
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
test edx, edx
je 0x488d45
mov eax, dword [edi + 0x7d0]
test eax, eax
je 0x488d45
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
push 0
push eax
push eax
push edi
call dword [ecx + 0x190]
mov ecx, edi
call fcn.0048b320
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ecx, edi
call fcn.0048a230
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
mov ecx, edi
movzx eax, word [edi + 0x7ec]
mov esi, dword [edi + 0x800]
and eax, 0x80
push eax
push dword [edi + 0x804]
mov dword [ebp + 8], eax
call fcn.0048ab20
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
cwde
shr ecx, 0x10
movsx ecx, cx
sub ecx, dword [edi + 0x820]
add ecx, dword [edi + 0x818]
push ecx
push eax
mov ecx, edi
call fcn.00489dd0
push dword [ebp + 8]
mov edx, dword [edi]
test ebx, ebx
push eax
cmove esi, eax
push esi
push edi
call dword [edx + 0x190]
mov ecx, edi
call fcn.0048b320
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
mov ecx, edi
movzx eax, word [edi + 0x7ec]
mov esi, dword [edi + 0x800]
and eax, 0x80
push eax
push dword [edi + 0x804]
mov dword [ebp + 8], eax
call fcn.0048ab20
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
cwde
shr ecx, 0x10
movsx ecx, cx
sub ecx, dword [edi + 0x818]
add ecx, dword [edi + 0x820]
push ecx
push eax
mov ecx, edi
call fcn.00489dd0
push dword [ebp + 8]
mov edx, dword [edi]
test ebx, ebx
push eax
cmove esi, eax
push esi
push edi
call dword [edx + 0x190]
mov ecx, edi
call fcn.0048b320
mov ecx, edi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test dword [esi + 0x7e8], 0x800
jne case.0x488a9f.23
test ebx, ebx
je 0x488e60
test edx, edx
jne case.0x488a9f.23
mov eax, dword [esi + 0x800]
cmp eax, dword [esi + 0x804]
je 0x488eaf
mov ecx, esi
test ebx, ebx
je 0x488f1b
call fcn.0048b840
test dword [esi + 0x7e8], 0x800
jne 0x488f20
push 1
push 1
push 0x6df5c4
push 1
mov ecx, esi
call fcn.0048ace0
mov ecx, esi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push esi
test ebx, ebx
je 0x488ee2
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.0048a150
mov ecx, esi
call fcn.004896a0
mov ecx, esi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [eax + 0x190]
test edx, edx
je 0x488f0e
call eax
push 1
mov ecx, esi
call fcn.0048a230
mov ecx, esi
call fcn.004896a0
mov ecx, esi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
call eax
push 1
mov ecx, esi
call fcn.0048a2b0
mov ecx, esi
call fcn.004896a0
mov ecx, esi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
test ebx, ebx
je 0x488f5a
mov esi, dword [ebp + 8]
test dword [esi + 0x7e8], 0x800
jne case.0x488a9f.23
mov ecx, esi
call fcn.0048b8e0
mov ecx, esi
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
test edx, edx
je case.0x488a9f.23
mov ecx, dword [ebp + 8]
call fcn.0048b840
mov ecx, dword [ebp + 8]
call fcn.0048bef0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test dword [eax + 0x7e8], 0x1000
jne case.0x488a9f.23
push dword [eax + 0x438]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x400
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10