Function at 0x1400056e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x14005ea58]
xor esi, esi
movaps xmmword [rsp + 0x40], xmm6
mov rbx, rcx
test rax, rax
je 0x140005709
mov rcx, qword [rax + 0x98]
jmp 0x14000570c
mov rcx, rsi
cmp qword [rcx + 0x18], rsi
jne 0x14000572d
test rax, rax
je 0x14000572d
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14000572d
cmp qword [rcx], rsi
je 0x14000572d
call fcn.140030b90
call fcn.1400315a0
call fcn.14000d5c0
cmp qword [0x14005eb78], rsi
je 0x1400057a3
cmp byte [0x14005e0d1], sil
je 0x1400057a3
cmp dword [0x14005e0c4], esi
jne 0x14000577d
lea rcx, [0x14005e0b8]
call fcn.1400011c0
test rax, rax
je 0x14000577d
lea rcx, [0x14005e0b8]
call fcn.1400011c0
mov rdx, rax
lea rcx, [0x14005e0b8]
call fcn.1400017e0
cmp dword [0x14005e0c4], 1
jne 0x1400057a3
lea rcx, [0x14005e0b8]
call fcn.1400011c0
test rax, rax
je 0x1400057a3
lea rcx, [0x14005e0b8]
call fcn.140001ee0
call fcn.1400023d0
cmp qword [0x14005eb78], rsi
je 0x1400057ce
mov rcx, rax
call fcn.140002880
cmp qword [0x14005eb78], rsi
je 0x1400057ce
lea rcx, [0x14005e0e8]
call fcn.140004cd0
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14005eb50], eax
jle 0x140005811
lea rcx, [0x14005eb50]
call fcn.14004cef4
cmp dword [0x14005eb50], 0xffffffff
jne 0x140005811
lea rcx, [0x14005eb50]
mov dword [0x14005eb48], esi
call fcn.14004ce88
lea rcx, [0x14005eb48]
mov qword [rsp + 0x68], rdi
call fcn.140005400
cmp byte [0x14005e0d4], sil
movss xmm6, dword [0x140055358]
je 0x1400058f0
mov rax, qword [0x14005ea58]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4088]
mov rcx, qword [rcx]
call fcn.14000bd30
mov ecx, dword [rbx + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x14005e0b8]
xorps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mov rdi, rax
cvtsi2ss xmm0, rcx
mov ecx, dword [rbx + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [0x14005531c]
comiss xmm0, xmm2
movss dword [rsp + 0x64], xmm1
ja 0x1400058f0
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x1400553e4]
lea rdx, [rsp + 0x60]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rax
call fcn.1400295f0
mov r8d, dword [rdi + 0x78]
mov r9d, 0xffffffff
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
call fcn.140027be0
mov dword [rdi + 0x78], esi
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000590f
cmp byte [rbx + 0x158], sil
sete al
mov byte [rbx + 0x158], al
cmp byte [rbx + 0x158], sil
je 0x140005928
mov rcx, rbx
call fcn.140046b70
mov r8d, 0xa0
jmp 0x14000592e
mov r8d, 0x800a0
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rbx + 0x158]
mov rcx, qword [0x14005ea58]
mov byte [rcx + 0x70], al
movzx eax, byte [rbx + 0x158]
mov byte [rcx + 0xd1], al
call fcn.14000fda0
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x40]
test eax, eax
js 0x140005a0c
call fcn.140010120
mov rax, qword [0x14005ea58]
mov rcx, qword [rax + 0x4088]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.1400305d0
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140005ae1
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140005ae1
mov rdi, qword [0x14005ea58]
test rdi, rdi
je 0x140005aab
mov rdi, qword [rdi + 0x98]
test rdi, rdi
je 0x140005aab
cmp qword [rdi], rsi
je 0x140005aab
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140005a76
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rsi
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140005a89
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rsi
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140005aab
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x14005ea58]
mov qword [rdi + 0x18], rsi
mov rcx, qword [rax + 0x50]
mov qword [rcx + 8], rsi
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x14005ea58]
test rax, rax
je 0x140005ae1
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140005ae1
cmp qword [rax], rsi
je 0x140005ae1
call fcn.140030b90
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret