Function at 0x140001400
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
sub rsp, 0x100
mov rax, qword [0x1400884f8]
xorps xmm0, xmm0
xorps xmm1, xmm1
movaps xmmword [rsp + 0xc0], xmm9
xorps xmm9, xmm9
mov qword [rsp + 0x28], 0
movaps xmmword [rsp + 0x30], xmm0
mov ecx, dword [rax + 0x20]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
cmp ecx, 1
jne 0x140001456
cmp byte [rax + 0x43], 0
jne 0x14000145c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rbp
mov qword [rsp + 0x128], rdi
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xd0], xmm8
movaps xmmword [rsp + 0xb0], xmm10
movaps xmmword [rsp + 0xa0], xmm11
movaps xmmword [rsp + 0x90], xmm12
movaps xmmword [rsp + 0x80], xmm13
movaps xmmword [rsp + 0x70], xmm14
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rsi, rax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rsi
cmp rax, 0x170a70
jge 0x1400016f1
movss xmm11, dword [0x140079ba0]
xor ebp, ebp
movss xmm14, dword [0x1400792ec]
movss xmm12, dword [0x140079238]
movss xmm13, dword [0x140079268]
nop dword [rax + rax]
call fcn.14005bd40
mov rdx, qword [0x1400884e0]
lea rcx, [rsp + 0x20]
mov rdx, qword [rdx + 0xc8]
call fcn.14005b800
test al, al
je 0x1400016f1
movss xmm6, dword [rsp + 0x58]
ucomiss xmm6, xmm9
movss xmm10, dword [rsp + 0x5c]
jp 0x140001546
jne 0x140001546
ucomiss xmm10, xmm9
jp 0x140001546
je 0x1400016f1
mov rdi, qword [0x1400884e0]
mov rbx, qword [0x1400884f8]
movd xmm0, dword [rdi + 0xb8]
movd xmm7, dword [rbx + 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm7, xmm7
subss xmm6, xmm0
movd xmm0, dword [rdi + 0xbc]
cvtdq2ps xmm0, xmm0
subss xmm10, xmm0
movaps xmm0, xmm6
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
comiss xmm0, xmm7
ja 0x1400016f1
movaps xmm1, xmm10
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
comiss xmm14, xmm0
jae 0x140001760
movaps xmm8, xmm12
subss xmm8, dword [rbx + 0x30]
mulss xmm8, xmm6
movaps xmm6, xmm12
subss xmm6, dword [rbx + 0x34]
movaps xmm0, xmm8
andps xmm0, xmm11
comiss xmm13, xmm0
mulss xmm6, xmm10
jbe 0x1400015de
movaps xmm0, xmm6
andps xmm0, xmm11
comiss xmm13, xmm0
ja 0x140001629
cmp byte [rbx + 0x38], bpl
je 0x140001629
movaps xmm1, xmm6
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
comiss xmm0, xmm7
jbe 0x140001629
movaps xmm1, xmm6
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movd xmm7, dword [rbx + 0x3c]
movaps xmm6, xmm0
cvtdq2ps xmm7, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm8, xmm0
movaps xmm0, xmm6
mulss xmm8, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm6, xmm0
mulss xmm6, xmm7
comiss xmm8, xmm9
jbe 0x14000163a
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
jmp 0x140001649
comiss xmm9, xmm8
jbe 0x14000164d
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
movaps xmm8, xmm0
comiss xmm6, xmm9
jbe 0x14000165d
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
jmp 0x14000166b
comiss xmm9, xmm6
jbe 0x14000166e
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
movaps xmm6, xmm0
movaps xmm0, xmm8
andps xmm0, xmm11
comiss xmm12, xmm0
jb 0x140001689
movaps xmm0, xmm6
andps xmm0, xmm11
comiss xmm12, xmm0
jae 0x1400016f1
mov rdi, qword [0x1400884f0]
movaps xmm0, xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
cvttss2si eax, xmm0
movaps xmm0, xmm6
mov dword [rdi + 0x14], eax
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
mov dword [rdi + 0xc], ebp
lea r8, [rdi + 0xc]
cvttss2si eax, xmm0
mov dword [rdi + 0x18], eax
mov edx, dword [rdi + 8]
mov rcx, qword [rdi]
call fcn.14005d840
lea rcx, [rsp + 0x110]
mov qword [rsp + 0x110], 2
call fcn.140001d40
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
sub rax, rsi
cmp rax, 0x170a70
jl 0x140001500
xor al, al
movaps xmm14, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm12, xmmword [rsp + 0x90]
movaps xmm11, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
mov rdi, qword [rsp + 0x128]
mov rbp, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x118]
movaps xmm9, xmmword [rsp + 0xc0]
add rsp, 0x100
pop rsi
ret
mov rax, qword [0x1400884e8]
movss xmm7, dword [0x140079318]
movaps xmm11, xmm7
movss xmm8, dword [rax + 0x128]
cvtps2pd xmm0, xmm8
divss xmm11, xmm8
mulsd xmm0, qword [0x140079270]
mulss xmm11, xmm6
divsd xmm0, qword [0x140079298]
mulsd xmm0, qword [0x140079258]
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm1, dword [rdi + 0xb4]
cvtsi2ss xmm2, dword [rdi + 0xb0]
mulss xmm0, xmm1
divss xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
comiss xmm11, xmm9
addss xmm0, xmm0
xorps xmm1, xmm1
mulss xmm0, xmm7
cvtss2sd xmm0, xmm0
divsd xmm0, qword [0x140079270]
cvtsd2ss xmm1, xmm0
divss xmm8, xmm1
mulss xmm8, xmm10
jbe 0x140001804
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
jmp 0x140001813
comiss xmm9, xmm11
jbe 0x140001817
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
movaps xmm11, xmm0
comiss xmm8, xmm9
jbe 0x140001828
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
jmp 0x140001837
comiss xmm9, xmm8
jbe 0x14000183b
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
movaps xmm8, xmm0
mov rdi, qword [0x1400884f0]
movaps xmm0, xmm11
addss xmm0, xmm11
movaps xmm1, xmm8
addss xmm1, xmm8
movss dword [0x140088558], xmm0
movaps xmm0, xmm11
movss dword [0x14008855c], xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
cvttss2si eax, xmm0
movaps xmm0, xmm8
mov dword [rdi + 0x14], eax
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
mov dword [rdi + 0xc], ebp
lea r8, [rdi + 0xc]
cvttss2si eax, xmm0
mov dword [rdi + 0x18], eax
mov edx, dword [rdi + 8]
mov rcx, qword [rdi]
call fcn.14005d840
mov al, 1
jmp 0x1400016f3