Function at 0x14006c690
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0xc0
mov eax, dword [0x14023d9ac]
xor ebp, ebp
test eax, eax
jne 0x14006c6b1
mov dword [0x14023d96c], ebp
jmp 0x14006c704
cmp eax, 1
jne 0x14006c6c2
mov dword [0x14023d96c], 7
jmp 0x14006c704
cmp eax, 2
jne 0x14006c6d3
mov dword [0x14023d96c], 6
jmp 0x14006c704
cmp eax, 3
jne 0x14006c6e4
mov dword [0x14023d96c], 5
jmp 0x14006c704
cmp eax, 4
jne 0x14006c6f5
mov dword [0x14023d96c], 3
jmp 0x14006c704
cmp eax, 5
jne 0x14006c704
mov dword [0x14023d96c], 4
call fcn.14006c160
mov rbx, rax
test rax, rax
je 0x14006ca9b
mov r8d, dword [0x14023d96c]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0xd8], rsi
mov rdx, rax
mov qword [rsp + 0xe0], rdi
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0x90], xmm8
movaps xmmword [rsp + 0x80], xmm9
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x50], xmm13
call fcn.140069cb0
mov ecx, dword [rsp + 0x38]
lea rdx, [rsp + 0x40]
movsd xmm0, qword [rsp + 0x30]
mov dword [rsp + 0x48], ecx
lea rcx, [rsp + 0xd0]
movsd qword [rsp + 0x40], xmm0
call fcn.140069ad0
cmp byte [0x14023d9d4], bpl
movss xmm0, dword [0x140233094]
cvtps2pd xmm0, xmm0
je 0x14006c7b1
addsd xmm0, qword [0x1401ef620]
jmp 0x14006c7b9
addsd xmm0, qword [0x1401ef650]
xor ecx, ecx
cvtpd2ps xmm11, xmm0
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm10, dword [rsp + 0xd4]
cdq
movsd xmm13, qword [0x1401ef670]
sub eax, edx
sar eax, 1
cvtps2pd xmm0, xmm10
mov esi, eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
movaps xmm1, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm9, dword [rsp + 0xd0]
movaps xmm6, xmm0
movd xmm1, edi
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm9
subsd xmm0, xmm1
movaps xmm1, xmm13
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 0x14006c84d
xorps xmm6, xmm6
sqrtss xmm6, xmm0
jmp 0x14006c855
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movss xmm4, dword [0x1401efb20]
xorps xmm2, xmm2
ucomiss xmm9, xmm2
xorps xmm8, xmm8
xorps xmm7, xmm7
jp 0x14006c86f
je 0x14006c8cb
movd xmm3, edi
cvtdq2ps xmm3, xmm3
comiss xmm9, xmm3
jbe 0x14006c8a9
movaps xmm8, xmm3
lea eax, [rdi + rdi]
subss xmm8, xmm9
movd xmm0, eax
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
xorps xmm8, xmm4
divss xmm8, xmm11
addss xmm1, xmm8
comiss xmm1, xmm0
jbe 0x14006c8a9
xorps xmm8, xmm8
comiss xmm3, xmm9
jbe 0x14006c8cb
movaps xmm8, xmm9
subss xmm8, xmm3
divss xmm8, xmm11
addss xmm3, xmm8
comiss xmm2, xmm3
jbe 0x14006c8cb
xorps xmm8, xmm8
ucomiss xmm10, xmm2
mov rdi, qword [rsp + 0xe0]
jp 0x14006c8db
je 0x14006c930
movd xmm3, esi
cvtdq2ps xmm3, xmm3
comiss xmm10, xmm3
jbe 0x14006c911
movaps xmm7, xmm3
lea eax, [rsi + rsi]
subss xmm7, xmm10
movd xmm0, eax
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
xorps xmm7, xmm4
divss xmm7, xmm11
addss xmm1, xmm7
comiss xmm1, xmm0
jbe 0x14006c911
xorps xmm7, xmm7
comiss xmm3, xmm10
jbe 0x14006c930
movaps xmm7, xmm10
subss xmm7, xmm3
divss xmm7, xmm11
addss xmm3, xmm7
comiss xmm2, xmm3
jbe 0x14006c930
xorps xmm7, xmm7
mov rcx, qword [0x14023d9d8]
lea rdx, [rbx + 0x90]
mov r9d, listen
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x14023d120]
lea r8, [rsp + 0x30]
mov rcx, qword [0x14023d9d8]
add rdx, 0x90
movss xmm9, dword [rsp + 0x40]
mov r9d, listen
movss xmm10, dword [rsp + 0x44]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm0, dword [0x14023308c]
xorps xmm1, xmm1
movaps xmm11, xmmword [rsp + 0x60]
mov rsi, qword [rsp + 0xd8]
cvtps2pd xmm0, xmm0
cvtss2sd xmm1, xmm6
addsd xmm0, qword [0x1401ef620]
comisd xmm0, xmm1
jb 0x14006ca6d
movss xmm0, dword [rsp + 0x34]
movaps xmm1, xmm13
movss xmm2, dword [rsp + 0x30]
subss xmm0, xmm10
subss xmm2, xmm9
cvtps2pd xmm6, xmm0
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm9, xmm0
movaps xmm1, xmm13
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm9, xmm0
movaps xmm1, xmm13
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm9, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm9
ja 0x14006ca1e
xorps xmm0, xmm0
sqrtsd xmm0, xmm9
jmp 0x14006ca27
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [0x140233088]
mulsd xmm0, qword [0x1401ef638]
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jb 0x14006ca6d
mov ecx, dword [0x14023d0e8]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14006ca6d
xor r9d, r9d
mov qword [rsp + 0x20], rbp
cvttss2si r8, xmm7
lea ecx, [r9 + 1]
cvttss2si rdx, xmm8
call qword [sym.imp.USER32.dll_mouse_event]
movaps xmm10, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm13, xmmword [rsp + 0x50]
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rbp
ret