Function at 0x1400066a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x28]
sub rsp, 0x120
mov rax, qword [0x14008c040]
xor rax, rsp
mov qword [rbp - 0x80], rax
cmp byte [0x14008c161], 0
je 0x140006ccf
movaps xmm0, xmmword [0x140082460]
lea rcx, [rsp + 0x60]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
movaps xmmword [r11 - 0x48], xmm9
movaps xmmword [r11 - 0x98], xmm14
movups xmmword [rsp + 0x60], xmm0
call fcn.14000a490
mov rcx, qword [0x140107150]
lea r8, str.Foreground
movss xmm7, dword [0x140082180]
mov edx, 1
movd xmm6, dword [0x14008c164]
mov edi, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rcx + 0x10]
mulss xmm0, xmm7
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rcx + 0x14]
mov rcx, qword [rcx + 0x3ff0]
mulss xmm0, xmm7
mov rcx, qword [rcx + 0x30]
movss dword [rsp + 0x34], xmm0
call fcn.14000de50
xor esi, esi
mov rbx, rax
test edi, 0xff000000
je 0x1400067c0
xorps xmm0, xmm0
comiss xmm0, xmm6
jae 0x1400067c0
subss xmm6, xmm7
mov dword [rsp + 0x20], 0x30
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov rcx, rax
movaps xmm2, xmm6
call fcn.140038780
mov r8d, dword [rbx + 0x78]
mov r9d, edi
mov rdx, qword [rbx + 0x80]
dec r8d
movss dword [rsp + 0x28], xmm7
mov rcx, rbx
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.1400372a0
mov dword [rbx + 0x78], esi
call fcn.140005d90
mov r8d, 2
lea rcx, [rsp + 0x30]
mov rdx, rax
mov rbx, rax
call fcn.140006540
mov r8d, 1
lea rcx, [rsp + 0x38]
mov rdx, rbx
call fcn.140006540
mov r8d, 5
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140006540
mov r8d, 6
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.140006540
mov r8d, 7
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.140006540
mov r8d, 8
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.140006540
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 5
mov ecx, 1
cdq
sub eax, edx
sar eax, 1
movd xmm8, eax
cvtdq2pd xmm8, xmm8
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm0, dword [rsp + 0x34]
sub eax, 5
movsd xmm7, qword [0x140082210]
cdq
sub eax, edx
movaps xmm1, xmm7
sar eax, 1
cvtps2pd xmm0, xmm0
movd xmm9, eax
cvtdq2pd xmm9, xmm9
subsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm7
movss xmm0, dword [rsp + 0x30]
cvtps2pd xmm0, xmm0
subsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
mov rdi, qword [rsp + 0x140]
addsd xmm6, xmm0
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x1400068ce
xorps xmm14, xmm14
sqrtss xmm14, xmm0
jmp 0x1400068d7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm14, xmm0
movss xmm0, dword [rsp + 0x3c]
movaps xmm1, xmm7
cvtps2pd xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm13
subsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm7
movss xmm0, dword [rsp + 0x38]
cvtps2pd xmm0, xmm0
subsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x14000692d
xorps xmm13, xmm13
sqrtss xmm13, xmm0
jmp 0x140006936
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm13, xmm0
movss xmm0, dword [rsp + 0x44]
movaps xmm1, xmm7
cvtps2pd xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm12
subsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm7
movss xmm0, dword [rsp + 0x40]
cvtps2pd xmm0, xmm0
subsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x14000698c
xorps xmm12, xmm12
sqrtss xmm12, xmm0
jmp 0x140006995
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm12, xmm0
movss xmm0, dword [rsp + 0x4c]
movaps xmm1, xmm7
cvtps2pd xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm11
subsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm7
movss xmm0, dword [rsp + 0x48]
cvtps2pd xmm0, xmm0
subsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x1400069eb
xorps xmm11, xmm11
sqrtss xmm11, xmm0
jmp 0x1400069f4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm11, xmm0
movss xmm0, dword [rsp + 0x54]
movaps xmm1, xmm7
cvtps2pd xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm10
subsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm7
movss xmm0, dword [rsp + 0x50]
cvtps2pd xmm0, xmm0
subsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x140006a4a
xorps xmm10, xmm10
sqrtss xmm10, xmm0
jmp 0x140006a53
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm10, xmm0
movss xmm0, dword [rsp + 0x5c]
movaps xmm1, xmm7
cvtps2pd xmm0, xmm0
subsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm7
movss xmm0, dword [rsp + 0x58]
cvtps2pd xmm0, xmm0
subsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x140006aa0
xorps xmm9, xmm9
sqrtss xmm9, xmm0
jmp 0x140006aa9
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm9, xmm0
mov rcx, qword [0x1401075f0]
lea rdx, [rbx + 0x90]
mov r9d, 0xc
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x140107598]
lea r8, [rsp + 0x70]
mov rcx, qword [0x1401075f0]
add rdx, 0x90
mov r9d, 0xc
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm0, dword [rsp + 0x74]
movaps xmm1, xmm7
movss xmm2, dword [rsp + 0x70]
subss xmm0, dword [rsp + 0x64]
subss xmm2, dword [rsp + 0x60]
cvtps2pd xmm6, xmm0
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
movaps xmm1, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
movaps xmm1, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmmword [rsp + 0x100]
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x140006b5e
xorps xmm6, xmm6
sqrtsd xmm6, xmm8
jmp 0x140006b6a
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm6, xmm0
cmp byte [0x14010694c], sil
mulsd xmm6, qword [0x140082200]
movaps xmm8, xmmword [rsp + 0xf0]
je 0x140006ba8
xor edx, edx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x140106950], rsi
mov byte [0x14010694c], sil
movd xmm1, dword [0x14008c164]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm14
movaps xmm14, xmmword [rsp + 0x90]
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [0x1400821e0]
comisd xmm1, xmm0
jae 0x140006c19
xorps xmm0, xmm0
cvtss2sd xmm0, xmm13
comisd xmm1, xmm0
jae 0x140006c19
xorps xmm0, xmm0
cvtss2sd xmm0, xmm12
comisd xmm1, xmm0
jae 0x140006c19
xorps xmm0, xmm0
cvtss2sd xmm0, xmm11
comisd xmm1, xmm0
jae 0x140006c19
xorps xmm0, xmm0
cvtss2sd xmm0, xmm10
comisd xmm1, xmm0
jae 0x140006c19
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
comisd xmm1, xmm0
jb 0x140006c8a
movd xmm0, dword [0x14008c168]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm6
jb 0x140006c74
mov ecx, dword [0x14008c0c8]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140006c8a
xor edx, edx
mov byte [0x14010694c], 1
xor r9d, r9d
mov qword [0x140106950], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 0x14
mov byte [0x14010694c], 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006c8a
xor edx, edx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0xc0]
movaps xmm12, xmmword [rsp + 0xb0]
movaps xmm13, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x110]
mov rsi, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x130]
movaps xmm9, xmmword [rsp + 0xe0]
mov rcx, qword [rbp - 0x80]
xor rcx, rsp
call fcn.14005fdc0
add rsp, 0x120
pop rbp
ret