Function at 0x5fa244
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x6b55df
call fcn.00640244
sub esp, 0x3c
push esi
mov esi, ecx
cmp byte [esi + 0x38], 0
je 0x5fa4be
lea eax, [esi + 0x3f]
push eax
call fcn.0048d304
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x5fa4be
cmp dword [ebp + 8], 0
je 0x5fa4be
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, 0x100c
sub eax, 1
je 0x5fa3db
sub eax, 3
je 0x5fa3bc
sub eax, 1
je 0x5fa39d
sub eax, 1
je 0x5fa37e
sub eax, 1
jne 0x5fa403
push 2
xor ebx, ebx
push 0xffffffffffffffff
jmp 0x5fa2d0
mov eax, dword [esi + 0x58]
mov ecx, edx
shl ecx, 7
cmp dword [ecx + eax + 4], 0
je 0x5fa2cd
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 0x5fa2bd
cmp byte [0x7ac4be], 0
je 0x5fa403
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x5fa301
mov byte [edi], 0
call fcn.00478862
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 9
push eax
mov dword [ebp - 0x34], 0x7ac4be
mov dword [ebp - 0x44], 0x24
call fcn.005f9cca
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x5fa32c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0058da56
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004281f2
cmp byte [edi], 0
jne 0x5fa357
mov byte [edi], 1
call fcn.00478821
lea eax, [esi + 0x3f]
push eax
call fcn.0048d304
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5fa4bc
cmp ebx, 6
jne 0x5fa4bc
mov edi, 0x100c
jmp 0x5fa403
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.00554e35
jmp 0x5fa4bc
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.005fa55f
jmp 0x5fa4bc
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.00554d4a
jmp 0x5fa4bc
push 0xa3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push dword [ebp + 0xc]
test ax, ax
jns 0x5fa3fb
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.00591fbf
jmp 0x5fa403
push dword [ebp - 0x10]
call fcn.006026a7
push 2
push 0xffffffffffffffff
push edi
jmp 0x5fa4a5
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.005f9c72
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 4], 1
sub eax, 1
je 0x5fa468
sub eax, 1
je 0x5fa459
sub eax, 4
jne 0x5fa486
cmp dword [ebp + 0xc], eax
je 0x5fa486
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.004a3c29
mov ecx, dword [ebp - 0x10]
call fcn.004b7d2c
jmp 0x5fa486
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5fa46e
and dword [eax + 0x28], 0
and dword [eax + 0x2c], 0
cmp dword [ebp + 0xc], 0
jne 0x5fa47a
mov eax, dword [ebp - 0x10]
and dword [eax + 0x2f0], 0
jmp 0x5fa486
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.004b41f3
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x5fa499
call fcn.004b39b6
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 0x5fa40d
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8