Function at 0x180005ad0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
lea rbp, [r11 - 0x438]
sub rsp, 0x518
mov rax, qword [0x1800624d0]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rdi, qword [rbp + 0x468]
lea eax, [r9 - 8]
mov qword [rsp + 0x40], r8
mov rsi, rdx
mov qword [rbp - 0x60], rdx
mov r12, rcx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x68], rdi
cmp r9d, eax
jbe 0x180006c17
mov qword [r11 + 0x18], rbx
lea rdx, [0x180000000]
mov qword [r11 - 0x28], r13
lea ebx, [r9 - 0x1e]
mov qword [r11 - 0x30], r14
mov r9d, 0x40
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x58], xmm7
movaps xmmword [r11 - 0x68], xmm8
movaps xmmword [r11 - 0x78], xmm9
xorps xmm9, xmm9
movaps xmmword [r11 - 0x88], xmm10
movss xmm10, dword [rsp + 0x50]
movaps xmmword [r11 - 0x98], xmm11
movss xmm11, dword [0x180057330]
movaps xmmword [r11 - 0xa8], xmm12
movss xmm12, dword [0x18005716c]
movaps xmmword [r11 - 0xb8], xmm13
movss xmm13, dword [0x180057230]
mov dword [rsp + 0x30], ebx
mov qword [rbp - 0x50], 8
nop dword [rax]
cmp ebx, 0xb
ja case.0x180005bc3.4
mov ecx, dword [rdx + rbx*4 + 0x6c34]
add rcx, rdx
jmp rcx
mov rdx, qword [rsi]
mov eax, dword [rsi + 0x10]
lea rcx, [rdx + 4]
dec eax
movsxd r8, eax
shl r8, 2
call sub.VCRUNTIME140.dll_memmove
jmp 0x180006b8e
mov rcx, qword [rbp + 0x460]
lea rax, [rbp + 0x200]
sub rax, rcx
mov dword [rbp - 0x1c], 0
mov qword [rsp + 0x58], rax
lea r14, [rbp + 0x1f0]
mov rdi, qword [rsp + 0x58]
lea rax, [rbp + 0x204]
sub rax, rcx
lea r15, [rbp + 0x1f4]
mov qword [rsp + 0x38], rax
lea r12, [rbp + 0x1f8]
lea rax, [rbp + 0x208]
sub r14, rcx
sub rax, rcx
lea r13, [rbp + 0x1fc]
mov qword [rsp + 0x48], rax
lea rsi, [rcx + 8]
lea rax, [rbp + 0x20c]
sub r15, rcx
sub rax, rcx
sub r12, rcx
mov qword [rsp + 0x60], rax
sub r13, rcx
lea rax, [rbp + 0x210]
mov ebx, 1
sub rax, rcx
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x214]
sub rax, rcx
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x218]
sub rax, rcx
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x21c]
sub rax, rcx
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x220]
sub rax, rcx
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x224]
sub rax, rcx
mov qword [rbp - 0x70], rax
nop dword [rax]
movss xmm0, dword [rsi - 4]
movaps xmm7, xmm10
mulss xmm7, dword [r14 + rsi - 8]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 - 0x20], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm6
movaps xmm7, xmm10
mulss xmm7, dword [r15 + rsi - 8]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 - 0x1c], xmm0
movss xmm0, dword [rsi]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 - 0x18], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm6
movaps xmm7, xmm10
mulss xmm7, dword [r14 + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 - 0x14], xmm0
movss xmm0, dword [rsi + 4]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 - 0x10], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm6
movaps xmm7, xmm10
mulss xmm7, dword [r15 + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 - 0xc], xmm0
movss xmm0, dword [rsi + 8]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 - 8], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm6
movaps xmm7, xmm10
mulss xmm7, dword [r12 + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 - 4], xmm0
movss xmm0, dword [rsi + 0xc]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm6
movaps xmm7, xmm10
mulss xmm7, dword [rsi + r13]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 4], xmm0
movss xmm0, dword [rsi + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 8], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm6
movaps xmm7, xmm10
mulss xmm7, dword [rdi + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0xc], xmm0
movss xmm0, dword [rsi + 0x14]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x10], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rsp + 0x38]
movaps xmm7, xmm10
mulss xmm0, xmm6
mulss xmm7, dword [rax + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x14], xmm0
movss xmm0, dword [rsi + 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x18], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rsp + 0x48]
movaps xmm7, xmm10
mulss xmm0, xmm6
mulss xmm7, dword [rax + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x1c], xmm0
movss xmm0, dword [rsi + 0x1c]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x20], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rsp + 0x60]
movaps xmm7, xmm10
mulss xmm0, xmm6
mulss xmm7, dword [rax + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x24], xmm0
movss xmm0, dword [rsi + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x28], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rsp + 0x68]
movaps xmm7, xmm10
mulss xmm0, xmm6
mulss xmm7, dword [rax + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x2c], xmm0
movss xmm0, dword [rsi + 0x24]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x30], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rsp + 0x70]
movaps xmm7, xmm10
mulss xmm0, xmm6
mulss xmm7, dword [rax + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x34], xmm0
movss xmm0, dword [rsi + 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x38], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rsp + 0x78]
movaps xmm7, xmm10
mulss xmm0, xmm6
mulss xmm7, dword [rax + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x3c], xmm0
movss xmm0, dword [rsi + 0x2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x40], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rbp - 0x80]
movaps xmm7, xmm10
mulss xmm0, xmm6
mulss xmm7, dword [rax + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x44], xmm0
movss xmm0, dword [rsi + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x48], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rbp - 0x78]
movaps xmm7, xmm10
mulss xmm0, xmm6
mulss xmm7, dword [rax + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x4c], xmm0
movss xmm0, dword [rsi + 0x34]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x50], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rbp - 0x70]
movaps xmm7, xmm10
mulss xmm0, xmm6
mulss xmm7, dword [rax + rsi]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x54], xmm0
movss xmm0, dword [rsi + 0x38]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm6
movss dword [rbp + rbx*8 + 0x58], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm6
lea rsi, [rsi + 0x40]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x5c], xmm0
add rbx, 0x10
cmp rbx, 0x41
jl 0x180005cc0
mov r12, qword [rbp - 0x58]
lea rsi, [rbp - 0x1c]
mov r14, qword [rsp + 0x40]
mov r15d, 0xd
mov rdi, qword [rbp - 0x68]
sub r14, r12
mov dword [rbp + 0x1e4], 0
lea rbx, [r12 + 0x104]
nop
movss xmm0, dword [rbx + r14 - 0x104]
movaps xmm1, xmm12
mulss xmm0, xmm0
subss xmm1, xmm0
comiss xmm1, xmm9
ja 0x180006130
movaps xmm1, xmm9
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
mulss xmm0, dword [rsi]
mulss xmm1, dword [rsi - 4]
addss xmm0, dword [rbx]
addss xmm1, dword [rbx - 0x104]
movss dword [rbx], xmm0
movss dword [rbx - 0x104], xmm1
movaps xmm1, xmm12
movss xmm0, dword [r14 + rbx - 0x100]
mulss xmm0, xmm0
subss xmm1, xmm0
comiss xmm1, xmm9
ja 0x18000617c
movaps xmm1, xmm9
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
mulss xmm0, dword [rsi + 8]
mulss xmm1, dword [rsi + 4]
addss xmm0, dword [rbx + 4]
addss xmm1, dword [rbx - 0x100]
movss dword [rbx + 4], xmm0
movss dword [rbx - 0x100], xmm1
movaps xmm1, xmm12
movss xmm0, dword [r14 + rbx - 0xfc]
mulss xmm0, xmm0
subss xmm1, xmm0
comiss xmm1, xmm9
ja 0x1800061cb
movaps xmm1, xmm9
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
mulss xmm0, dword [rsi + 0x10]
mulss xmm1, dword [rsi + 0xc]
addss xmm0, dword [rbx + 8]
addss xmm1, dword [rbx - 0xfc]
movss dword [rbx + 8], xmm0
movss dword [rbx - 0xfc], xmm1
movaps xmm1, xmm12
movss xmm0, dword [r14 + rbx - 0xf8]
mulss xmm0, xmm0
subss xmm1, xmm0
comiss xmm1, xmm9
ja 0x18000621a
movaps xmm1, xmm9
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
mulss xmm0, dword [rsi + 0x18]
mulss xmm1, dword [rsi + 0x14]
addss xmm0, dword [rbx + 0xc]
addss xmm1, dword [rbx - 0xf8]
movss dword [rbx + 0xc], xmm0
movss dword [rbx - 0xf8], xmm1
movaps xmm1, xmm12
movss xmm0, dword [r14 + rbx - 0xf4]
mulss xmm0, xmm0
subss xmm1, xmm0
comiss xmm1, xmm9
ja 0x180006269
movaps xmm1, xmm9
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
mulss xmm0, dword [rsi + 0x20]
mulss xmm1, dword [rsi + 0x1c]
add rsi, 0x28
addss xmm0, dword [rbx + 0x10]
addss xmm1, dword [rbx - 0xf4]
movss dword [rbx + 0x10], xmm0
movss dword [rbx - 0xf4], xmm1
add rbx, 0x14
sub r15, 1
jne 0x180006110
mov ebx, dword [rsp + 0x30]
mov rsi, qword [rbp - 0x60]
jmp 0x180006b8e
mov rdx, qword [rsi + 8]
jmp 0x180005bc8
mov rcx, qword [rsi + 8]
mov eax, dword [r12]
mov dword [rcx], eax
jmp case.0x180005bc3.4
xor r14d, r14d
movaps xmm8, xmm9
cmp dword [rsi + 0xd6b8], 0x7d00
movaps xmm7, xmm9
mov dword [rsp + 0x48], r14d
jne case.0x180005bc3.4
mov eax, 4
mov dword [rsp + 0x38], eax
nop dword [rax + rax]
sub eax, 4
je 0x180006a03
sub eax, 0x53
je 0x18000695d
sub eax, 0x53
je 0x1800065c5
cmp eax, 0x53
jne 0x180006a6f
lea r8, [rbp + 0xc]
sub r8, rdi
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x58], r8
lea rdx, [rbp - 0x1c]
lea r8, [rbp + 0x10]
sub rcx, rdi
sub r8, rdi
lea r9, [rbp - 0x18]
mov qword [rbp - 0x70], r8
lea r10, [rbp - 0x14]
lea r8, [rbp + 0x14]
sub rdx, rdi
sub r8, rdi
lea r11, [rbp - 0x10]
mov qword [rbp - 0x78], r8
lea rbx, [rbp - 0xc]
lea r8, [rbp + 0x18]
sub r9, rdi
sub r8, rdi
lea rsi, [rbp - 8]
mov qword [rbp - 0x80], r8
lea r14, [rbp - 4]
lea r8, [rbp + 0x1c]
sub r10, rdi
sub r8, rdi
lea r15, [rbp]
mov qword [rsp + 0x78], r8
lea r12, [rbp + 4]
lea r8, [rbp + 0x20]
sub r11, rdi
sub r8, rdi
lea r13, [rbp + 8]
mov qword [rsp + 0x70], r8
lea rax, [rdi + 8]
sub rbx, rdi
lea r8, [rbp + 0x24]
sub r8, rdi
sub rsi, rdi
mov qword [rsp + 0x68], r8
sub r14, rdi
sub r15, rdi
lea r8, [rbp + 0x28]
sub r8, rdi
sub r12, rdi
mov qword [rsp + 0x60], r8
sub r13, rdi
lea r8, [rbp + 0x2c]
sub r8, rdi
mov qword [rbp - 0x48], r8
lea r8, [rbp + 0x30]
sub r8, rdi
mov qword [rbp - 0x40], r8
lea r8, [rbp + 0x34]
sub r8, rdi
mov qword [rbp - 0x38], r8
lea r8, [rbp + 0x38]
sub r8, rdi
mov qword [rbp - 0x30], r8
lea r8, [rbp + 0x3c]
sub r8, rdi
mov rdi, qword [rsp + 0x58]
mov qword [rbp - 0x28], r8
mov r8d, 5
movaps xmm0, xmm7
movaps xmm1, xmm7
mulss xmm0, dword [rcx + rax - 8]
mulss xmm1, dword [rdx + rax - 8]
movss dword [rax - 8], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rcx + rax]
movss dword [rax - 4], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [rdx + rax]
movss dword [rax], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [r9 + rax]
movss dword [rax + 4], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [r10 + rax]
movss dword [rax + 8], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [r11 + rax]
movss dword [rax + 0xc], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [rbx + rax]
movss dword [rax + 0x10], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rsi + rax]
movss dword [rax + 0x14], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [r14 + rax]
movss dword [rax + 0x18], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [r15 + rax]
movss dword [rax + 0x1c], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [r12 + rax]
movss dword [rax + 0x20], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rax + r13]
movss dword [rax + 0x24], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [rdi + rax]
mov rdi, qword [rbp - 0x70]
movss dword [rax + 0x28], xmm0
movaps xmm0, xmm7
movss dword [rax + 0x2c], xmm1
movaps xmm1, xmm7
mulss xmm0, dword [rdi + rax]
mov rdi, qword [rbp - 0x78]
movss dword [rax + 0x30], xmm0
movaps xmm0, xmm7
mulss xmm1, dword [rdi + rax]
mov rdi, qword [rbp - 0x80]
movss dword [rax + 0x34], xmm1
movaps xmm1, xmm7
mulss xmm0, dword [rdi + rax]
mov rdi, qword [rsp + 0x78]
movss dword [rax + 0x38], xmm0
movaps xmm0, xmm7
mulss xmm1, dword [rdi + rax]
mov rdi, qword [rsp + 0x70]
movss dword [rax + 0x3c], xmm1
movaps xmm1, xmm7
mulss xmm0, dword [rdi + rax]
mov rdi, qword [rsp + 0x68]
movss dword [rax + 0x40], xmm0
movaps xmm0, xmm7
mulss xmm1, dword [rdi + rax]
mov rdi, qword [rsp + 0x60]
movss dword [rax + 0x44], xmm1
movaps xmm1, xmm7
mulss xmm0, dword [rdi + rax]
mov rdi, qword [rbp - 0x48]
movss dword [rax + 0x48], xmm0
movaps xmm0, xmm7
mulss xmm1, dword [rdi + rax]
mov rdi, qword [rbp - 0x40]
movss dword [rax + 0x4c], xmm1
movaps xmm1, xmm7
mulss xmm0, dword [rdi + rax]
mov rdi, qword [rbp - 0x38]
movss dword [rax + 0x50], xmm0
mulss xmm1, dword [rdi + rax]
mov rdi, qword [rbp - 0x30]
movaps xmm0, xmm7
movss dword [rax + 0x54], xmm1
movaps xmm1, xmm7
lea rax, [rax + 0x68]
mulss xmm0, dword [rdi + rax - 0x68]
mov rdi, qword [rbp - 0x28]
movss dword [rax - 0x10], xmm0
mulss xmm1, dword [rdi + rax - 0x68]
mov rdi, qword [rsp + 0x58]
movss dword [rax - 0xc], xmm1
sub r8, 1
jne 0x180006414
mov rdi, qword [rbp - 0x68]
mov r14d, dword [rsp + 0x48]
jmp 0x180006a6a
mov ebx, 1
nop word [rax + rax]
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x1ec]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 - 0x20], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x1f0]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 - 0x1c], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 - 0x18], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x1f4]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 - 0x14], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 - 0x10], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x1f8]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 - 0xc], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 - 8], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x1fc]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 - 4], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x200]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 4], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 8], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x204]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0xc], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x10], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x208]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x14], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x18], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x20c]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x1c], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x20], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x210]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x24], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x28], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x214]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x2c], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x30], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x218]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x34], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x38], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x21c]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x3c], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x40], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x220]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x44], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x48], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x224]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x4c], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x50], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
movaps xmm6, xmm10
mulss xmm6, dword [rbp + rbx*4 + 0x228]
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x54], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
movss dword [rbp + rbx*8 + 0x58], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
xorps xmm0, xmm11
movss dword [rbp + rbx*8 + 0x5c], xmm0
add rbx, 0x10
cmp rbx, 0x41
jl 0x1800065d0
mov dword [rbp + 0x1e4], 0
jmp 0x180006a6a
mov r14d, 0x21
lea rbx, [r8 + 0x88]
mov dword [rsp + 0x48], r14d
mov esi, 0xb
nop dword [rax]
nop dword [rax + rax]
movss xmm0, dword [rbx - 8]
movaps xmm1, xmm12
mulss xmm0, xmm0
subss xmm1, xmm0
comiss xmm1, xmm9
ja 0x18000699b
movaps xmm1, xmm9
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [rbx - 4]
addss xmm7, xmm0
mulss xmm1, xmm1
movaps xmm0, xmm12
subss xmm0, xmm1
comiss xmm0, xmm9
ja 0x1800069c2
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [rbx]
addss xmm7, xmm0
mulss xmm1, xmm1
movaps xmm0, xmm12
subss xmm0, xmm1
comiss xmm0, xmm9
ja 0x1800069e5
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
add rbx, 0xc
addss xmm7, xmm0
sub rsi, 1
jne 0x180006980
divss xmm7, xmm13
mov qword [rbp - 0x20], rsi
jmp 0x180006a6a
mov rbx, qword [rbp + 0x460]
mov esi, 0xb
add rbx, 0x88
add r14d, 0x21
mov dword [rsp + 0x48], r14d
nop
movss xmm0, dword [rbx - 8]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movss xmm0, dword [rbx - 4]
addss xmm6, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm8, xmm6
addss xmm8, xmm0
movss xmm0, dword [rbx]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
add rbx, 0xc
addss xmm8, xmm0
sub rsi, 1
jne 0x180006a20
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
divss xmm8, xmm0
mov r8, qword [rsp + 0x40]
mov eax, dword [rsp + 0x38]
add eax, 0x53
mov dword [rsp + 0x38], eax
cmp eax, 0x150
jb 0x180006300
mov ebx, dword [rsp + 0x30]
mov rsi, qword [rbp - 0x60]
mov r12, qword [rbp - 0x58]
jmp 0x180006b8e
mov dword [rbp - 0x20], 0
jmp case.0x180005bc3.4
mov eax, dword [r12]
lea rcx, [rsp + 0x38]
mov edx, 0x11b
mov dword [rsp + 0x38], eax
call fcn.180005600
mov rcx, qword [rsi]
mov dword [rcx], eax
jmp 0x180006b8e
movss xmm10, dword [0x180057210]
lea rax, [rsp + 0x50]
mov word [rsp + 0x50], r9w
lea r8, [rsi + 0xd6bc]
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x2f0]
lea edx, [r9 + 0x7b]
call fcn.18003a930
movaps xmm2, xmmword [0x1800572c0]
xor eax, eax
nop
movq xmm0, qword [rbp + rax*2 + 0x2f0]
movq xmm1, qword [rbp + rax*2 + 0x2f8]
punpcklwd xmm0, xmm0
psrad xmm0, 0x10
cvtdq2ps xmm0, xmm0
punpcklwd xmm1, xmm1
mulps xmm0, xmm2
psrad xmm1, 0x10
movups xmmword [rbp + rax*4 + 0x1f0], xmm0
cvtdq2ps xmm0, xmm1
movq xmm1, qword [rbp + rax*2 + 0x300]
mulps xmm0, xmm2
punpcklwd xmm1, xmm1
psrad xmm1, 0x10
movups xmmword [rbp + rax*4 + 0x200], xmm0
cvtdq2ps xmm0, xmm1
movq xmm1, qword [rbp + rax*2 + 0x308]
mulps xmm0, xmm2
punpcklwd xmm1, xmm1
psrad xmm1, 0x10
movups xmmword [rbp + rax*4 + 0x210], xmm0
cvtdq2ps xmm0, xmm1
mulps xmm0, xmm2
movups xmmword [rbp + rax*4 + 0x220], xmm0
add rax, 0x10
cmp rax, 0x40
jl 0x180006b00
mov r9d, 0x40
lea rdx, [0x180000000]
mov r8, qword [rsp + 0x40]
dec ebx
sub qword [rbp - 0x50], 1
mov dword [rsp + 0x30], ebx
jne 0x180005bb0
movaps xmm13, xmmword [rsp + 0x480]
movaps xmm12, xmmword [rsp + 0x490]
movaps xmm11, xmmword [rsp + 0x4a0]
movaps xmm10, xmmword [rsp + 0x4b0]
movaps xmm9, xmmword [rsp + 0x4c0]
movaps xmm8, xmmword [rsp + 0x4d0]
movaps xmm7, xmmword [rsp + 0x4e0]
movaps xmm6, xmmword [rsp + 0x4f0]
mov r15, qword [rsp + 0x500]
mov r14, qword [rsp + 0x508]
mov r13, qword [rsp + 0x510]
mov rbx, qword [rsp + 0x550]
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.18004c9e0
add rsp, 0x518
pop r12
pop rdi
pop rsi
pop rbp
ret