Function at 0x5a8880
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65a238
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x5a88ad
xor eax, eax
jmp 0x5a8b6c
push ebx
call fcn.005aa570
add esp, 4
cmp eax, 1
je 0x5a8b67
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
call dword [eax]
mov ebp, dword [ebx + 4]
push 0x11
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x5a8921
test ebp, ebp
je 0x5a890f
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x58]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
jbe 0x5a8904
mov ebp, dword [esi]
push 0
mov ecx, esi
call dword [ebp + 0x5c]
push eax
mov ecx, esi
call dword [ebp + 0x28]
jmp 0x5a894d
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x28]
jmp 0x5a894d
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x50]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x28]
jmp 0x5a894d
mov eax, dword [esi]
mov ecx, esi
test ebp, ebp
je 0x5a893a
call dword [eax + 0x24]
cmp eax, ebx
je 0x5a894d
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x28]
jmp 0x5a894d
call dword [eax + 0x54]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x50]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, ebx
jne 0x5a8b67
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
jl 0x5a8b67
push 0x12
call ebx
test ax, ax
jl 0x5a8b67
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x40]
call fcn.005571e0
lea eax, [esp + 0x10]
xor ebp, ebp
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x14], ebp
call fcn.005581b0
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.00557b10
cmp eax, 1
jbe 0x5a89b7
mov dword [esp + 0x10], ebp
cmp ebx, 1
jne 0x5a8b53
cmp dword [esp + 0x10], ebx
jne 0x5a8b53
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00558290
mov edx, dword [eax]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push edx
mov dword [esp + 0x60], ecx
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
lea eax, [esp + 0x6c]
push eax
call fcn.00552040
mov ecx, dword [eax]
add esp, 8
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [ecx]
mov dword [esp + 0x34], edx
call dword [eax + 0x6c]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
sub ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x60]
sub ebx, ecx
sub eax, ebp
push ebx
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x24]
sub eax, edx
push eax
call fcn.0062e0f1
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jg 0x5a8b81
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp edx, eax
jg 0x5a8b81
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.00551fd0
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x58], edx
call dword [sym.imp.USER32.dll_ClipCursor]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x88]
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], ecx
xor eax, eax
xor ecx, ecx
mov dword [edi + 0x20], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], 1
mov dword [edi + 0x2c], ecx
call fcn.00572910
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x34]
push ebx
call fcn.005aa530
mov eax, dword [esi]
add esp, 4
mov ecx, esi
xor edi, edi
call dword [eax + 0x60]
test eax, eax
jbe 0x5a8b53
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x5c]
mov ebx, eax
push ebx
call fcn.005533d0
add esp, 4
test eax, eax
je 0x5a8b47
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x78]
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 0x60]
cmp edi, eax
jb 0x5a8b28
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
call fcn.00557260
mov eax, 1
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0x10
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
call fcn.00557260
xor eax, eax
jmp 0x5a8b6c