Function at 0x180001720
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xa0
mov eax, dword [rcx + 0x24]
mov rsi, rdx
movaps xmmword [rsp + 0x70], xmm8
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm9
mov r14d, 1
movaps xmmword [rsp + 0x50], xmm10
test eax, eax
jne 0x180001761
xor edi, edi
jmp 0x18000176f
mov edi, dword [rsp + 0xb0]
cmp eax, r14d
cmove edi, r14d
call fcn.18005b5f0
mov r9d, edi
lea rdx, [rsp + 0x30]
mov r8, rsi
call fcn.18005b680
call fcn.18005b5f0
movsd xmm0, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x38]
lea rdx, [rsp + 0xb0]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.18005b7c0
movss xmm10, dword [rsp + 0xb0]
xorps xmm8, xmm8
ucomiss xmm10, xmm8
movss xmm9, dword [rsp + 0xb4]
jp 0x1800017db
jne 0x1800017db
ucomiss xmm9, xmm8
jp 0x1800017db
je 0x180001a2d
movaps xmmword [rsp + 0x90], xmm6
xor ecx, ecx
movaps xmmword [rsp + 0x80], xmm7
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, r14d
sub eax, edx
sar eax, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cvtps2pd xmm0, xmm9
mov esi, eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
movsd xmm1, qword [0x1800c61b8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1800c61b8]
movaps xmm7, xmm0
movd xmm2, edi
cvtdq2pd xmm2, xmm2
cvtps2pd xmm0, xmm10
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
ucomiss xmm1, xmm0
ja 0x180001863
xorps xmm5, xmm5
sqrtss xmm5, xmm0
jmp 0x18000186b
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm5, xmm0
ucomiss xmm10, xmm8
movsd xmm4, qword [0x1800c6198]
xorps xmm7, xmm7
xorps xmm6, xmm6
jp 0x180001885
je 0x180001906
movd xmm3, edi
cvtdq2ps xmm3, xmm3
comiss xmm10, xmm3
jbe 0x1800018d5
xorps xmm1, xmm1
lea eax, [rdi + rdi]
movaps xmm0, xmm3
movaps xmm2, xmm3
subss xmm0, xmm10
xorps xmm0, xmmword [0x1800c6660]
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rbx + 4]
subsd xmm0, xmm4
divsd xmm1, xmm0
xorps xmm0, xmm0
cvtpd2ps xmm7, xmm1
cvtsi2ss xmm0, eax
addss xmm2, xmm7
comiss xmm2, xmm0
jbe 0x1800018d5
xorps xmm7, xmm7
comiss xmm3, xmm10
jbe 0x180001906
movd xmm0, dword [rbx + 4]
subss xmm10, xmm3
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm10
subsd xmm0, xmm4
divsd xmm1, xmm0
cvtpd2ps xmm7, xmm1
addss xmm3, xmm7
comiss xmm8, xmm3
jbe 0x180001906
xorps xmm7, xmm7
ucomiss xmm9, xmm8
jp 0x180001912
je 0x180001993
movd xmm3, esi
cvtdq2ps xmm3, xmm3
comiss xmm9, xmm3
jbe 0x180001962
xorps xmm1, xmm1
lea eax, [rsi + rsi]
movaps xmm0, xmm3
movaps xmm2, xmm3
subss xmm0, xmm9
xorps xmm0, xmmword [0x1800c6660]
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rbx + 8]
subsd xmm0, xmm4
divsd xmm1, xmm0
xorps xmm0, xmm0
cvtpd2ps xmm6, xmm1
cvtsi2ss xmm0, eax
addss xmm2, xmm6
comiss xmm2, xmm0
jbe 0x180001962
xorps xmm6, xmm6
comiss xmm3, xmm9
jbe 0x180001993
movd xmm0, dword [rbx + 8]
subss xmm9, xmm3
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm9
subsd xmm0, xmm4
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
addss xmm3, xmm6
comiss xmm8, xmm3
jbe 0x180001993
xorps xmm6, xmm6
movd xmm0, dword [rbx]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm5
jbe 0x180001a1d
mov ecx, dword [0x1801b99d8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801b9d30], ecx
jle 0x1800019ed
lea rcx, [0x1801b9d30]
call fcn.18005bc40
cmp dword [0x1801b9d30], 0xffffffff
jne 0x1800019ed
lea rcx, [0x1801b9d30]
mov dword [0x1801b9d28], 0
call fcn.18005bbd4
mov ecx, dword [0x1801b9d2c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180001a1d
cvttss2si r8, xmm6
xor r9d, r9d
mov ecx, r14d
mov qword [rsp + 0x20], 0
cvttss2si rdx, xmm7
call qword [sym.imp.USER32.dll_mouse_event]
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x80]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r14
ret