Function at 0x18001d0b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rdi, qword [0x180296ad8]
call fcn.180017060
test rax, rax
je 0x18001d59c
test rdi, rdi
je 0x18001d59c
call fcn.180017060
mov rcx, rax
call fcn.180016ed0
test rax, rax
je 0x18001d59c
mov rcx, rdi
call fcn.180013c60
test al, al
jne 0x18001d59c
mov ecx, dword [0x180296c24]
mov qword [rsp + 0x108], rbx
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm7
movaps xmmword [rsp + 0xc0], xmm8
movaps xmmword [rsp + 0xb0], xmm9
movaps xmmword [rsp + 0xa0], xmm10
movaps xmmword [rsp + 0x90], xmm11
movaps xmmword [rsp + 0x80], xmm12
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm14
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001d1b1
call fcn.180017060
mov ebx, 0x2f
lea rdx, [rbp - 0x59]
mov r8d, ebx
mov rcx, rax
call fcn.180016300
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
addss xmm1, dword [0x180123868]
movss dword [rbp - 0x79], xmm0
movss xmm0, dword [rax + 8]
lea rax, [rbp - 0x79]
movss dword [rbp - 0x71], xmm0
movss dword [rbp - 0x75], xmm1
jmp 0x18001d1ca
call fcn.180017060
mov ebx, 0x2f
lea rdx, [rbp - 0x4d]
mov r8d, ebx
mov rcx, rax
call fcn.180016300
cmp byte [0x180296b4c], 0
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbp - 0x69], xmm0
mov dword [rbp - 0x61], eax
je 0x18001d1ed
lea rdx, [rbp - 0x4d]
mov ebx, 0x12
jmp 0x18001d1f1
lea rdx, [rbp - 0x59]
mov r8d, ebx
mov rcx, rdi
call fcn.180016300
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbp - 0x79], xmm0
mov dword [rbp - 0x71], eax
call fcn.180017060
mov rcx, rax
call fcn.180016ed0
mov rcx, rax
call fcn.180015bf0
mov ecx, eax
call fcn.18001cba0
movaps xmm14, xmm0
call fcn.18001cc20
lea rcx, [rdi + 0x5e8]
movaps xmm13, xmm0
xorps xmm10, xmm10
movabs rbx, 0x7fffffff0000
cmp rcx, 0x40000
jbe 0x18001d28a
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x18001d28a
mov rcx, qword [rcx]
add rcx, 0x1dc
cmp rcx, 0x40000
jbe 0x18001d28a
lea rax, [rcx + 0xc]
cmp rax, rbx
jae 0x18001d28a
mov eax, dword [rcx + 8]
movsd xmm11, qword [rcx]
mov dword [rbp - 0x51], eax
movss xmm12, dword [rbp - 0x51]
jmp 0x18001d292
xorps xmm12, xmm12
xorps xmm11, xmm11
movss xmm3, dword [rbp - 0x71]
movss xmm4, dword [rbp - 0x79]
movaps xmm1, xmm3
movss xmm9, dword [rbp - 0x69]
movaps xmm2, xmm4
movss xmm8, dword [rbp - 0x61]
subss xmm2, xmm9
movss xmm6, dword [rbp - 0x75]
subss xmm1, xmm8
movss xmm7, dword [rbp - 0x65]
movaps xmm5, xmm6
mulss xmm11, dword [0x180123750]
subss xmm5, xmm7
mulss xmm2, xmm2
mulss xmm1, xmm1
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm0, xmm2
xorps xmm2, xmm2
addss xmm0, xmm1
sqrtss xmm2, xmm0
movss xmm0, dword [0x1801237e4]
divss xmm0, xmm13
mulss xmm2, xmm0
mulss xmm12, xmm2
mulss xmm11, xmm2
movaps xmm2, xmm13
mulss xmm12, dword [0x180123750]
addss xmm11, xmm4
addss xmm12, xmm3
movaps xmm3, xmm14
movaps xmm1, xmm11
subss xmm1, xmm9
movaps xmm0, xmm12
subss xmm9, xmm11
subss xmm0, xmm8
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
sqrtss xmm0, xmm0
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm5
call fcn.18001c460
xorps xmm1, xmm1
subss xmm8, xmm12
cvtsd2ss xmm1, xmm0
movaps xmm2, xmm8
addss xmm1, xmm6
mulss xmm2, xmm8
subss xmm7, xmm1
movaps xmm1, xmm9
mulss xmm1, xmm9
movaps xmm3, xmm7
mulss xmm3, xmm7
addss xmm3, xmm1
addss xmm3, xmm2
xorps xmm2, xmm2
sqrtss xmm2, xmm3
divss xmm7, xmm2
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_asinf
xorps xmm8, xmmword [0x1801245f0]
movaps xmm11, xmm0
mulss xmm11, dword [0x180123c58]
movaps xmm1, xmm8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm7, xmm0
mulss xmm7, dword [0x180123ef0]
call fcn.180017060
movaps xmm14, xmmword [rsp + 0x60]
add rax, 0x608
cmp rax, 0x40000
jbe 0x18001d413
lea rcx, [rax + 8]
cmp rcx, rbx
jae 0x18001d413
mov rcx, qword [rax]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x18001d413
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x18001d413
movss xmm0, dword [rcx]
movss xmm1, dword [rcx + 4]
jmp 0x18001d419
xorps xmm1, xmm1
xorps xmm0, xmm0
movss xmm9, dword [0x180123ef4]
subss xmm11, xmm0
movss xmm13, dword [0x180123c98]
subss xmm7, xmm1
comiss xmm11, xmm9
jae 0x18001d440
movaps xmm11, xmm9
jmp 0x18001d445
minss xmm11, xmm13
movss xmm12, dword [0x180123f14]
comiss xmm7, xmm12
movss xmm8, dword [0x180123d78]
jae 0x18001d464
addss xmm7, xmm8
jmp 0x18001d46f
comiss xmm7, xmm8
jbe 0x18001d46f
subss xmm7, xmm8
call fcn.180017060
add rax, 0x608
cmp rax, 0x40000
jbe 0x18001d4b0
lea rcx, [rax + 8]
cmp rcx, rbx
jae 0x18001d4b0
mov rcx, qword [rax]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x18001d4b0
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x18001d4b0
movss xmm10, dword [rcx]
movss xmm6, dword [rcx + 4]
jmp 0x18001d4b3
xorps xmm6, xmm6
cmp byte [0x180296b3e], 0
addss xmm10, xmm11
movaps xmm11, xmmword [rsp + 0x90]
addss xmm6, xmm7
movaps xmm7, xmmword [rsp + 0xd0]
movss dword [rbp + 0x67], xmm10
movss dword [rbp + 0x6b], xmm6
je 0x18001d4f5
lea rcx, [rbp + 0x67]
call fcn.18001ce50
movss xmm6, dword [rbp + 0x6b]
movss xmm10, dword [rbp + 0x67]
comiss xmm10, xmm9
jae 0x18001d501
movaps xmm10, xmm9
jmp 0x18001d50b
comiss xmm10, xmm13
jbe 0x18001d50b
movaps xmm10, xmm13
comiss xmm6, xmm12
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0xb0]
jae 0x18001d527
addss xmm6, xmm8
jmp 0x18001d532
comiss xmm6, xmm8
jbe 0x18001d532
addss xmm6, xmm12
call fcn.180017060
movaps xmm12, xmmword [rsp + 0x80]
add rax, 0x608
movaps xmm8, xmmword [rsp + 0xc0]
cmp rax, 0x40000
jbe 0x18001d583
lea rcx, [rax + 8]
cmp rcx, rbx
jae 0x18001d583
mov rcx, qword [rax]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x18001d583
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x18001d583
movss dword [rcx], xmm10
movss dword [rcx + 4], xmm6
movaps xmm6, xmmword [rsp + 0xe0]
mov rbx, qword [rsp + 0x108]
movaps xmm10, xmmword [rsp + 0xa0]
mov rdi, qword [rsp + 0x110]
add rsp, 0xf0
pop rbp
ret