Function at 0x1800195b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov rax, qword [0x1802bfb00]
mov rdi, qword [0x1802bfaf8]
add rax, 0x40cbe0
call rax
test rax, rax
je 0x180019b87
test rdi, rdi
je 0x180019b87
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.1800146a0
test rax, rax
je 0x180019b87
mov rcx, rdi
call fcn.1800129c0
test al, al
jne 0x180019b87
cmp byte [0x1802bfbee], al
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rbp
mov qword [rsp + 0x128], rsi
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xd0], xmm8
movaps xmmword [rsp + 0xc0], xmm9
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
movaps xmmword [rsp + 0x60], xmm15
je 0x1800196eb
mov ecx, dword [0x1802bfc20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800196eb
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov ebx, 0x2f
lea rdx, [rsp + 0x40]
mov r8d, ebx
mov rcx, rax
call fcn.180014180
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
addss xmm1, dword [0x180272398]
movss dword [rsp + 0x20], xmm0
movss xmm0, dword [rax + 8]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x18001970f
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov ebx, 0x2f
lea rdx, [rsp + 0x4c]
mov r8d, ebx
mov rcx, rax
call fcn.180014180
cmp byte [0x1802bfb5e], 0
movsd xmm0, qword [rax]
mov esi, dword [rax + 8]
movsd qword [rsp + 0x30], xmm0
je 0x180019731
lea rdx, [rsp + 0x4c]
mov ebx, 0x12
jmp 0x180019736
lea rdx, [rsp + 0x40]
mov r8d, ebx
mov rcx, rdi
call fcn.180014180
movsd xmm0, qword [rax]
mov ebx, dword [rax + 8]
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
movsd qword [rsp + 0x20], xmm0
call rax
mov rcx, rax
call fcn.1800146a0
mov rcx, rax
call fcn.180013b50
mov ecx, eax
call fcn.180019070
movaps xmm15, xmm0
call fcn.1800190c0
add rdi, 0x4a8
movaps xmm14, xmm0
xorps xmm11, xmm11
movabs rbp, 0x7fffffff0000
cmp rdi, 0x40000
jbe 0x1800197d1
lea rax, [rdi + 8]
cmp rax, rbp
jae 0x1800197d1
mov rcx, qword [rdi]
add rcx, 0x1fc
cmp rcx, 0x40000
jbe 0x1800197d1
lea rax, [rcx + 0xc]
cmp rax, rbp
jae 0x1800197d1
movsd xmm12, qword [rcx]
movss xmm13, dword [rcx + 8]
jmp 0x1800197d9
xorps xmm13, xmm13
xorps xmm12, xmm12
movss xmm4, dword [rsp + 0x20]
mov eax, 0x5f3759df
movss xmm10, dword [rsp + 0x30]
movaps xmm2, xmm4
movss xmm5, dword [0x18027231c]
subss xmm2, xmm10
mulss xmm12, dword [0x180272280]
movss xmm7, dword [rsp + 0x24]
movss xmm8, dword [rsp + 0x34]
movaps xmm6, xmm7
mulss xmm13, dword [0x180272280]
subss xmm6, xmm8
mulss xmm2, xmm2
movd xmm3, ebx
movaps xmm1, xmm3
movd xmm9, esi
subss xmm1, xmm9
movaps xmm0, xmm6
mulss xmm0, xmm6
addss xmm0, xmm2
mulss xmm1, xmm1
xorps xmm2, xmm2
addss xmm0, xmm1
sqrtss xmm2, xmm0
movaps xmm0, xmm5
divss xmm0, xmm14
mulss xmm2, xmm0
mulss xmm12, xmm2
mulss xmm13, xmm2
addss xmm12, xmm4
addss xmm13, xmm3
movss xmm3, dword [0x1802724b0]
movaps xmm2, xmm3
movaps xmm0, xmm12
subss xmm0, xmm10
movaps xmm1, xmm13
subss xmm10, xmm12
subss xmm1, xmm9
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movd ecx, xmm1
movaps xmm4, xmm1
mulss xmm4, dword [0x1802721ec]
sar ecx, 1
sub eax, ecx
movd xmm1, eax
movaps xmm0, xmm1
mulss xmm0, xmm4
mulss xmm0, xmm1
subss xmm2, xmm0
mulss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm0, xmm4
mulss xmm0, xmm2
subss xmm3, xmm0
cvtps2pd xmm0, xmm6
mulss xmm3, xmm2
movaps xmm2, xmm14
divss xmm5, xmm3
movaps xmm3, xmm15
cvtps2pd xmm1, xmm5
call fcn.1800188d0
xorps xmm1, xmm1
subss xmm9, xmm13
cvtsd2ss xmm1, xmm0
movaps xmm2, xmm9
addss xmm1, xmm7
mulss xmm2, xmm9
subss xmm8, xmm1
movaps xmm1, xmm10
mulss xmm1, xmm10
movaps xmm3, xmm8
mulss xmm3, xmm8
addss xmm3, xmm1
addss xmm3, xmm2
xorps xmm2, xmm2
sqrtss xmm2, xmm3
divss xmm8, xmm2
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_asinf
xorps xmm9, xmmword [0x180272e20]
movaps xmm12, xmm0
mulss xmm12, dword [0x1802726c4]
movaps xmm1, xmm9
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mov rax, qword [0x1802bfb00]
movaps xmm7, xmm0
mulss xmm7, dword [0x18027288c]
add rax, 0x40cbe0
call rax
movaps xmm15, xmmword [rsp + 0x60]
add rax, 0x4c8
movaps xmm14, xmmword [rsp + 0x70]
mov rsi, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x118]
cmp rax, 0x40000
jbe 0x1800199d3
lea rcx, [rax + 8]
cmp rcx, rbp
jae 0x1800199d3
mov rcx, qword [rax]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x1800199d3
lea rax, [rcx + 8]
cmp rax, rbp
jae 0x1800199d3
movss xmm0, dword [rcx]
movss xmm1, dword [rcx + 4]
jmp 0x1800199d9
xorps xmm1, xmm1
xorps xmm0, xmm0
movss xmm9, dword [0x180272890]
subss xmm12, xmm0
movss xmm13, dword [0x1802726e8]
subss xmm7, xmm1
comiss xmm12, xmm9
jae 0x180019a00
movaps xmm12, xmm9
jmp 0x180019a05
minss xmm12, xmm13
movss xmm10, dword [0x1802728a8]
comiss xmm7, xmm10
movss xmm8, dword [0x180272788]
jae 0x180019a24
addss xmm7, xmm8
jmp 0x180019a2f
comiss xmm7, xmm8
jbe 0x180019a2f
subss xmm7, xmm8
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
add rax, 0x4c8
cmp rax, 0x40000
jbe 0x180019a7a
lea rcx, [rax + 8]
cmp rcx, rbp
jae 0x180019a7a
mov rcx, qword [rax]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x180019a7a
lea rax, [rcx + 8]
cmp rax, rbp
jae 0x180019a7a
movss xmm11, dword [rcx]
movss xmm6, dword [rcx + 4]
jmp 0x180019a7d
xorps xmm6, xmm6
cmp byte [0x1802bfb50], 0
addss xmm11, xmm12
movaps xmm12, xmmword [rsp + 0x90]
addss xmm6, xmm7
movaps xmm7, xmmword [rsp + 0xe0]
movss dword [rsp + 0x110], xmm11
movss dword [rsp + 0x114], xmm6
je 0x180019ad3
lea rcx, [rsp + 0x110]
call fcn.180019310
movss xmm6, dword [rsp + 0x114]
movss xmm11, dword [rsp + 0x110]
comiss xmm11, xmm9
jae 0x180019adf
movaps xmm11, xmm9
jmp 0x180019ae9
comiss xmm11, xmm13
jbe 0x180019ae9
movaps xmm11, xmm13
comiss xmm6, xmm10
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0xc0]
jae 0x180019b08
addss xmm6, xmm8
jmp 0x180019b13
comiss xmm6, xmm8
jbe 0x180019b13
addss xmm6, xmm10
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
movaps xmm10, xmmword [rsp + 0xb0]
add rax, 0x4c8
movaps xmm8, xmmword [rsp + 0xd0]
cmp rax, 0x40000
jbe 0x180019b6e
lea rcx, [rax + 8]
cmp rcx, rbp
jae 0x180019b6e
mov rcx, qword [rax]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x180019b6e
lea rax, [rcx + 8]
cmp rax, rbp
jae 0x180019b6e
movss dword [rcx], xmm11
movss dword [rcx + 4], xmm6
movaps xmm6, xmmword [rsp + 0xf0]
mov rbp, qword [rsp + 0x120]
movaps xmm11, xmmword [rsp + 0xa0]
add rsp, 0x100
pop rdi
ret