Function at 0x4b280a
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push dword [ebp + 0x14]
mov ebx, ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4b2a9b
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebx]
push 1
push dword [ebp + 8]
mov esi, 0x57b550
push esi
call fcn.004c4aa0
pop ecx
pop ecx
push eax
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
call dword [edi + 0x14]
xor edi, edi
cmp eax, edi
je 0x4b288c
push dword [ebp + 0x1c]
mov edx, dword [eax]
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx + 0x198]
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4b2a99
mov eax, dword [ebx + 0x1b8]
cmp eax, edi
je 0x4b28c4
cmp dword [eax + 8], edi
je 0x4b28c4
cmp dword [eax + 4], edi
je 0x4b28c4
push dword [ebp + 8]
push esi
call fcn.004c4aa0
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x542e60
call fcn.004c4aa0
pop ecx
pop ecx
jmp 0x4b28c6
xor eax, eax
mov edx, dword [ebx]
push eax
push 1
push edi
push 1
push dword [0x57b134]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [edx + 0x10]
push eax
mov edi, 0x57c588
push edi
call fcn.004c4aa0
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x4b2954
call fcn.004c69a2
test eax, eax
je 0x4b2954
mov ecx, dword [ebp + 8]
push esi
call fcn.004eddf6
test eax, eax
je 0x4b292b
push dword [ebp + 8]
push esi
call fcn.004c4aa0
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push eax
call dword [edx + 0x314]
test eax, eax
je 0x4b2a99
mov ecx, dword [ebp - 8]
call fcn.004c69a2
push dword [ebp + 0x1c]
mov edx, dword [eax]
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx + 0x274]
jmp 0x4b2a99
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.004849a2
test eax, eax
mov eax, dword [ebp + 0x1c]
je 0x4b2a96
mov ecx, dword [ebp + 8]
and dword [eax], 0
push esi
call fcn.004eddf6
test eax, eax
je 0x4b29ac
push dword [ebp + 8]
push esi
call fcn.004c4aa0
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x539f88
call fcn.004c4aa0
pop ecx
pop ecx
test eax, eax
je 0x4b29d7
jmp 0x4b29c4
mov ecx, dword [ebp + 8]
push edi
call fcn.004eddf6
test eax, eax
je 0x4b29d7
push dword [ebp + 8]
push edi
call fcn.004c4aa0
pop ecx
pop ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x170]
test dword [ebp - 4], eax
je 0x4b2a99
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0xc], 0
lea esi, [ebx + 0x108]
jne 0x4b29f9
lea esi, [ebx + 0xf8]
mov edi, dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xe4]
call fcn.00428092
mov ecx, dword [ebp - 4]
and eax, 0x400000
cmp ecx, 0x1000
je 0x4b2a82
cmp ecx, 0x2000
je 0x4b2a71
cmp ecx, 0x4000
je 0x4b2a44
cmp ecx, 0x8000
jne 0x4b2a56
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
sub edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
jmp 0x4b2a56
test eax, eax
mov eax, dword [ebp + 0x14]
je 0x4b2a89
mov edx, dword [eax]
sub edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov eax, dword [ebx]
push ecx
push dword [ebp + 0x14]
mov ecx, ebx
call dword [eax + 0x5c]
push dword [ebp + 0x14]
mov ecx, dword [ebx + 0xe4]
call fcn.0040a84b
jmp 0x4b2a99
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 4]
sub edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
jmp 0x4b2a56
test eax, eax
mov eax, dword [ebp + 0x14]
je 0x4b2a4b
mov edx, dword [eax + 8]
sub edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x1c]
mov dword [eax], edx
jmp 0x4b2a56
and dword [eax], 0
pop edi
pop esi
pop ebx
leave
ret 0x18