Function at 0x5a5815
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x10
mov eax, 0x6b2df7
call fcn.0060ae76
mov edi, ecx
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor edx, edx
test eax, eax
setne dl
inc edx
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x5a5b3f
cmp dword [edi + 0x1758], 0
jne 0x5a5ad4
lea ecx, [ebp - 0x10]
call fcn.00401f50
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0x42bf
call fcn.00404f80
test eax, eax
je 0x5a5b47
push 0x1c4
lea ebx, [edi + 0x1750]
call fcn.0044902e
pop ecx
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x5a589c
push 0
push esi
mov ecx, eax
call fcn.005d3800
jmp 0x5a589e
xor eax, eax
push eax
push dword [ebx + 8]
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.0051e7cb
and dword [ebp - 0x18], 0
cmp dword [edi + 0x1730], 0
jle 0x5a5999
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x1728]
push esi
mov ecx, eax
call fcn.0055d398
push 0
lea ecx, [edi + 0x1764]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x18], eax
call fcn.005a4b5f
test eax, eax
jne 0x5a5983
mov ecx, dword [ebp - 0x18]
push 0x6e57c4
call fcn.0043fc07
test eax, eax
je 0x5a5920
push 0x110
call fcn.0044902e
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x5a591c
push 1
mov ecx, eax
call fcn.0051cb92
jmp 0x5a596a
xor eax, eax
jmp 0x5a596a
push 0x1c4
call fcn.0044902e
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x5a595f
lea ecx, [edi + 0x1700]
push esi
call fcn.005469f0
mov ecx, dword [ebp - 0x14]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [eax]
push 0
call fcn.0055c176
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CMFCRibbonStatusBarCustomizeButton.0
jmp 0x5a5961
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xa0], ecx
push eax
mov dword [eax + 0xec], 1
mov ecx, ebx
push dword [ebx + 8]
mov byte [ebp - 4], 0
call fcn.0051e7cb
inc esi
lea eax, [edi + 0x1728]
cmp esi, dword [edi + 0x1730]
jl 0x5a58c7
mov esi, dword [ebp - 0x10]
cmp dword [edi + 0x1758], 1
jle 0x5a59e7
cmp dword [edi + 0x1744], 0
jle 0x5a59e7
push 0x110
call fcn.0044902e
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x5a59cc
push 1
mov ecx, eax
call fcn.0051cb92
jmp 0x5a59ce
xor eax, eax
push eax
mov dword [eax + 0xec], 1
mov ecx, ebx
push dword [ebx + 8]
mov byte [ebp - 4], 0
call fcn.0051e7cb
and dword [ebp - 0x18], 0
cmp dword [edi + 0x1744], 0
jle 0x5a5ac6
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x173c]
push esi
mov ecx, eax
call fcn.0055d398
push 0x6e57c4
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.0043fc07
test eax, eax
je 0x5a5a4f
push 0x110
call fcn.0044902e
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x5a5a41
push 1
mov ecx, eax
call fcn.0051cb92
mov ebx, eax
jmp 0x5a5a43
xor ebx, ebx
mov dword [ebx + 0xec], 1
jmp 0x5a5a97
push 0x1c4
call fcn.0044902e
mov ebx, eax
pop ecx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 6
test ebx, ebx
je 0x5a5a8c
lea ecx, [edi + 0x1714]
push esi
call fcn.005469f0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [eax]
mov ecx, ebx
push 0
call fcn.0055c176
mov dword [ebx], vtable.CMFCRibbonStatusBarCustomizeButton.0
jmp 0x5a5a8e
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0xa0], eax
mov eax, dword [edi + 0x1758]
push ebx
lea ebx, [edi + 0x1750]
mov byte [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0051e7cb
inc esi
lea eax, [edi + 0x173c]
cmp esi, dword [edi + 0x1744]
jl 0x5a5a01
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00428a03
jmp 0x5a5ada
lea ebx, [edi + 0x1750]
push 0x2040
call fcn.0044902e
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x5a5b02
push 0
push ebx
push edi
mov ecx, eax
call fcn.005aeb48
mov ebx, eax
jmp 0x5a5b04
xor ebx, ebx
and dword [ebx + 0x1f5c], 0
xor eax, eax
mov esi, dword [ebx]
inc eax
or dword [ebp - 4], 0xffffffff
push 0
push 0
mov esi, dword [esi + 0x210]
mov ecx, esi
push 0
mov dword [ebx + 0x1f50], eax
mov dword [ebx + 0x1f54], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [0x6bfdfc]
mov ecx, ebx
call esi
call fcn.0060ae44
ret 0xc
call fcn.004273da
int3