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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x665d08
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 0x5b8cad
xor eax, eax
jmp 0x5b8f6c
push ebx
call fcn.005ba950
add esp, 4
cmp eax, 1
je 0x5b8f67
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 0x5b8d21
test ebp, ebp
je 0x5b8d0f
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
test eax, eax
jbe 0x5b8d04
mov ebp, dword [esi]
push 0
mov ecx, esi
call dword [ebp + 0x60]
push eax
mov ecx, esi
call dword [ebp + 0x2c]
jmp 0x5b8d4d
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x2c]
jmp 0x5b8d4d
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x54]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x2c]
jmp 0x5b8d4d
mov eax, dword [esi]
mov ecx, esi
test ebp, ebp
je 0x5b8d3a
call dword [eax + 0x28]
cmp eax, ebx
je 0x5b8d4d
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x2c]
jmp 0x5b8d4d
call dword [eax + 0x58]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x28]
cmp eax, ebx
jne 0x5b8f67
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
jl 0x5b8f67
push 0x12
call ebx
test ax, ax
jl 0x5b8f67
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x40]
call fcn.00563bd0
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.00564bc0
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.00564520
cmp eax, 1
jbe 0x5b8db7
mov dword [esp + 0x10], ebp
cmp ebx, 1
jne 0x5b8f53
cmp dword [esp + 0x10], ebx
jne 0x5b8f53
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00564ca0
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.0055d950
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.006392b1
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jg 0x5b8f81
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp edx, eax
jg 0x5b8f81
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.0055d8e0
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.00580c60
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x38]
push ebx
call fcn.005ba910
mov eax, dword [esi]
add esp, 4
mov ecx, esi
xor edi, edi
call dword [eax + 0x64]
test eax, eax
jbe 0x5b8f53
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x60]
mov ebx, eax
push ebx
call fcn.0055ed10
add esp, 4
test eax, eax
je 0x5b8f47
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 + 0x64]
cmp edi, eax
jb 0x5b8f28
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
call fcn.00563c50
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.00563c50
xor eax, eax
jmp 0x5b8f6c