Function at 0x180065730
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rsi, rcx
xor r14d, r14d
mov dword [rbp - 0x59], r14d
mov qword [rbp - 0x31], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
lea r8d, [r14 + 0xa]
lea rdx, str.piv_enable
lea rcx, [rbp - 0x31]
call fcn.180010a00
nop
lea rcx, [rbp - 0x31]
call fcn.18008c2b0
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1800657d6
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800657d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800657d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011240c
test bl, bl
je 0x180065ce9
mov qword [rbp - 0x51], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov r8d, 7
lea rdx, [0x180204b20]
lea rcx, [rbp - 0x51]
call fcn.180010a00
nop
mov ebx, 1
mov dword [rbp - 0x59], ebx
lea rcx, [rbp - 0x51]
call fcn.18007bc30
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18006585b
mov qword [rbp - 0x31], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
lea r8d, [rbx + 6]
lea rdx, [0x180204b20]
lea rcx, [rbp - 0x31]
call fcn.180010a00
nop
mov ebx, 3
mov dword [rbp - 0x59], ebx
lea rcx, [rbp - 0x31]
call fcn.18007bc30
cmp dword [rax], 0
je 0x18006585b
mov dil, 1
jmp 0x18006585e
xor dil, dil
test bl, 2
je 0x1800658b5
and ebx, 0xfffffffd
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1800658a4
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006589f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006589f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011240c
movdqa xmm0, xmmword [0x180206430]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
test bl, 1
je 0x1800658fb
and ebx, 0xfffffffe
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x1800658fb
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800658f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800658f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011240c
test dil, dil
jne 0x180065ce9
test byte [rsi + 0x20], 1
jne 0x180065946
mov qword [rbp - 0x51], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov r8d, 0xf
lea rdx, str.pivbot_Samstrel
lea rcx, [rbp - 0x51]
call fcn.180010a00
nop
or ebx, 4
mov dword [rbp - 0x59], ebx
lea rcx, [rbp - 0x51]
call fcn.18008c2b0
cmp byte [rax], dil
jne 0x180065946
mov dil, 1
jmp 0x180065949
xor dil, dil
test bl, 4
je 0x18006598c
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x18006598c
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065987
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180065987
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011240c
test dil, dil
jne 0x180065ce9
mov dword [rbp - 0x21], 0x7f800000
mov dword [rbp - 0x25], 0x7f800000
mov dword [rbp - 0x29], 0x7f800000
mov dword [rbp - 0x15], 0x7f800000
mov dword [rbp - 0x19], 0x7f800000
mov dword [rbp - 0x1d], 0x7f800000
lea rcx, [rbp - 0x31]
call fcn.180065210
test al, al
je 0x180065ce9
mov rcx, qword [0x1803d82b8]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov qword [rbp - 0x51], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov r8d, 0xa
lea rdx, str.piv_smooth
lea rcx, [rbp - 0x51]
call fcn.180010a00
nop
lea rcx, [rbp - 0x51]
call fcn.18007bc30
mov ebx, dword [rax]
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x180065a49
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065a44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180065a44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011240c
test ebx, ebx
jle 0x180065bbd
mov qword [rbp - 0x51], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov r8d, 0xa
lea rdx, str.piv_smooth
lea rcx, [rbp - 0x51]
call fcn.180010a00
nop
lea rcx, [rbp - 0x51]
call fcn.18007bc30
movd xmm10, dword [rax]
cvtdq2ps xmm10, xmm10
movss xmm6, dword [rsi + 0xc]
movaps xmm1, xmm6
subss xmm1, dword [rbp - 0x19]
movss xmm7, dword [rsi + 8]
movaps xmm0, xmm7
subss xmm0, dword [rbp - 0x1d]
movss xmm3, dword [0x1802063c4]
movss xmm8, dword [0x1802062b4]
comiss xmm0, xmm8
jbe 0x180065aca
nop word [rax + rax]
addss xmm0, xmm3
comiss xmm0, xmm8
ja 0x180065ac0
movss xmm4, dword [0x1802063bc]
movss xmm2, dword [0x1802062d8]
comiss xmm4, xmm0
jbe 0x180065ae9
nop
addss xmm0, xmm2
comiss xmm4, xmm0
ja 0x180065ae0
movss xmm9, dword [0x180206318]
comiss xmm3, xmm1
jbe 0x180065b0a
nop word [rax + rax]
addss xmm1, xmm9
comiss xmm3, xmm1
ja 0x180065b00
movss xmm5, dword [0x1802063c8]
comiss xmm1, xmm2
jbe 0x180065b20
addss xmm1, xmm5
comiss xmm1, xmm2
ja 0x180065b17
divss xmm1, xmm10
subss xmm6, xmm1
divss xmm0, xmm10
subss xmm7, xmm0
comiss xmm7, xmm8
jbe 0x180065b4a
nop dword [rax + rax]
addss xmm7, xmm3
comiss xmm7, xmm8
ja 0x180065b40
comiss xmm4, xmm7
jbe 0x180065b59
nop
addss xmm7, xmm2
comiss xmm4, xmm7
ja 0x180065b50
comiss xmm3, xmm6
jbe 0x180065b6a
nop
addss xmm6, xmm9
comiss xmm3, xmm6
ja 0x180065b60
comiss xmm6, xmm2
jbe 0x180065b79
nop
addss xmm6, xmm5
comiss xmm6, xmm2
ja 0x180065b70
xorps xmm8, xmm8
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x180065bcd
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065bb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180065bb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011240c
jmp 0x180065bcd
movss xmm8, dword [rbp - 0x15]
movss xmm6, dword [rbp - 0x19]
movss xmm7, dword [rbp - 0x1d]
movss dword [rsi + 8], xmm7
movss dword [rsi + 0xc], xmm6
movss dword [rsi + 0x10], xmm8
mov qword [rbp - 0x31], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov r8d, 0xd
lea rdx, str.pivbot_silent
lea rcx, [rbp - 0x31]
call fcn.180010a00
nop
lea rcx, [rbp - 0x31]
call fcn.18008c2b0
movzx edi, byte [rax]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x180065c4a
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065c45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180065c45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011240c
movdqa xmm0, xmmword [0x180206430]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
test dil, dil
jne 0x180065c74
mov rcx, qword [0x1803d82b8]
mov rax, qword [rcx]
lea rdx, [rsi + 8]
call qword [rax + 0xa0]
mov qword [rbp - 0x51], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov r8d, 0xf
lea rdx, str.pivbot_Samstrel
lea rcx, [rbp - 0x51]
call fcn.180010a00
nop
lea rcx, [rbp - 0x51]
call fcn.18008c2b0
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x180065ce1
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065cdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180065cdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011240c
test bl, bl
je 0x180065ce9
or dword [rsi + 0x20], 1
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret