Function at 0x5568c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x60a0fc]
sub esp, 0x18
test eax, eax
je 0x556a27
mov eax, dword [0x64354c]
test eax, eax
je 0x556a27
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
push esi
mov esi, dword [0x64531c]
movzx ecx, ax
shr eax, 0x10
test esi, esi
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
je 0x55697a
jmp 0x556910
lea edx, [esi + 0xa48]
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [edx + 0xc]
inc ecx
add edx, 2
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [esi + 0xa58]
test ecx, ecx
je 0x556970
mov edx, dword [esp + 0xc]
push eax
push edx
lea eax, [esp + 0x1c]
push eax
call ebx
test eax, eax
je 0x55696c
cmp edi, 0x201
je 0x556a2b
cmp edi, 0x205
je 0x556aa8
mov eax, dword [esp + 0x10]
mov esi, dword [esi + 0xe54]
test esi, esi
jne 0x556910
cmp edi, 0x205
jne 0x556a24
mov edx, dword [0x60a118]
mov eax, dword [0x64354c]
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
call fcn.0047f790
add esp, 0xc
test eax, eax
jne 0x556a15
mov esi, dword [0x64531c]
test esi, esi
je 0x556a15
mov edi, 0x270f
mov eax, dword [esi + 0xa58]
test eax, eax
je 0x556a0b
lea ecx, [esi + 0xa48]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], edi
call ebx
test eax, eax
je 0x556a0b
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esi + 0xa50]
jl 0x556a24
mov esi, dword [esi + 0xe54]
test esi, esi
jne 0x5569b3
mov edx, dword [esp + 0x28]
push 1
push edx
call fcn.004f7740
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x556a47
push esi
call fcn.00556860
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esi + 0x71c]
test eax, eax
jne 0x556a96
mov eax, dword [esi + 0xa64]
test eax, eax
jne 0x556a96
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esi + 0xa74]
push eax
call ebx
test eax, eax
je 0x556a96
mov eax, dword [0x63ad78]
test eax, eax
je 0x556a86
pop edi
pop esi
pop ebx
add esp, 0x18
jmp fcn.004f10e0
push esi
call fcn.00555ea0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0
push esi
call fcn.00556060
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
test edi, edi
je 0x556b04
mov eax, dword [0x64354c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x64354c]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
call fcn.005029d0
mov ecx, dword [esi]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 0xc
push 0
push ecx
push 0
push edx
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
jne 0x556a24
push 0
call fcn.00421c80
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x18
ret