Function at 0x5e3eac
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x685488
call fcn.0062921c
sub esp, 0x3c
push esi
mov esi, ecx
cmp byte [esi + 0x38], 0
je 0x5e4126
lea eax, [esi + 0x3f]
push eax
call fcn.00486e54
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x5e4126
cmp dword [ebp + 8], 0
je 0x5e4126
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, 0x100c
sub eax, 1
je 0x5e4043
sub eax, 3
je 0x5e4024
sub eax, 1
je 0x5e4005
sub eax, 1
je 0x5e3fe6
sub eax, 1
jne 0x5e406b
push 2
xor ebx, ebx
push 0xffffffffffffffff
jmp 0x5e3f38
mov eax, dword [esi + 0x58]
mov ecx, edx
shl ecx, 7
cmp dword [ecx + eax + 4], 0
je 0x5e3f35
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 0x5e3f25
cmp byte [0x76c836], 0
je 0x5e406b
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x5e3f69
mov byte [edi], 0
call fcn.00472ff8
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], 9
push eax
mov dword [ebp - 0x34], 0x76c836
mov dword [ebp - 0x44], 0x24
call fcn.005e3932
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x5e3f94
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0057c60a
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042386b
cmp byte [edi], 0
jne 0x5e3fbf
mov byte [edi], 1
call fcn.00472fb7
lea eax, [esi + 0x3f]
push eax
call fcn.00486e54
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5e4124
cmp ebx, 6
jne 0x5e4124
mov edi, 0x100c
jmp 0x5e406b
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.005444bb
jmp 0x5e4124
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.005e41c7
jmp 0x5e4124
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.005443d0
jmp 0x5e4124
push 0xa3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push dword [ebp + 0xc]
test ax, ax
jns 0x5e4063
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.00580b07
jmp 0x5e406b
push dword [ebp - 0x10]
call fcn.005ec381
push 2
push 0xffffffffffffffff
push edi
jmp 0x5e410d
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.005e38da
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 4], 1
sub eax, 1
je 0x5e40d0
sub eax, 1
je 0x5e40c1
sub eax, 4
jne 0x5e40ee
cmp dword [ebp + 0xc], eax
je 0x5e40ee
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.0049c7e1
mov ecx, dword [ebp - 0x10]
call fcn.004b012c
jmp 0x5e40ee
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5e40d6
and dword [eax + 0x28], 0
and dword [eax + 0x2c], 0
cmp dword [ebp + 0xc], 0
jne 0x5e40e2
mov eax, dword [ebp - 0x10]
and dword [eax + 0x2d4], 0
jmp 0x5e40ee
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0xc]
push eax
call fcn.004ac78b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x5e4101
call fcn.004abf57
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 0x5e4075
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8