Function at 0x4fabf3
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 0x4fac0e
mov dword [eax], 1
call fcn.0053d0fc
mov ebx, eax
test ebx, ebx
je 0x4facf6
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0048809a
mov edi, eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x208]
mov ecx, esi
call dword [0x617acc]
mov ecx, ebx
call esi
test eax, eax
je 0x4fac7b
test edi, edi
je 0x4fac65
cmp dword [edi + 0x20], 0
je 0x4fac65
push dword [edi + 0x20]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4fac74
mov eax, dword [edi + 0x20]
cmp eax, dword [ebx + 0x20]
je 0x4fac74
xor edi, edi
push edi
push edi
push 0x10
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x4fae80
test edi, edi
je 0x4fac95
cmp dword [edi + 0x20], 0
je 0x4fac95
push dword [edi + 0x20]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4fac74
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x617acc]
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 0x4fae7d
call fcn.0053d0fc
push eax
push 0x639bc0
call fcn.004a2b86
pop ecx
pop ecx
test eax, eax
je 0x4facec
mov ecx, eax
call fcn.004f96ef
test eax, eax
jne 0x4facef
xor edi, edi
inc edi
mov eax, edi
jmp 0x4fae80
mov eax, dword [edi + 0xb0]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4fae7d
cmp dword [0x6afeec], eax
jne 0x4fac74
mov ecx, dword [0x6aff2c]
xor esi, esi
mov edi, esi
mov dword [ebp - 8], edi
test ecx, ecx
je 0x4fad9b
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x4faeb8
push dword [ebx + 0x20]
call fcn.004880c4
mov ecx, dword [ebp - 4]
test eax, eax
je 0x4fad21
mov ecx, ebx
mov dword [ebp - 8], esi
call fcn.004b8971
mov ecx, dword [ebp - 4]
test eax, eax
jle 0x4fad21
push edi
mov ecx, ebx
call fcn.004b886d
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0xa4]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
test eax, eax
jne 0x4fad93
mov edi, dword [ebp - 8]
mov ecx, ebx
inc edi
mov dword [ebp - 8], edi
call fcn.004b8971
cmp edi, eax
jl 0x4fad5a
mov ecx, dword [ebp - 4]
jmp 0x4fad1f
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 0x4fae43
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.00523a90
test eax, eax
jne 0x4fac74
mov edi, dword [edi + 0xb0]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 0x170]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
push eax
push ebx
push dword [ebp - 4]
call fcn.00523a90
test eax, eax
jne 0x4fac74
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4fae87
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4fae87
cmp bl, 8
jne 0x4fae87
xor edi, edi
cmp dword [ebp + 8], 0x70
jne 0x4fae9c
mov ecx, dword [esi + 0xfc]
cmp dword [ecx + 0x7a8], edi
je 0x4fae9c
call fcn.00587a08
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
cmp bl, 0x10
jne 0x4fae9a
push dword [ebp + 8]
mov ecx, esi
call fcn.004fa076
test eax, eax
jne 0x4fae7d
xor edi, edi
cmp dword [ebp - 8], 0
je 0x4fac74
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4fac74
mov dword [eax], edi
jmp 0x4fac74
call fcn.004833e2
int3