Function at 0x1400056f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x80
mov rax, qword [0x1401d4788]
xor ebp, ebp
movaps xmmword [rsp + 0x40], xmm9
mov rbx, rcx
test rax, rax
je 0x14000571d
mov rcx, qword [rax + 0xa0]
jmp 0x140005720
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x140005741
test rax, rax
je 0x140005741
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140005741
cmp qword [rcx], rbp
je 0x140005741
call fcn.1400321e0
call fcn.140032be0
call fcn.14000e080
cmp qword [0x1401d4888], rbp
je 0x1400057b7
cmp byte [0x14005e05d], bpl
je 0x1400057b7
cmp dword [0x14005e054], ebp
jne 0x140005791
lea rcx, [0x14005e048]
call fcn.1400011c0
test rax, rax
je 0x140005791
lea rcx, [0x14005e048]
call fcn.1400011c0
mov rdx, rax
lea rcx, [0x14005e048]
call fcn.1400017e0
cmp dword [0x14005e054], 1
jne 0x1400057b7
lea rcx, [0x14005e048]
call fcn.1400011c0
test rax, rax
je 0x1400057b7
lea rcx, [0x14005e048]
call fcn.140001ee0
call fcn.1400023d0
cmp qword [0x1401d4888], rbp
je 0x1400057e2
mov rcx, rax
call fcn.140002860
cmp qword [0x1401d4888], rbp
je 0x1400057e2
lea rcx, [0x14005e070]
call fcn.140004ce0
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401d4868], eax
jle 0x140005825
lea rcx, [0x1401d4868]
call fcn.14004c130
cmp dword [0x1401d4868], 0xffffffff
jne 0x140005825
lea rcx, [0x1401d4868]
mov dword [0x1401d4860], ebp
call fcn.14004c0c4
lea rcx, [0x1401d4860]
mov qword [rsp + 0xa0], rdi
call fcn.140005410
cmp byte [0x14005e060], bpl
movss xmm9, dword [0x140054e74]
je 0x1400059ab
mov qword [rsp + 0x98], rsi
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
call fcn.1400023d0
movss xmm6, dword [rax + 0xc]
call fcn.1400023d0
movss xmm7, dword [rax + 8]
call fcn.1400023d0
movss xmm8, dword [rax + 4]
call fcn.1400023d0
movss xmm1, dword [0x140054fa0]
lea r8, str.Foreground
mov rdx, rax
mulss xmm6, xmm1
mulss xmm7, xmm1
movss xmm0, dword [rdx]
mov edx, 1
cvttss2si esi, xmm6
cvttss2si ecx, xmm7
shl esi, 8
mulss xmm8, xmm1
or esi, ecx
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm8
or esi, eax
cvttss2si eax, xmm0
shl esi, 8
or esi, eax
mov rax, qword [0x1401d4788]
mov rcx, qword [rax + 0x4090]
mov rcx, qword [rcx]
call fcn.14000c870
mov ecx, dword [rbx + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x14005e048]
xorps xmm1, xmm1
movaps xmm8, xmmword [rsp + 0x50]
mov rdi, rax
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cvtsi2ss xmm0, rcx
mov ecx, dword [rbx + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rsp + 0x90], xmm0
cvtdq2ps xmm2, xmm2
movss dword [rsp + 0x94], xmm1
test esi, 0xff000000
je 0x1400059a3
movss xmm0, dword [0x140054e38]
comiss xmm0, xmm2
ja 0x1400059a3
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x140054efc]
lea rdx, [rsp + 0x90]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rax
call fcn.14002a690
mov r8d, dword [rdi + 0x78]
mov r9d, esi
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
movss dword [rsp + 0x28], xmm9
mov dword [rsp + 0x20], 1
call fcn.140028cb0
mov dword [rdi + 0x78], ebp
mov rsi, qword [rsp + 0x98]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400059ca
cmp byte [rbx + 0x158], bpl
sete al
mov byte [rbx + 0x158], al
cmp byte [rbx + 0x158], bpl
je 0x1400059e3
mov rcx, rbx
call fcn.140048a70
mov r8d, 0xa0
jmp 0x1400059e9
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 [0x1401d4788]
mov byte [rcx + 0x78], al
movzx eax, byte [rbx + 0x158]
mov byte [rcx + 0xd9], al
call fcn.1400108f0
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], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm9
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm9, xmmword [rsp + 0x40]
test eax, eax
js 0x140005ac9
call fcn.140010c40
mov rax, qword [0x1401d4788]
mov rcx, qword [rax + 0x4090]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bpl
cmove rcx, rbp
call fcn.140031c30
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], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140005b9e
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140005b9e
mov rdi, qword [0x1401d4788]
test rdi, rdi
je 0x140005b68
mov rdi, qword [rdi + 0xa0]
test rdi, rdi
je 0x140005b68
cmp qword [rdi], rbp
je 0x140005b68
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140005b33
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rbp
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140005b46
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rbp
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140005b68
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1401d4788]
mov qword [rdi + 0x18], rbp
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rbp
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1401d4788]
test rax, rax
je 0x140005b9e
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140005b9e
cmp qword [rax], rbp
je 0x140005b9e
call fcn.1400321e0
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret