Function at 0x4ffd1e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
test eax, eax
je 0x4ffd39
mov dword [eax], 1
call fcn.004a00b2
mov ebx, eax
test ebx, ebx
je 0x4ffe21
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00411b4a
mov edi, eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x208]
mov ecx, esi
call dword [0x595a54]
mov ecx, ebx
call esi
test eax, eax
je 0x4ffda6
test edi, edi
je 0x4ffd90
cmp dword [edi + 0x20], 0
je 0x4ffd90
push dword [edi + 0x20]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4ffd9f
mov eax, dword [edi + 0x20]
cmp eax, dword [ebx + 0x20]
je 0x4ffd9f
xor edi, edi
push edi
push edi
push 0x10
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x4fffab
test edi, edi
je 0x4ffdc0
cmp dword [edi + 0x20], 0
je 0x4ffdc0
push dword [edi + 0x20]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4ffd9f
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x595a54]
mov ecx, ebx
call esi
xor edi, edi
push edi
push dword [ebp + 8]
mov esi, dword [eax + 0xd80]
push 0x100
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x4fffa8
call fcn.004a00b2
push eax
push 0x5bfe44
call fcn.004277d6
pop ecx
pop ecx
test eax, eax
je 0x4ffe17
mov ecx, eax
call fcn.004fe84c
test eax, eax
jne 0x4ffe1a
xor edi, edi
inc edi
mov eax, edi
jmp 0x4fffab
mov eax, dword [edi + 0xb0]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4fffa8
cmp dword [0x5f587c], eax
jne 0x4ffd9f
mov ecx, dword [0x5f58bc]
xor esi, esi
mov edi, esi
mov dword [ebp - 8], edi
test ecx, ecx
je 0x4ffec6
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x4fffe3
push dword [ebx + 0x20]
call fcn.00411b74
mov ecx, dword [ebp - 4]
test eax, eax
je 0x4ffe4c
mov ecx, ebx
mov dword [ebp - 8], esi
call fcn.004833f9
mov ecx, dword [ebp - 4]
test eax, eax
jle 0x4ffe4c
push edi
mov ecx, ebx
call fcn.004832f5
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0xa4]
mov ecx, esi
call dword [0x595a54]
mov ecx, edi
call esi
test eax, eax
jne 0x4ffebe
mov edi, dword [ebp - 8]
mov ecx, ebx
inc edi
mov dword [ebp - 8], edi
call fcn.004833f9
cmp edi, eax
jl 0x4ffe85
mov ecx, dword [ebp - 4]
jmp 0x4ffe4a
xor edi, edi
inc edi
xor esi, esi
mov dword [ebp - 8], edi
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
push 0x12
setns bl
dec bl
and bl, 8
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov cl, bl
or cl, 0x10
test ax, ax
movzx edx, cl
movzx ecx, bl
cmovns edx, ecx
push 0x10
mov dword [ebp - 4], edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [ebp - 4]
mov cl, dl
or cl, 4
test ax, ax
movzx ebx, cl
movzx ecx, dl
cmovns ebx, ecx
mov dword [ebp - 0x10], ebx
test edi, edi
jne 0x4fff6e
mov edi, dword [ebp - 0xc]
or ebx, 1
mov eax, dword [ebp + 8]
push 1
movzx eax, ax
push dword [edi + 0xb0]
mov dword [ebp - 4], eax
push ebx
push eax
call fcn.004ae8f6
test eax, eax
jne 0x4ffd9f
mov edi, dword [edi + 0xb0]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 0x170]
mov ecx, esi
call dword [0x595a54]
mov ecx, edi
call esi
push eax
push ebx
push dword [ebp - 4]
call fcn.004ae8f6
test eax, eax
jne 0x4ffd9f
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4fffb2
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4fffb2
cmp bl, 8
jne 0x4fffb2
xor edi, edi
cmp dword [ebp + 8], 0x70
jne 0x4fffc7
mov ecx, dword [esi + 0xfc]
cmp dword [ecx + 0x7a8], edi
je 0x4fffc7
call fcn.00536cbd
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
cmp bl, 0x10
jne 0x4fffc5
push dword [ebp + 8]
mov ecx, esi
call fcn.004ff1a1
test eax, eax
jne 0x4fffa8
xor edi, edi
cmp dword [ebp - 8], 0
je 0x4ffd9f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4ffd9f
mov dword [eax], edi
jmp 0x4ffd9f
call fcn.00419557
int3