Function at 0x5f15e5
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x6abb9f
call fcn.006375a8
sub esp, 0x3c
push esi
mov esi, ecx
cmp byte [esi + 0x38], 0
je 0x5f185f
lea eax, [esi + 0x3f]
push eax
call fcn.0048a277
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x5f185f
cmp dword [ebp + 8], 0
je 0x5f185f
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, 0x100c
sub eax, 1
je 0x5f177c
sub eax, 3
je 0x5f175d
sub eax, 1
je 0x5f173e
sub eax, 1
je 0x5f171f
sub eax, 1
jne 0x5f17a4
push 2
xor ebx, ebx
push 0xffffffffffffffff
jmp 0x5f1671
mov eax, dword [esi + 0x58]
mov ecx, edx
shl ecx, 7
cmp dword [ecx + eax + 4], 0
je 0x5f166e
inc ebx
push 2
push edx
mov eax, dword [esi + 0x54]
push edi
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, eax
cmp edx, 0xffffffff
jne 0x5f165e
cmp byte [0x79f19e], 0
je 0x5f17a4
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x5f16a2
mov byte [edi], 0
call fcn.00475d32
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 9
push eax
mov dword [ebp - 0x34], 0x79f19e
mov dword [ebp - 0x44], 0x24
call fcn.005f106b
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x5f16cd
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00589668
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004267c2
cmp byte [edi], 0
jne 0x5f16f8
mov byte [edi], 1
call fcn.00475cf1
lea eax, [esi + 0x3f]
push eax
call fcn.0048a277
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5f185d
cmp ebx, 6
jne 0x5f185d
mov edi, 0x100c
jmp 0x5f17a4
mov eax, dword [ecx]
call dword [eax + 0x150]
mov ecx, dword [ebp - 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
call fcn.005514fd
jmp 0x5f185d
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov ecx, dword [ebp - 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
call fcn.005f1900
jmp 0x5f185d
mov eax, dword [ecx]
call dword [eax + 0x148]
mov ecx, dword [ebp - 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
call fcn.00551412
jmp 0x5f185d
push 0xa3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push dword [ebp + 0xc]
test ax, ax
jns 0x5f179c
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.0058db46
jmp 0x5f17a4
push dword [ebp - 0x10]
call fcn.005f9a57
push 2
push 0xffffffffffffffff
push edi
jmp 0x5f1846
mov ecx, edi
lea eax, [ebp + 0xc]
shl ecx, 7
add ecx, dword [esi + 0x58]
push dword [ecx + 4]
push dword [ebp - 0x10]
push eax
call fcn.005f1013
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 4], 1
sub eax, 1
je 0x5f1809
sub eax, 1
je 0x5f17fa
sub eax, 4
jne 0x5f1827
cmp dword [ebp + 0xc], eax
je 0x5f1827
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.004a07ff
mov ecx, dword [ebp - 0x10]
call fcn.004b4829
jmp 0x5f1827
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5f180f
and dword [eax + 0x28], 0
and dword [eax + 0x2c], 0
cmp dword [ebp + 0xc], 0
jne 0x5f181b
mov eax, dword [ebp - 0x10]
and dword [eax + 0x2e8], 0
jmp 0x5f1827
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.004b0d13
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x5f183a
call fcn.004b04dc
or dword [ebp - 4], 0xffffffff
push 2
push edi
push 0x100c
mov eax, dword [esi + 0x54]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5f17ae
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8