Function at 0x5e9a77
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x68044e
call fcn.006313fc
sub esp, 0x3c
push esi
mov esi, ecx
cmp byte [esi + 0x38], 0
je 0x5e9d03
push ebp
lea ebp, [esi + 0x3f]
push ebp
call fcn.0048922a
mov ecx, eax
mov dword [esp + 8], ecx
test ecx, ecx
je 0x5e9d02
cmp dword [esp + 0x58], 0
je 0x5e9d02
mov eax, dword [esp + 0x58]
push ebx
push edi
mov edi, 0x100c
dec eax
je 0x5e9c14
sub eax, 3
je 0x5e9bf4
dec eax
je 0x5e9bd4
dec eax
je 0x5e9bb4
dec eax
jne 0x5e9c3f
push 2
xor ebx, ebx
push 0xffffffffffffffff
jmp 0x5e9aff
mov eax, dword [esi + 0x58]
mov ecx, edx
shl ecx, 7
cmp dword [ecx + eax + 4], 0
je 0x5e9afc
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 0x5e9aec
cmp byte [0x75efee], 0
je 0x5e9c3f
mov edi, dword [esp + 0x64]
cmp byte [edi], 0
je 0x5e9b31
mov byte [edi], 0
call fcn.00475085
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 9
push eax
mov dword [esp + 0x48], 0x75efee
mov dword [esp + 0x38], 0x24
call fcn.005e94f3
and dword [esp + 0x54], 0
cmp dword [eax + 0x14], 8
jb 0x5e9b61
mov eax, dword [eax]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00583334
or dword [esp + 0x5c], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.0042341c
cmp byte [edi], 0
jne 0x5e9b8f
mov byte [edi], 1
call fcn.00475044
push ebp
call fcn.0048922a
mov dword [esp + 0x10], eax
test eax, eax
je 0x5e9d00
cmp ebx, 6
jne 0x5e9d00
mov edi, 0x100c
jmp 0x5e9c3f
mov eax, dword [ecx]
call dword [eax + 0x150]
mov ecx, dword [esp + 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
call fcn.00547342
jmp 0x5e9d00
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov ecx, dword [esp + 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
call fcn.005e9da3
jmp 0x5e9d00
mov eax, dword [ecx]
call dword [eax + 0x148]
mov ecx, dword [esp + 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
call fcn.00547257
jmp 0x5e9d00
push 0xa3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push dword [esp + 0x64]
test ax, ax
jns 0x5e9c36
push 1
lea eax, [esp + 0x18]
push eax
call fcn.00587954
jmp 0x5e9c3f
push dword [esp + 0x14]
call fcn.005f21e1
push 2
push 0xffffffffffffffff
push edi
jmp 0x5e9ce9
mov ecx, edi
lea eax, [esp + 0x64]
shl ecx, 7
add ecx, dword [esi + 0x58]
push dword [ecx + 4]
push dword [esp + 0x14]
push eax
call fcn.005e949b
mov eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x54], 1
dec eax
je 0x5e9cad
dec eax
je 0x5e9c99
sub eax, 4
jne 0x5e9ccf
cmp dword [esp + 0x64], eax
je 0x5e9ccf
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x64]
push eax
call fcn.0049ee97
mov ecx, dword [esp + 0x10]
call fcn.004b3261
jmp 0x5e9ccf
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5e9cb4
and dword [eax + 0x28], 0
mov eax, dword [esp + 0x64]
and dword [eax + 0x2c], 0
cmp dword [esp + 0x64], 0
jne 0x5e9cc1
mov eax, dword [esp + 0x10]
and dword [eax + 0x2c4], 0
jmp 0x5e9ccf
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x64]
push eax
call fcn.004af6f4
or dword [esp + 0x54], 0xffffffff
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x5e9ce1
call fcn.004aef31
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 0x5e9c49
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0x40]
pop esi
mov dword fs:[0], ecx
leave
ret 8