Function at 0x1400513e0
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x480
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1400ae0c0]
xor rax, rsp
mov qword [rbp + 0x2d8], rax
xor r13d, r13d
movsd xmm14, qword [0x1400789a8]
movsd xmm13, qword [0x140078968]
movss xmm7, dword [0x140071a00]
movss dword [rsp + 0x60], xmm7
mov r15, r13
mov r12, qword [0x1400ae0a8]
mov rsi, qword [0x1400ae0a0]
cmp rsi, r12
je 0x140051fe7
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rsi + 0x10]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rsi + 0x30]
movaps xmmword [rbp], xmm0
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb8]
mov r14, qword [rsi + 0x20]
add rcx, r14
call fcn.14004f9e0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb0]
add rcx, rdx
add rcx, r14
call fcn.14004fc40
mov rcx, qword [0x1400ae650]
imul rdx, qword [rcx + 0xc0], 0x6e
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm10, xmm10
movups xmmword [rbp + 0x168], xmm10
movsd qword [rbp + 0x160], xmm10
xor eax, eax
mov dword [rbp + 0x178], eax
movups xmmword [rbp + 0x188], xmm10
movsd qword [rbp + 0x180], xmm10
mov dword [rbp + 0x198], eax
mov dword [rbp + 0x121], r13d
mov word [rbp + 0x125], r13w
mov byte [rbp + 0x127], al
mov dword [rbp + 0x100], 0x9af2b37
mov qword [rbp + 0x108], rdx
lea rax, [rbp + 0x140]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0x104], eax
mov byte [rbp + 0x120], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0x100]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400ae650]
mov rax, qword [rax + 0xa8]
add rax, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c8], xmm10
movsd qword [rbp + 0x1c0], xmm10
xor ecx, ecx
mov dword [rbp + 0x1d8], ecx
movups xmmword [rbp + 0x1e8], xmm10
movsd qword [rbp + 0x1e0], xmm10
mov dword [rbp + 0x1f8], ecx
mov dword [rbp + 0x121], r13d
mov word [rbp + 0x125], r13w
mov byte [rbp + 0x127], cl
mov dword [rbp + 0x100], 0x9af2b37
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0x104], eax
mov byte [rbp + 0x120], cl
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0x100]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140061780
movups xmm6, xmmword [rax]
movups xmm9, xmmword [rax + 0x10]
movups xmm7, xmmword [rax + 0x20]
movups xmm8, xmmword [rax + 0x30]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x140]
call fcn.140061780
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x110], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x30]
shufps xmm9, xmm9, 0xaa
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm9, xmm0
shufps xmm6, xmm6, 0xaa
mulss xmm6, xmm1
addss xmm9, xmm6
shufps xmm7, xmm7, 0xaa
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mulss xmm7, xmm0
addss xmm9, xmm7
shufps xmm8, xmm8, 0xaa
shufps xmm1, xmm1, 0xff
mulss xmm8, xmm1
addss xmm9, xmm8
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
addsd xmm0, qword [0x140078980]
movsd qword [rsp + 0x58], xmm0
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb8]
add rcx, r14
call fcn.14004f9e0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb0]
add rcx, rdx
add rcx, r14
call fcn.14004fc40
mov rcx, qword [0x1400ae650]
imul rdx, qword [rcx + 0xc0], 0x6e
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x168], xmm10
movsd qword [rbp + 0x160], xmm10
xor eax, eax
mov dword [rbp + 0x178], eax
movups xmmword [rbp + 0x188], xmm10
movsd qword [rbp + 0x180], xmm10
mov dword [rbp + 0x198], eax
mov dword [rbp + 0x121], r13d
mov word [rbp + 0x125], r13w
mov byte [rbp + 0x127], al
mov dword [rbp + 0x100], 0x9af2b37
mov qword [rbp + 0x108], rdx
lea rax, [rbp + 0x140]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0x104], eax
mov byte [rbp + 0x120], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0x100]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400ae650]
mov rax, qword [rax + 0xa8]
add rax, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c8], xmm10
movsd qword [rbp + 0x1c0], xmm10
xor ecx, ecx
mov dword [rbp + 0x1d8], ecx
movups xmmword [rbp + 0x1e8], xmm10
movsd qword [rbp + 0x1e0], xmm10
mov dword [rbp + 0x1f8], ecx
mov dword [rbp + 0x121], r13d
mov word [rbp + 0x125], r13w
mov byte [rbp + 0x127], cl
mov dword [rbp + 0x100], 0x9af2b37
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0x104], eax
mov byte [rbp + 0x120], cl
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0x100]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140061780
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbp - 0x50], xmm1
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x140]
call fcn.140061780
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x110], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x70], xmm1
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb8]
add rcx, r14
call fcn.14004f9e0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb0]
add rcx, rdx
add rcx, r14
call fcn.14004fc40
mov rcx, qword [0x1400ae650]
imul rdx, qword [rcx + 0xc0], 0x6e
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x168], xmm10
movsd qword [rbp + 0x160], xmm10
xor eax, eax
mov dword [rbp + 0x178], eax
movups xmmword [rbp + 0x188], xmm10
movsd qword [rbp + 0x180], xmm10
mov dword [rbp + 0x198], eax
mov dword [rbp + 0x121], r13d
mov word [rbp + 0x125], r13w
mov byte [rbp + 0x127], al
mov dword [rbp + 0x100], 0x9af2b37
mov qword [rbp + 0x108], rdx
lea rax, [rbp + 0x140]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0x104], eax
mov byte [rbp + 0x120], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0x100]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400ae650]
mov rax, qword [rax + 0xa8]
add rax, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c8], xmm10
movsd qword [rbp + 0x1c0], xmm10
xor ecx, ecx
mov dword [rbp + 0x1d8], ecx
movups xmmword [rbp + 0x1e8], xmm10
movsd qword [rbp + 0x1e0], xmm10
mov dword [rbp + 0x1f8], ecx
mov dword [rbp + 0x121], r13d
mov word [rbp + 0x125], r13w
mov byte [rbp + 0x127], cl
mov dword [rbp + 0x100], 0x9af2b37
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0x104], eax
mov byte [rbp + 0x120], cl
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0x100]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140061780
movups xmm6, xmmword [rax]
movups xmm9, xmmword [rax + 0x10]
movups xmm7, xmmword [rax + 0x20]
movups xmm8, xmmword [rax + 0x30]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x140]
call fcn.140061780
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x110], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm9, xmm0
mulss xmm6, xmm1
addss xmm9, xmm6
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mulss xmm7, xmm0
addss xmm9, xmm7
shufps xmm1, xmm1, 0xff
mulss xmm8, xmm1
addss xmm9, xmm8
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1400ae700]
mulsd xmm0, xmm13
divsd xmm0, xmm14
movsd xmm7, qword [0x1400ae708]
mulsd xmm7, xmm13
divsd xmm7, xmm14
movsd xmm8, qword [0x1400ae710]
mulsd xmm8, xmm13
divsd xmm8, xmm14
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm10, xmm10
cvtss2sd xmm10, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movsd qword [rsp + 0x48], xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm14, xmm14
cvtss2sd xmm14, xmm0
movaps xmm13, xmm7
mulsd xmm13, xmm9
movaps xmm6, xmm14
mulsd xmm6, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm5, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
movaps xmm2, xmm7
xorps xmm2, xmmword [0x140078300]
mulsd xmm2, xmm10
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm12, xmm0
movaps xmm1, xmm14
mulsd xmm1, xmm15
movaps xmm0, xmm11
mulsd xmm0, xmm13
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm1, xmm14
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
movaps xmm2, xmm7
mulsd xmm2, xmm15
movsd xmm0, qword [rsp + 0x48]
mulsd xmm0, xmm6
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm9, xmm0
movsd xmm0, qword [rsp + 0x58]
subsd xmm0, qword [0x1400ae6f8]
movsd qword [rsp + 0x58], xmm0
movups xmm8, xmmword [rbp - 0x40]
shufps xmm8, xmm8, 0x55
movaps xmm2, xmmword [rbp - 0x70]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
mulss xmm8, xmm0
movss xmm0, dword [rbp + 0x34]
mulss xmm0, xmm2
addss xmm8, xmm0
movups xmmword [rbp - 0x40], xmm8
movss xmm8, dword [rsp + 0x74]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
mulss xmm8, xmm0
movups xmm0, xmmword [rbp - 0x40]
addss xmm0, xmm8
movups xmmword [rbp - 0x40], xmm0
movss xmm0, dword [rbp - 0x4c]
shufps xmm2, xmm2, 0xff
mulss xmm0, xmm2
movups xmm2, xmmword [rbp - 0x40]
addss xmm2, xmm0
xorps xmm8, xmm8
cvtss2sd xmm8, xmm2
subsd xmm8, qword [0x1400ae6f0]
movsd xmm0, qword [rsp + 0x40]
subsd xmm0, qword [0x1400ae6e8]
movsd qword [rsp + 0x40], xmm0
movaps xmm0, xmm15
mulsd xmm0, xmm10
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
movsd xmm10, qword [rsp + 0x40]
mulsd xmm2, xmm10
mulsd xmm3, xmm8
addsd xmm2, xmm3
mulsd xmm5, qword [rsp + 0x58]
addsd xmm2, xmm5
mulsd xmm9, xmm8
mulsd xmm7, qword [rsp + 0x48]
movaps xmm0, xmm15
mulsd xmm0, xmm6
addsd xmm7, xmm0
cvtpd2ps xmm0, xmm7
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm10
subsd xmm9, xmm1
mulsd xmm4, qword [rsp + 0x58]
addsd xmm9, xmm4
movsd xmm7, qword [0x140073558]
maxsd xmm7, xmm2
mov rax, qword [0x1400ae670]
mov edi, dword [rax + 0x10]
mov ebx, dword [rax + 0xc]
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400719c4]
movss xmm0, dword [0x1400ae718]
mulss xmm0, dword [0x1400772e4]
divss xmm0, dword [0x140073570]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, edi
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400719c4]
cvtps2pd xmm4, xmm2
mulsd xmm9, xmm3
divsd xmm9, xmm7
subsd xmm4, xmm9
mulsd xmm15, xmm13
mulsd xmm14, qword [rsp + 0x48]
subsd xmm15, xmm14
cvtpd2ps xmm0, xmm15
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm10
mulsd xmm11, xmm8
addsd xmm1, xmm11
movsd xmm0, qword [rsp + 0x58]
mulsd xmm0, xmm12
addsd xmm1, xmm0
mulsd xmm1, xmm3
divsd xmm1, xmm7
cvtps2pd xmm0, xmm6
addsd xmm1, xmm0
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mov eax, edi
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm4, xmm0
mulsd xmm4, xmm4
mulsd xmm1, xmm1
addsd xmm4, xmm1
cvtpd2ps xmm2, xmm4
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140051f59
xorps xmm7, xmm7
sqrtss xmm7, xmm2
jmp 0x140051f64
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm7, xmm0
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xd8]
add rcx, r14
call fcn.14004fa80
movaps xmm6, xmm0
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xe0]
add rcx, r14
call fcn.14004fa80
addss xmm0, dword [0x140077cdc]
mov rcx, qword [0x1400ae640]
comiss xmm0, xmm6
jb 0x140051fc6
movss xmm0, dword [rcx + 0x10]
comiss xmm0, xmm7
jbe 0x140051fc6
movss xmm0, dword [rsp + 0x60]
comiss xmm0, xmm7
jbe 0x140051fc6
movss dword [rsp + 0x60], xmm7
mov r15, qword [rbp + 0x20]
add rsi, 0x40
cmp rsi, r12
movsd xmm13, qword [0x140078968]
movsd xmm14, qword [0x1400789a8]
jne 0x1400514a0
jmp 0x140051fee
mov rcx, qword [0x1400ae640]
cmp byte [rcx], 0
je 0x140053dc4
test r15, r15
je 0x140053dc4
mov ecx, dword [rcx + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140053dc4
mov rdx, qword [0x1400ae638]
add rdx, 0x20
lea rcx, [rbp + 0x100]
call fcn.140001b80
mov rdi, rax
mov qword [rbp - 0x40], rax
mov rcx, qword [0x1400ae6c0]
mov r14, qword [rcx + 0x20]
movups xmm0, xmmword [rcx + 0xa0]
movaps xmmword [rbp + 0x70], xmm0
movsd xmm0, qword [rcx + 0xb0]
movsd qword [rbp + 0x10], xmm0
mov r12, qword [0x1400ae698]
mov rcx, qword [0x1400ae650]
mov rcx, qword [rcx + 0x38]
add rcx, r15
call fcn.14004fc40
mov rcx, qword [0x1400ae650]
mov rcx, qword [rcx + 0x68]
add rcx, rax
xorps xmm11, xmm11
movups xmmword [rbp + 0x2c8], xmm11
movsd qword [rbp + 0x2c0], xmm11
mov dword [rbp + 0xe1], r13d
mov word [rbp + 0xe5], r13w
mov byte [rbp + 0xe7], 0
mov dword [rbp + 0xc0], 0x9af2b37
mov qword [rbp + 0xc8], rcx
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x18
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0xc4], eax
mov byte [rbp + 0xe0], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0xc0]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0x70]
add rcx, r15
call fcn.14004fc40
mov rsi, rax
mov rcx, qword [0x1400ae678]
movsxd rbx, dword [rcx + 0x94]
mov rcx, qword [0x1400ae650]
mov rcx, qword [rcx + 0xb8]
add rcx, rax
call fcn.14004f9e0
shl eax, 4
movsxd rdx, eax
mov rcx, qword [0x1400ae650]
mov rcx, qword [rcx + 0xb0]
add rcx, rsi
add rcx, rdx
call fcn.14004fc40
mov rdx, rbx
mov rcx, qword [0x1400ae650]
imul rdx, qword [rcx + 0xc0]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x168], xmm11
movsd qword [rbp + 0x160], xmm11
xor eax, eax
mov dword [rbp + 0x178], eax
movups xmmword [rbp + 0x188], xmm11
movsd qword [rbp + 0x180], xmm11
mov dword [rbp + 0x198], eax
mov dword [rbp + 0xe1], r13d
mov word [rbp + 0xe5], r13w
mov byte [rbp + 0xe7], al
mov dword [rbp + 0xc0], 0x9af2b37
mov qword [rbp + 0xc8], rdx
lea rax, [rbp + 0x140]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0xc4], eax
mov byte [rbp + 0xe0], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0xc0]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400ae650]
mov rax, qword [rax + 0xa8]
add rax, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c8], xmm11
movsd qword [rbp + 0x1c0], xmm11
xor ecx, ecx
mov dword [rbp + 0x1d8], ecx
movups xmmword [rbp + 0x1e8], xmm11
movsd qword [rbp + 0x1e0], xmm11
mov dword [rbp + 0x1f8], ecx
mov dword [rbp + 0xe1], r13d
mov word [rbp + 0xe5], r13w
mov byte [rbp + 0xe7], cl
mov dword [rbp + 0xc0], 0x9af2b37
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0xc4], eax
mov byte [rbp + 0xe0], cl
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0xc0]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140061780
movups xmm7, xmmword [rax]
movups xmm10, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x140]
call fcn.140061780
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0xe0], xmm0
movups xmm6, xmmword [rax + 0x30]
movaps xmm1, xmm10
movaps xmm5, xmm6
shufps xmm5, xmm6, 0x55
mulss xmm1, xmm5
movaps xmm0, xmm7
mulss xmm0, xmm6
addss xmm1, xmm0
movaps xmm0, xmm8
movaps xmm4, xmm6
shufps xmm4, xmm6, 0xaa
mulss xmm0, xmm4
addss xmm1, xmm0
movaps xmm0, xmm9
movaps xmm3, xmm6
shufps xmm3, xmm6, 0xff
mulss xmm0, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [rbp + 0x20], xmm0
movaps xmm2, xmm10
shufps xmm2, xmm10, 0x55
mulss xmm2, xmm5
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
mulss xmm0, xmm6
addss xmm2, xmm0
movaps xmm1, xmm8
shufps xmm1, xmm8, 0x55
mulss xmm1, xmm4
addss xmm2, xmm1
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm0, xmm3
addss xmm2, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [rbp - 0x50], xmm0
shufps xmm10, xmm10, 0xaa
mulss xmm10, xmm5
shufps xmm7, xmm7, 0xaa
mulss xmm7, xmm6
addss xmm10, xmm7
shufps xmm8, xmm8, 0xaa
mulss xmm8, xmm4
addss xmm10, xmm8
shufps xmm9, xmm9, 0xaa
mulss xmm9, xmm3
addss xmm10, xmm9
xorps xmm0, xmm0
cvtss2sd xmm0, xmm10
movsd qword [rbp + 0xb0], xmm0
mov rax, qword [0x1400ae640]
mov ecx, dword [rax + 0x1c]
test ecx, ecx
jne 0x140052a58
mov rax, qword [0x1400ae678]
movsxd rbx, dword [rax + 0x94]
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb8]
add rcx, rsi
call fcn.14004f9e0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb0]
add rcx, rsi
add rcx, rdx
call fcn.14004fc40
mov rdx, rbx
mov rcx, qword [0x1400ae650]
imul rdx, qword [rcx + 0xc0]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x288], xmm11
movsd qword [rbp + 0x280], xmm11
xor eax, eax
mov dword [rbp + 0x298], eax
movups xmmword [rbp + 0x2a8], xmm11
movsd qword [rbp + 0x2a0], xmm11
mov dword [rbp + 0x2b8], eax
mov dword [rbp + 0xe1], r13d
mov word [rbp + 0xe5], r13w
mov byte [rbp + 0xe7], al
mov dword [rbp + 0xc0], 0x9af2b37
mov qword [rbp + 0xc8], rdx
lea rax, [rbp + 0x260]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0xc4], eax
mov byte [rbp + 0xe0], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0xc0]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400ae650]
mov rax, qword [rax + 0xa8]
add rax, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x228], xmm11
movsd qword [rbp + 0x220], xmm11
xor ecx, ecx
mov dword [rbp + 0x238], ecx
movups xmmword [rbp + 0x248], xmm11
movsd qword [rbp + 0x240], xmm11
mov dword [rbp + 0x258], ecx
mov dword [rbp + 0xe1], r13d
mov word [rbp + 0xe5], r13w
mov byte [rbp + 0xe7], cl
mov dword [rbp + 0xc0], 0x9af2b37
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0x200]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0xc4], eax
mov byte [rbp + 0xe0], cl
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0xc0]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x200]
call fcn.140061780
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
movups xmm12, xmmword [rax + 0x20]
movups xmmword [rbp + 0xc0], xmm12
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x260]
call fcn.140061780
mov rbx, rax
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movups xmm10, xmmword [rax + 0x30]
movsd xmm0, qword [0x1400ae700]
mulsd xmm0, xmm13
divsd xmm0, xmm14
movsd xmm7, qword [0x1400ae708]
mulsd xmm7, xmm13
divsd xmm7, xmm14
movsd xmm8, qword [0x1400ae710]
mulsd xmm8, xmm13
divsd xmm8, xmm14
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm13, xmm13
cvtss2sd xmm13, xmm0
movsd qword [rsp + 0x48], xmm13
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movsd qword [rsp + 0x40], xmm11
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movsd qword [rsp + 0x58], xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
movsd qword [rbp - 0x80], xmm3
movaps xmm4, xmm7
mulsd xmm4, xmm9
movsd qword [rsp + 0x60], xmm4
movaps xmm14, xmm3
mulsd xmm14, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm13, xmm0
movsd xmm5, qword [rsp + 0x48]
movaps xmm1, xmm5
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
movaps xmm2, xmm7
xorps xmm2, xmmword [0x140078300]
mulsd xmm2, xmm15
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x68], xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm5
movaps xmm0, xmm3
mulsd xmm0, xmm11
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [rbp - 0x78], xmm0
movaps xmm1, xmm3
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm7
mulsd xmm2, qword [rsp + 0x40]
movaps xmm0, xmm14
mulsd xmm0, xmm5
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movups xmm0, xmmword [rsp + 0x70]
movaps xmm3, xmm0
shufps xmm3, xmm0, 0xaa
movaps xmm6, xmm10
shufps xmm6, xmm10, 0x55
mulss xmm3, xmm6
movups xmm9, xmmword [rbp - 0x70]
movaps xmm0, xmm9
shufps xmm0, xmm9, 0xaa
mulss xmm0, xmm10
addss xmm3, xmm0
movaps xmm1, xmm12
shufps xmm1, xmm12, 0xaa
movaps xmm5, xmm10
shufps xmm5, xmm10, 0xaa
mulss xmm1, xmm5
addss xmm3, xmm1
movups xmm2, xmmword [rbp + 0x30]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movaps xmm4, xmm10
shufps xmm4, xmm10, 0xff
mulss xmm0, xmm4
addss xmm3, xmm0
xorps xmm12, xmm12
cvtss2sd xmm12, xmm3
subsd xmm12, qword [0x1400ae6f8]
movups xmm0, xmmword [rsp + 0x70]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0x55
mulss xmm2, xmm6
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm0, xmm10
addss xmm2, xmm0
movups xmm3, xmmword [rbp + 0xc0]
movaps xmm1, xmm3
shufps xmm1, xmm3, 0x55
mulss xmm1, xmm5
addss xmm2, xmm1
movups xmm1, xmmword [rbp + 0x30]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm4
addss xmm2, xmm0
xorps xmm10, xmm10
cvtss2sd xmm10, xmm2
subsd xmm10, qword [0x1400ae6f0]
movups xmm2, xmmword [rsp + 0x70]
mulss xmm2, xmm6
movups xmm0, xmmword [rbx + 0x30]
mulss xmm9, xmm0
addss xmm2, xmm9
mulss xmm3, xmm5
addss xmm2, xmm3
mulss xmm1, xmm4
addss xmm2, xmm1
xorps xmm9, xmm9
cvtss2sd xmm9, xmm2
subsd xmm9, qword [0x1400ae6e8]
movsd xmm0, qword [rsp + 0x40]
mulsd xmm0, xmm15
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
movaps xmm1, xmm10
mulsd xmm1, xmm8
addsd xmm2, xmm1
movaps xmm0, xmm12
mulsd xmm0, xmm13
addsd xmm2, xmm0
movaps xmm6, xmm10
mulsd xmm6, xmm7
mulsd xmm14, qword [rsp + 0x40]
movsd xmm0, qword [rsp + 0x58]
mulsd xmm0, qword [rsp + 0x48]
addsd xmm14, xmm0
cvtpd2ps xmm0, xmm14
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm9
subsd xmm6, xmm1
movaps xmm0, xmm12
mulsd xmm0, xmm11
addsd xmm6, xmm0
movsd xmm8, qword [0x140073558]
maxsd xmm8, xmm2
mov rbx, qword [0x1400ae670]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x1400719c4]
movss xmm0, dword [0x1400ae718]
mulss xmm0, dword [0x1400772e4]
divss xmm0, dword [0x140073570]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400719c4]
cvtps2pd xmm4, xmm2
mulsd xmm6, xmm3
divsd xmm6, xmm8
subsd xmm4, xmm6
movsd xmm1, qword [rsp + 0x60]
mulsd xmm1, qword [rsp + 0x40]
movsd xmm0, qword [rbp - 0x80]
mulsd xmm0, qword [rsp + 0x48]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
mulsd xmm10, qword [rbp - 0x78]
addsd xmm2, xmm10
mulsd xmm12, qword [rsp + 0x68]
addsd xmm2, xmm12
mulsd xmm2, xmm3
divsd xmm2, xmm8
cvtps2pd xmm0, xmm7
jmp 0x140053520
cmp ecx, 1
jne 0x140053011
mov rax, qword [0x1400ae678]
movsxd rbx, dword [rax + 0x94]
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb8]
add rcx, rsi
call fcn.14004f9e0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb0]
add rcx, rsi
add rcx, rdx
call fcn.14004fc40
mov rdx, rbx
mov rcx, qword [0x1400ae650]
imul rdx, qword [rcx + 0xc0]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x228], xmm11
movsd qword [rbp + 0x220], xmm11
xor eax, eax
mov dword [rbp + 0x238], eax
movups xmmword [rbp + 0x248], xmm11
movsd qword [rbp + 0x240], xmm11
mov dword [rbp + 0x258], eax
mov dword [rbp + 0xe1], r13d
mov word [rbp + 0xe5], r13w
mov byte [rbp + 0xe7], al
mov dword [rbp + 0xc0], 0x9af2b37
mov qword [rbp + 0xc8], rdx
lea rax, [rbp + 0x200]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0xc4], eax
mov byte [rbp + 0xe0], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0xc0]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400ae650]
mov rax, qword [rax + 0xa8]
add rax, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x288], xmm11
movsd qword [rbp + 0x280], xmm11
xor ecx, ecx
mov dword [rbp + 0x298], ecx
movups xmmword [rbp + 0x2a8], xmm11
movsd qword [rbp + 0x2a0], xmm11
mov dword [rbp + 0x2b8], ecx
mov dword [rbp + 0xe1], r13d
mov word [rbp + 0xe5], r13w
mov byte [rbp + 0xe7], cl
mov dword [rbp + 0xc0], 0x9af2b37
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0x260]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0xc4], eax
mov byte [rbp + 0xe0], cl
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0xc0]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x260]
call fcn.140061780
movups xmm10, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm10
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x200]
call fcn.140061780
mov rbx, rax
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x1400ae700]
mulsd xmm0, xmm13
divsd xmm0, xmm14
movsd xmm7, qword [0x1400ae708]
mulsd xmm7, xmm13
divsd xmm7, xmm14
movsd xmm8, qword [0x1400ae710]
mulsd xmm8, xmm13
divsd xmm8, xmm14
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movsd qword [rsp + 0x48], xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm14, xmm14
cvtss2sd xmm14, xmm0
movsd qword [rsp + 0x40], xmm14
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
movsd qword [rsp + 0x68], xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movsd qword [rbp - 0x80], xmm4
movaps xmm3, xmm8
mulsd xmm3, xmm9
movsd qword [rbp - 0x78], xmm3
movaps xmm13, xmm4
mulsd xmm13, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm12, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm2, xmm8
xorps xmm2, xmmword [0x140078300]
mulsd xmm2, xmm15
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm1, xmm0
movsd qword [rsp + 0x60], xmm1
movaps xmm1, xmm4
mulsd xmm1, xmm14
movaps xmm0, xmm11
mulsd xmm0, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm2, xmm0
movsd qword [rsp + 0x58], xmm2
movaps xmm1, xmm4
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm8
mulsd xmm2, xmm14
movsd xmm0, qword [rsp + 0x48]
mulsd xmm0, xmm13
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm14, xmm0
movups xmm0, xmmword [rsp + 0x70]
movaps xmm3, xmm0
shufps xmm3, xmm0, 0xaa
movups xmm8, xmmword [rbx + 0x30]
movaps xmm6, xmm8
shufps xmm6, xmm8, 0x55
mulss xmm3, xmm6
movaps xmm0, xmm10
shufps xmm0, xmm10, 0xaa
mulss xmm0, xmm8
addss xmm3, xmm0
movups xmm9, xmmword [rbp - 0x70]
movaps xmm1, xmm9
shufps xmm1, xmm9, 0xaa
movaps xmm5, xmm8
shufps xmm5, xmm8, 0xaa
mulss xmm1, xmm5
addss xmm3, xmm1
movups xmm2, xmmword [rbp + 0x30]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movaps xmm4, xmm8
shufps xmm4, xmm8, 0xff
mulss xmm0, xmm4
addss xmm3, xmm0
xorps xmm10, xmm10
cvtss2sd xmm10, xmm3
subsd xmm10, qword [0x1400ae6f8]
movups xmm0, xmmword [rsp + 0x70]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0x55
mulss xmm2, xmm6
movups xmm3, xmmword [rbp + 0xc0]
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
mulss xmm0, xmm8
addss xmm2, xmm0
movaps xmm1, xmm9
shufps xmm1, xmm9, 0x55
mulss xmm1, xmm5
addss xmm2, xmm1
movups xmm1, xmmword [rbp + 0x30]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm4
addss xmm2, xmm0
xorps xmm9, xmm9
cvtss2sd xmm9, xmm2
subsd xmm9, qword [0x1400ae6f0]
movups xmm2, xmmword [rsp + 0x70]
mulss xmm2, xmm6
mulss xmm3, xmm8
addss xmm2, xmm3
movups xmm0, xmmword [rbp - 0x70]
mulss xmm0, xmm5
addss xmm2, xmm0
mulss xmm1, xmm4
addss xmm2, xmm1
xorps xmm8, xmm8
cvtss2sd xmm8, xmm2
subsd xmm8, qword [0x1400ae6e8]
movsd xmm0, qword [rsp + 0x40]
mulsd xmm0, xmm15
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm8
mulsd xmm7, xmm9
addsd xmm2, xmm7
mulsd xmm12, xmm10
addsd xmm2, xmm12
mulsd xmm14, xmm9
movsd xmm1, qword [rsp + 0x68]
mulsd xmm1, qword [rsp + 0x48]
movsd xmm12, qword [rsp + 0x40]
movaps xmm0, xmm12
mulsd xmm0, xmm13
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm8
subsd xmm14, xmm1
mulsd xmm11, xmm10
addsd xmm14, xmm11
movsd xmm7, qword [0x140073558]
maxsd xmm7, xmm2
mov rbx, qword [0x1400ae670]
movd xmm6, dword [rbx + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400719c4]
movss xmm0, dword [0x1400ae718]
mulss xmm0, dword [0x1400772e4]
divss xmm0, dword [0x140073570]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400719c4]
cvtps2pd xmm4, xmm2
movaps xmm0, xmm3
mulsd xmm0, xmm14
divsd xmm0, xmm7
subsd xmm4, xmm0
mulsd xmm12, qword [rbp - 0x78]
jmp 0x1400534da
cmp ecx, 2
jne 0x140053d7e
mov rax, qword [0x1400ae678]
movsxd rbx, dword [rax + 0x44]
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb8]
add rcx, rsi
call fcn.14004f9e0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb0]
add rcx, rsi
add rcx, rdx
call fcn.14004fc40
mov rcx, qword [0x1400ae650]
imul rbx, qword [rcx + 0xc0]
lea rcx, [rax + rbx]
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x228], xmm11
movsd qword [rbp + 0x220], xmm11
xor eax, eax
mov dword [rbp + 0x238], eax
movups xmmword [rbp + 0x248], xmm11
movsd qword [rbp + 0x240], xmm11
mov dword [rbp + 0x258], eax
mov r8d, 0x60
lea rdx, [rbp + 0x200]
call fcn.140069310
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xa8]
add rcx, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x288], xmm11
movsd qword [rbp + 0x280], xmm11
xor eax, eax
mov dword [rbp + 0x298], eax
movups xmmword [rbp + 0x2a8], xmm11
movsd qword [rbp + 0x2a0], xmm11
mov dword [rbp + 0x2b8], eax
mov r8d, 0x60
lea rdx, [rbp + 0x260]
call fcn.140069310
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x260]
call fcn.140061780
movups xmm10, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm10
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp - 0x70], xmm0
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x200]
call fcn.140061780
mov rbx, rax
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x1400ae700]
mulsd xmm0, xmm13
divsd xmm0, xmm14
movsd xmm7, qword [0x1400ae708]
mulsd xmm7, xmm13
divsd xmm7, xmm14
movsd xmm8, qword [0x1400ae710]
mulsd xmm8, xmm13
divsd xmm8, xmm14
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movsd qword [rsp + 0x48], xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm14, xmm14
cvtss2sd xmm14, xmm0
movsd qword [rsp + 0x40], xmm14
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
movsd qword [rsp + 0x68], xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movsd qword [rbp - 0x80], xmm4
movaps xmm3, xmm8
mulsd xmm3, xmm9
movsd qword [rbp - 0x78], xmm3
movaps xmm13, xmm4
mulsd xmm13, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm12, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm2, xmm8
xorps xmm2, xmmword [0x140078300]
mulsd xmm2, xmm15
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm1, xmm0
movsd qword [rsp + 0x60], xmm1
movaps xmm1, xmm4
mulsd xmm1, xmm14
movaps xmm0, xmm11
mulsd xmm0, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm2, xmm0
movsd qword [rsp + 0x58], xmm2
movaps xmm1, xmm4
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm8
mulsd xmm2, xmm14
movsd xmm0, qword [rsp + 0x48]
mulsd xmm0, xmm13
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm14, xmm0
movups xmm0, xmmword [rsp + 0x70]
movaps xmm3, xmm0
shufps xmm3, xmm0, 0xaa
movups xmm8, xmmword [rbx + 0x30]
movaps xmm6, xmm8
shufps xmm6, xmm8, 0x55
mulss xmm3, xmm6
movaps xmm0, xmm10
shufps xmm0, xmm10, 0xaa
mulss xmm0, xmm8
addss xmm3, xmm0
movups xmm9, xmmword [rbp + 0x30]
movaps xmm1, xmm9
shufps xmm1, xmm9, 0xaa
movaps xmm5, xmm8
shufps xmm5, xmm8, 0xaa
mulss xmm1, xmm5
addss xmm3, xmm1
movups xmm2, xmmword [rbp - 0x70]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movaps xmm4, xmm8
shufps xmm4, xmm8, 0xff
mulss xmm0, xmm4
addss xmm3, xmm0
xorps xmm10, xmm10
cvtss2sd xmm10, xmm3
subsd xmm10, qword [0x1400ae6f8]
movups xmm0, xmmword [rsp + 0x70]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0x55
mulss xmm2, xmm6
movups xmm3, xmmword [rbp + 0xc0]
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
mulss xmm0, xmm8
addss xmm2, xmm0
movaps xmm1, xmm9
shufps xmm1, xmm9, 0x55
mulss xmm1, xmm5
addss xmm2, xmm1
movups xmm1, xmmword [rbp - 0x70]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm4
addss xmm2, xmm0
xorps xmm9, xmm9
cvtss2sd xmm9, xmm2
subsd xmm9, qword [0x1400ae6f0]
movups xmm2, xmmword [rsp + 0x70]
mulss xmm2, xmm6
mulss xmm3, xmm8
addss xmm2, xmm3
movups xmm0, xmmword [rbp + 0x30]
mulss xmm0, xmm5
addss xmm2, xmm0
mulss xmm1, xmm4
addss xmm2, xmm1
xorps xmm8, xmm8
cvtss2sd xmm8, xmm2
subsd xmm8, qword [0x1400ae6e8]
movsd xmm0, qword [rsp + 0x40]
mulsd xmm0, xmm15
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm8
mulsd xmm7, xmm9
addsd xmm2, xmm7
mulsd xmm12, xmm10
addsd xmm2, xmm12
mulsd xmm14, xmm9
movsd xmm1, qword [rsp + 0x68]
mulsd xmm1, qword [rsp + 0x48]
movsd xmm12, qword [rsp + 0x40]
movaps xmm0, xmm12
mulsd xmm0, xmm13
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm8
subsd xmm14, xmm1
mulsd xmm11, xmm10
addsd xmm14, xmm11
movsd xmm7, qword [0x140073558]
maxsd xmm7, xmm2
mov rbx, qword [0x1400ae670]
movd xmm6, dword [rbx + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400719c4]
movss xmm0, dword [0x1400ae718]
mulss xmm0, dword [0x1400772e4]
divss xmm0, dword [0x140073570]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400719c4]
cvtps2pd xmm4, xmm2
mulsd xmm14, xmm3
divsd xmm14, xmm7
subsd xmm4, xmm14
mulsd xmm12, qword [rbp - 0x78]
movsd xmm0, qword [rbp - 0x80]
mulsd xmm0, qword [rsp + 0x48]
subsd xmm12, xmm0
cvtpd2ps xmm0, xmm12
cvtps2pd xmm2, xmm0
movsd xmm0, qword [rsp + 0x58]
mulsd xmm0, xmm9
mulsd xmm2, xmm8
addsd xmm2, xmm0
movsd xmm0, qword [rsp + 0x60]
mulsd xmm0, xmm10
addsd xmm2, xmm0
mulsd xmm2, xmm3
cvtps2pd xmm0, xmm6
divsd xmm2, xmm7
addsd xmm2, xmm0
xorps xmm11, xmm11
ucomisd xmm2, xmm11
jp 0x14005353e
jne 0x14005353e
ucomisd xmm4, xmm11
jp 0x14005353e
je 0x140053d7e
mov rax, qword [0x1400ae678]
movsxd rbx, dword [rax + 0x94]
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb8]
add rcx, rsi
call fcn.14004f9e0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xb0]
add rcx, rsi
add rcx, rdx
call fcn.14004fc40
mov rdx, rbx
mov rcx, qword [0x1400ae650]
imul rdx, qword [rcx + 0xc0]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x228], xmm11
movsd qword [rbp + 0x220], xmm11
xor eax, eax
mov dword [rbp + 0x238], eax
movups xmmword [rbp + 0x248], xmm11
movsd qword [rbp + 0x240], xmm11
mov dword [rbp + 0x258], eax
mov dword [rbp + 0xe1], r13d
mov word [rbp + 0xe5], r13w
mov byte [rbp + 0xe7], al
mov dword [rbp + 0xc0], 0x9af2b37
mov qword [rbp + 0xc8], rdx
lea rax, [rbp + 0x200]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0xc4], eax
mov byte [rbp + 0xe0], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0xc0]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1400ae650]
mov rax, qword [rax + 0xa8]
add rax, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x288], xmm11
movsd qword [rbp + 0x280], xmm11
xor ecx, ecx
mov dword [rbp + 0x298], ecx
movups xmmword [rbp + 0x2a8], xmm11
movsd qword [rbp + 0x2a0], xmm11
mov dword [rbp + 0x2b8], ecx
mov dword [rbp + 0xe1], r13d
mov word [rbp + 0xe5], r13w
mov byte [rbp + 0xe7], cl
mov dword [rbp + 0xc0], 0x9af2b37
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0x260]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x60
mov eax, dword [0x1400ae5e8]
mov dword [rbp + 0xc4], eax
mov byte [rbp + 0xe0], cl
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x28
lea r8, [rbp + 0xc0]
mov edx, 0x228d14
mov rcx, qword [0x1400ae5e0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x260]
call fcn.140061780
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
movups xmm12, xmmword [rax + 0x20]
movups xmmword [rbp + 0x30], xmm12
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp - 0x70], xmm0
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x200]
call fcn.140061780
mov rbx, rax
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movups xmm10, xmmword [rax + 0x30]
movsd xmm0, qword [0x1400ae700]
movsd xmm1, qword [0x140078968]
mulsd xmm0, xmm1
movsd xmm2, qword [0x1400789a8]
divsd xmm0, xmm2
movsd xmm7, qword [0x1400ae708]
mulsd xmm7, xmm1
divsd xmm7, xmm2
movsd xmm8, qword [0x1400ae710]
mulsd xmm8, xmm1
divsd xmm8, xmm2
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0x48], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movsd qword [rsp + 0x40], xmm11
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movsd qword [rsp + 0x68], xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movsd qword [rbp - 0x80], xmm4
movaps xmm3, xmm7
mulsd xmm3, xmm9
movsd qword [rbp - 0x78], xmm3
movaps xmm14, xmm4
mulsd xmm14, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm13, xmm0
movsd xmm5, qword [rsp + 0x48]
movaps xmm1, xmm5
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
movaps xmm2, xmm7
xorps xmm2, xmmword [0x140078300]
mulsd xmm2, xmm15
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x60], xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm11
movaps xmm0, xmm5
mulsd xmm0, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x58], xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm7
mulsd xmm2, qword [rsp + 0x40]
movaps xmm0, xmm5
mulsd xmm0, xmm14
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movups xmm0, xmmword [rsp + 0x70]
movaps xmm3, xmm0
shufps xmm3, xmm0, 0xaa
movaps xmm6, xmm10
shufps xmm6, xmm10, 0x55
mulss xmm3, xmm6
movups xmm9, xmmword [rbp + 0xc0]
movaps xmm0, xmm9
shufps xmm0, xmm9, 0xaa
mulss xmm0, xmm10
addss xmm3, xmm0
movaps xmm1, xmm12
shufps xmm1, xmm12, 0xaa
movaps xmm5, xmm10
shufps xmm5, xmm10, 0xaa
mulss xmm1, xmm5
addss xmm3, xmm1
movups xmm2, xmmword [rbp - 0x70]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movaps xmm4, xmm10
shufps xmm4, xmm10, 0xff
mulss xmm0, xmm4
addss xmm3, xmm0
xorps xmm12, xmm12
cvtss2sd xmm12, xmm3
subsd xmm12, qword [0x1400ae6f8]
movups xmm0, xmmword [rsp + 0x70]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0x55
mulss xmm2, xmm6
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm0, xmm10
addss xmm2, xmm0
movups xmm3, xmmword [rbp + 0x30]
movaps xmm1, xmm3
shufps xmm1, xmm3, 0x55
mulss xmm1, xmm5
addss xmm2, xmm1
movups xmm1, xmmword [rbp - 0x70]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm4
addss xmm2, xmm0
xorps xmm10, xmm10
cvtss2sd xmm10, xmm2
subsd xmm10, qword [0x1400ae6f0]
movups xmm2, xmmword [rsp + 0x70]
mulss xmm2, xmm6
movups xmm0, xmmword [rbx + 0x30]
mulss xmm9, xmm0
addss xmm2, xmm9
mulss xmm3, xmm5
addss xmm2, xmm3
mulss xmm1, xmm4
addss xmm2, xmm1
xorps xmm9, xmm9
cvtss2sd xmm9, xmm2
subsd xmm9, qword [0x1400ae6e8]
movsd xmm0, qword [rsp + 0x40]
mulsd xmm0, xmm15
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
movaps xmm1, xmm10
mulsd xmm1, xmm8
addsd xmm2, xmm1
movaps xmm0, xmm12
mulsd xmm0, xmm13
addsd xmm2, xmm0
movaps xmm6, xmm10
mulsd xmm6, xmm7
movsd xmm1, qword [rsp + 0x68]
mulsd xmm1, qword [rsp + 0x48]
movsd xmm13, qword [rsp + 0x40]
movaps xmm0, xmm13
mulsd xmm0, xmm14
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm9
subsd xmm6, xmm1
movaps xmm0, xmm12
mulsd xmm0, xmm11
addsd xmm6, xmm0
movsd xmm8, qword [0x140073558]
maxsd xmm8, xmm2
mov rbx, qword [0x1400ae670]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x1400719c4]
movss xmm0, dword [0x1400ae718]
mulss xmm0, dword [0x1400772e4]
divss xmm0, dword [0x140073570]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400719c4]
cvtps2pd xmm11, xmm2
mulsd xmm6, xmm3
divsd xmm6, xmm8
subsd xmm11, xmm6
mulsd xmm13, qword [rbp - 0x78]
movsd xmm0, qword [rbp - 0x80]
mulsd xmm0, qword [rsp + 0x48]
subsd xmm13, xmm0
cvtpd2ps xmm0, xmm13
cvtps2pd xmm6, xmm0
mulsd xmm6, xmm9
mulsd xmm10, qword [rsp + 0x58]
addsd xmm6, xmm10
mulsd xmm12, qword [rsp + 0x60]
addsd xmm6, xmm12
mulsd xmm6, xmm3
divsd xmm6, xmm8
cvtps2pd xmm0, xmm7
addsd xmm6, xmm0
mov rax, qword [0x1400ae640]
cmp byte [rax + 0x20], 0
je 0x140053ce0
mov byte [rsp + 0x50], 0xe3
mov byte [rsp + 0x51], 0xd9
mov byte [rsp + 0x52], 0xdb
mov byte [rsp + 0x53], 0xc6
mov byte [rsp + 0x54], 0xd7
mov byte [rsp + 0x55], 0xc2
mov byte [rsp + 0x56], 0xd1
mov byte [rsp + 0x57], 0xc4
movzx eax, byte [rsp + 0x50]
mov r9, r13
movabs r13, 0x950c1762409defb9
mov r10, r13
lea rax, [rsp + 0x50]
sub r10, rax
mov r11d, 0xf
nop word [rax + rax]
lea r8, [rsp + 0x50]
add r8, r9
mov rcx, r9
and ecx, r11d
cmp rcx, r11
cmovae rcx, r11
shl cl, 2
mov rdx, r13
shr rdx, cl
and dl, r11b
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x50], dl
inc r9
cmp r9, 8
jb 0x140053ba0
xor r13d, r13d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140065620
cmp rax, 0xffffffffffffffff
je 0x140053ce0
mov rcx, qword [0x1400ae640]
mov ecx, dword [rcx + 8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140053ce0
mov rax, qword [0x1400ae650]
mov rcx, qword [rax + 0xc8]
add rcx, r14
call fcn.14004fc40
test rax, rax
je 0x140053ce0
cmp byte [0x1400ae5b2], r13b
je 0x140053c56
lea rcx, [rbp + 0x90]
call fcn.1400687e0
mov rcx, qword [rax]
mov qword [0x1400ae608], rcx
mov byte [0x1400ae5b2], r13b
lea rcx, [rbp + 0x98]
call fcn.1400687e0
mov rcx, qword [rax]
mov qword [0x1400ae610], rcx
sub rcx, qword [0x1400ae608]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [0x1400ae618], edx
mov rax, qword [0x1400ae640]
mov ecx, dword [rax + 0x24]
lea eax, [rcx + rcx*4]
add eax, eax
cmp edx, eax
jl 0x140053ce0
mov qword [rsp + 0x20], r13
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, r9d
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, 4
xor r8d, r8d
xor edx, edx
mov ecx, r9d
call qword [sym.imp.USER32.dll_mouse_event]
mov byte [0x1400ae5b2], 1
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.140001b80
mov rcx, qword [0x1400ae640]
cvttss2si r9d, dword [rcx + 0x14]
movaps xmm0, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0x70], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rbp + 0x80], xmm1
movups xmm0, xmmword [rbp + 0x2c0]
movaps xmmword [rbp + 0xc0], xmm0
movsd xmm1, qword [rbp + 0x2d0]
movsd qword [rbp + 0xd0], xmm1
movsd xmm0, qword [rbp + 0x20]
movsd xmm2, qword [rbp - 0x50]
unpcklpd xmm0, xmm2
movaps xmmword [rbp - 0x70], xmm0
movsd xmm0, qword [rbp + 0xb0]
movsd qword [rbp - 0x60], xmm0
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
movaps xmm2, xmm11
movaps xmm1, xmm6
mov rcx, r12
call fcn.140067fe0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140053db4
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140053daf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140053dda
mov rcx, r8
call fcn.14006e1bc
mov qword [rdi + 0x10], r13
mov eax, 0xf
mov qword [rdi + 0x18], rax
mov byte [rdi], 0
mov qword [rbp - 0x50], 0xa
lea rcx, [rbp - 0x50]
call fcn.14004fce0
jmp 0x140051459
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3