Function at 0x4b3ff0
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 0x4b4544
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.0x4b403f
movzx ecx, byte [ecx + 0x4b4578]
push edi
jmp dword [ecx*4 + 0x4b454c]
cmp eax, 0x73
je case.0x4b403f.23
mov edi, dword [ebp + 8]
test byte [edi + 0xfe4], 4
je 0x4b40c9
cmp eax, 0x26
jne 0x4b40c9
movzx eax, word [edi + 0xfe8]
mov ecx, edi
mov esi, dword [edi + 0xffc]
and eax, 0x80
push eax
push dword [edi + 0x1000]
mov dword [ebp + 8], eax
call fcn.004b4d80
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
cwde
shr ecx, 0x10
movsx ecx, cx
sub ecx, dword [edi + 0xfdc]
push ecx
push eax
mov ecx, edi
call fcn.004b2f00
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.004b57b0
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
test edx, edx
je 0x4b4166
mov esi, dword [edi + 0x1000]
mov eax, dword [edi + 0xffc]
push esi
mov dword [ebp - 8], eax
call fcn.004b3310
push esi
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.004b3420
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.004b3380
mov ecx, esi
mov dword [ebp - 4], eax
sub ecx, eax
jne 0x4b4129
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b413c
dec eax
mov ecx, edi
push eax
call fcn.004b3380
mov esi, eax
mov ecx, edi
push esi
call fcn.004b3420
add eax, esi
mov esi, eax
jmp 0x4b413c
push 0
push dword [ebp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.004b2d10
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.004b57b0
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.004b36f0
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
test byte [edi + 0xfe4], 4
je 0x4b41a5
cmp eax, 0x28
jne 0x4b41a5
push ebx
mov ecx, edi
call fcn.004b3760
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
test edx, edx
je 0x4b424e
mov esi, dword [edi + 0x1000]
mov eax, dword [edi + 0xffc]
push esi
mov dword [ebp - 4], eax
call fcn.004b3310
push esi
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.004b3420
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.004b3380
mov edx, dword [ebp + 0xc]
mov ecx, eax
mov eax, esi
mov dword [ebp - 8], ecx
sub eax, ecx
cmp eax, edx
jne 0x4b4212
test byte [edi + 0xfe4], 4
je 0x4b4224
mov eax, dword [edi + 0x1030]
mov ecx, dword [ebp + 8]
dec eax
cmp ecx, eax
je 0x4b4224
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.004b3380
mov esi, eax
jmp 0x4b4224
push 1
push edx
inc eax
push eax
push ecx
mov ecx, edi
call fcn.004b2d10
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.004b57b0
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.004b3850
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
test edx, edx
je 0x4b4291
mov eax, dword [edi]
push 0
push 0
push 0
push edi
call dword [eax + 0x190]
mov ecx, edi
call fcn.004b57b0
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ecx, edi
call fcn.004b38c0
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
test edx, edx
je 0x4b42e5
mov eax, dword [edi + 0xfcc]
test eax, eax
je 0x4b42e5
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.004b57b0
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ecx, edi
call fcn.004b37d0
mov ecx, edi
call fcn.004b61e0
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 + 0xfe8]
mov esi, dword [edi + 0xffc]
and eax, 0x80
push eax
push dword [edi + 0x1000]
mov dword [ebp + 8], eax
call fcn.004b4d80
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
cwde
shr ecx, 0x10
movsx ecx, cx
sub ecx, dword [edi + 0x101c]
add ecx, dword [edi + 0x1014]
push ecx
push eax
mov ecx, edi
call fcn.004b2f00
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.004b57b0
mov ecx, edi
call fcn.004b61e0
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 + 0xfe8]
mov esi, dword [edi + 0xffc]
and eax, 0x80
push eax
push dword [edi + 0x1000]
mov dword [ebp + 8], eax
call fcn.004b4d80
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
cwde
shr ecx, 0x10
movsx ecx, cx
sub ecx, dword [edi + 0x1014]
add ecx, dword [edi + 0x101c]
push ecx
push eax
mov ecx, edi
call fcn.004b2f00
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.004b57b0
mov ecx, edi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test dword [esi + 0xfe4], 0x800
jne case.0x4b403f.23
test ebx, ebx
je 0x4b4400
test edx, edx
jne case.0x4b403f.23
mov eax, dword [esi + 0xffc]
cmp eax, dword [esi + 0x1000]
je 0x4b444f
mov ecx, esi
test ebx, ebx
je 0x4b44bb
call fcn.004b3b40
test dword [esi + 0xfe4], 0x800
jne 0x4b44c0
push 1
push 1
push 0x545b14
push 1
mov ecx, esi
call fcn.004b5170
mov ecx, esi
call fcn.004b61e0
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 0x4b4482
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.004b36f0
mov ecx, esi
call fcn.004b3b20
mov ecx, esi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [eax + 0x190]
test edx, edx
je 0x4b44ae
call eax
push 1
mov ecx, esi
call fcn.004b37d0
mov ecx, esi
call fcn.004b3b20
mov ecx, esi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
call eax
push 1
mov ecx, esi
call fcn.004b3850
mov ecx, esi
call fcn.004b3b20
mov ecx, esi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
test ebx, ebx
je 0x4b44fa
mov esi, dword [ebp + 8]
test dword [esi + 0xfe4], 0x800
jne case.0x4b403f.23
mov ecx, esi
call fcn.004b48b0
mov ecx, esi
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
test edx, edx
je case.0x4b403f.23
mov ecx, dword [ebp + 8]
call fcn.004b3b40
mov ecx, dword [ebp + 8]
call fcn.004b61e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test dword [eax + 0xfe4], 0x1000
jne case.0x4b403f.23
push dword [eax + 0xc38]
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