Function at 0x5fc57a
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x6b7b37
call fcn.006426c4
sub esp, 0x3c
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x5fc7f4
lea eax, [esi + 0x43]
push eax
call fcn.0048d5e2
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x5fc7f4
cmp dword [ebp + 8], 0
je 0x5fc7f4
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, 0x100c
sub eax, 1
je 0x5fc711
sub eax, 3
je 0x5fc6f2
sub eax, 1
je 0x5fc6d3
sub eax, 1
je 0x5fc6b4
sub eax, 1
jne 0x5fc739
push 2
xor ebx, ebx
push 0xffffffffffffffff
jmp 0x5fc606
mov eax, dword [esi + 0x5c]
mov ecx, edx
shl ecx, 7
cmp dword [ecx + eax + 4], 0
je 0x5fc603
inc ebx
push 2
push edx
mov eax, dword [esi + 0x58]
push edi
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, eax
cmp edx, 0xffffffff
jne 0x5fc5f3
cmp byte [0x7b06de], 0
je 0x5fc739
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x5fc637
mov byte [edi], 0
call fcn.00479192
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 9
push eax
mov dword [ebp - 0x34], 0x7b06de
mov dword [ebp - 0x44], 0x24
call fcn.005fc000
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x5fc662
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0058eef2
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004285f6
cmp byte [edi], 0
jne 0x5fc68d
mov byte [edi], 1
call fcn.00479151
lea eax, [esi + 0x43]
push eax
call fcn.0048d5e2
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5fc7f2
cmp ebx, 6
jne 0x5fc7f2
mov edi, 0x100c
jmp 0x5fc739
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [ebp - 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
call fcn.005565b5
jmp 0x5fc7f2
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.005fc895
jmp 0x5fc7f2
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.005564ca
jmp 0x5fc7f2
push 0xa3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push dword [ebp + 0xc]
test ax, ax
jns 0x5fc731
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.005933ef
jmp 0x5fc739
push dword [ebp - 0x10]
call fcn.00604a02
push 2
push 0xffffffffffffffff
push edi
jmp 0x5fc7db
mov ecx, edi
lea eax, [ebp + 0xc]
shl ecx, 7
add ecx, dword [esi + 0x5c]
push dword [ecx + 4]
push dword [ebp - 0x10]
push eax
call fcn.005fbfa8
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 4], 1
sub eax, 1
je 0x5fc79e
sub eax, 1
je 0x5fc78f
sub eax, 4
jne 0x5fc7bc
cmp dword [ebp + 0xc], eax
je 0x5fc7bc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.004a452a
mov ecx, dword [ebp - 0x10]
call fcn.004b861a
jmp 0x5fc7bc
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5fc7a4
and dword [eax + 0x28], 0
and dword [eax + 0x2c], 0
cmp dword [ebp + 0xc], 0
jne 0x5fc7b0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x2f0], 0
jmp 0x5fc7bc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.004b4ad7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x5fc7cf
call fcn.004b429a
or dword [ebp - 4], 0xffffffff
push 2
push edi
push 0x100c
mov eax, dword [esi + 0x58]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5fc743
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8