Function at 0x140066ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov eax, dword [rdx + 0x30]
xor r14d, r14d
mov r12d, dword [rcx]
and eax, 3
xor edi, edi
mov r15, r8
mov rbp, rdx
mov rbx, rcx
cmp al, 3
jne 0x14006708b
movss xmm3, dword [rcx + 0x9c]
movaps xmm0, xmm3
addss xmm0, xmm3
addss xmm3, dword [0x1400accc4]
cvttss2si eax, xmm0
movsxd rdx, eax
mov rax, qword [rbp + 0x38]
add rdx, rdx
mov rcx, qword [rax + 0x208]
movups xmm2, xmmword [rcx + rdx*8]
movss dword [rbx + 0xa8], xmm2
movaps xmm0, xmm2
movaps xmm1, xmm2
shufps xmm0, xmm2, 0x55
movss dword [rbx + 0xac], xmm0
shufps xmm1, xmm2, 0xaa
shufps xmm2, xmm2, 0xff
movss dword [rbx + 0xb0], xmm1
movss dword [rbx + 0xb4], xmm2
movss dword [rbx + 0x9c], xmm3
jmp 0x1400670b8
mov rax, qword [rdx + 0x38]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rcx + 0xb0], xmm0
movss dword [rcx + 0xb4], xmm1
movss dword [rcx + 0xa8], xmm0
movss dword [rcx + 0xac], xmm1
test r12d, r12d
je 0x14006762d
mov qword [rsp + 0xb8], rsi
mov r8d, 0x40
mov qword [rsp + 0xc0], r13
lea r13, [rbx + 0x88]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x30], xmm10
movaps xmmword [rsp + 0x20], xmm11
xorps xmm11, xmm11
nop dword [rax]
nop dword [rax + rax]
mov r9d, dword [rbx + 0x8c]
xor edx, edx
mov eax, 0xffff
mov ecx, r12d
sub eax, dword [rbp + 0x34]
div r9d
cmp r12d, eax
mov esi, eax
cmovb esi, r12d
cmp r12d, 0x40
cmova ecx, r8d
cmp esi, ecx
jb 0x140067174
cmp r14d, esi
jb 0x14006714d
sub r14d, esi
lea r13, [rbx + 0x88]
jmp 0x1400671cc
mov edx, esi
mov rcx, rbp
sub edx, r14d
mov r8d, edx
imul edx, dword [rbx + 0x88]
imul r8d, r9d
call fcn.14003a7c0
xor r14d, r14d
lea r13, [rbx + 0x88]
jmp 0x1400671cc
test r14d, r14d
je 0x14006719f
movsxd rax, dword [rbp]
mov edx, r14d
imul edx, dword [r13]
imul rcx, rax, 0x38
imul r9d, r14d
mov rax, qword [rbp + 8]
sub dword [rcx + rax - 0x18], edx
sub dword [rbp + 0x20], r9d
sub dword [rbp + 0x10], edx
xor r14d, r14d
mov r8d, dword [rbx + 0x8c]
xor edx, edx
mov eax, 0xffff
mov rcx, rbp
div r8d
cmp r12d, eax
mov esi, eax
cmovb esi, r12d
mov edx, esi
imul r8d, esi
imul edx, dword [r13]
call fcn.14003a7c0
sub r12d, esi
mov rax, r13
add esi, edi
mov dword [rsp + 0xb0], r12d
cmp edi, esi
je 0x1400675c1
mov r12d, 2
nop word [rax + rax]
mov r8, qword [rbx + 0x90]
xor ecx, ecx
mov edx, dword [r8 + 0x24]
test edx, edx
movsxd r10, dword [r8 + 0x28]
mov r11d, dword [r8 + 0x20]
sete cl
mov r9, qword [r8 + 0x18]
xor eax, eax
cmp r10d, 8
cmove eax, r12d
or ecx, eax
je 0x140067258
sub ecx, 1
je 0x140067250
sub ecx, 1
je 0x14006723c
cmp ecx, 1
je 0x140067230
xorps xmm6, xmm6
jmp 0x14006726e
movsxd rax, edi
movsd xmm6, qword [r9 + rax*8 + 8]
jmp 0x14006726e
lea eax, [rdx + 1]
add eax, edi
cdq
idiv r11d
movsxd rax, edx
movsd xmm6, qword [r9 + rax*8]
jmp 0x14006726e
movsxd rcx, edi
inc rcx
jmp 0x140067264
lea eax, [rdx + 1]
add eax, edi
cdq
idiv r11d
movsxd rcx, edx
imul rcx, r10
movsd xmm6, qword [rcx + r9]
mov edx, dword [r8 + 0xc]
xor ecx, ecx
movsxd r10, dword [r8 + 0x10]
test edx, edx
mov r11d, dword [r8 + 8]
mov r9, qword [r8]
sete cl
xor eax, eax
cmp r10d, 8
cmove eax, r12d
or ecx, eax
je 0x1400672ce
sub ecx, 1
je 0x1400672c6
sub ecx, 1
je 0x1400672b2
cmp ecx, 1
je 0x1400672a6
xorps xmm3, xmm3
jmp 0x1400672e4
movsxd rax, edi
movsd xmm3, qword [r9 + rax*8 + 8]
jmp 0x1400672e4
lea eax, [rdx + 1]
add eax, edi
cdq
idiv r11d
movsxd rax, edx
movsd xmm3, qword [r9 + rax*8]
jmp 0x1400672e4
movsxd rcx, edi
inc rcx
jmp 0x1400672da
lea eax, [rdx + 1]
add eax, edi
cdq
idiv r11d
movsxd rcx, edx
imul rcx, r10
movsd xmm3, qword [rcx + r9]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14006731f
mov rdx, qword [rbx + 0x40]
movaps xmm0, xmm3
call rax
movsd xmm1, qword [rbx + 0x20]
movaps xmm3, xmm0
subsd xmm3, qword [rbx + 8]
movsd xmm0, qword [rbx + 0x10]
subsd xmm0, qword [rbx + 8]
subsd xmm1, qword [rbx + 0x18]
divsd xmm3, xmm0
mulsd xmm3, xmm1
addsd xmm3, qword [rbx + 0x18]
subsd xmm3, qword [rbx + 0x18]
mov rax, qword [rbx + 0x78]
xorps xmm7, xmm7
mulsd xmm3, qword [rbx + 0x30]
addsd xmm3, qword [rbx + 0x28]
cvtsd2ss xmm7, xmm3
test rax, rax
je 0x140067373
mov rdx, qword [rbx + 0x80]
movaps xmm0, xmm6
call rax
movsd xmm1, qword [rbx + 0x60]
movaps xmm6, xmm0
subsd xmm6, qword [rbx + 0x48]
movsd xmm0, qword [rbx + 0x50]
subsd xmm0, qword [rbx + 0x48]
subsd xmm1, qword [rbx + 0x58]
divsd xmm6, xmm0
mulsd xmm6, xmm1
addsd xmm6, qword [rbx + 0x58]
subsd xmm6, qword [rbx + 0x58]
movss xmm8, dword [rbx + 0xa0]
xorps xmm4, xmm4
movss xmm0, dword [r15 + 0xc]
movaps xmm5, xmm8
movaps xmm3, xmm8
maxss xmm5, xmm7
minss xmm3, xmm7
mulsd xmm6, qword [rbx + 0x70]
addsd xmm6, qword [rbx + 0x68]
cvtsd2ss xmm4, xmm6
movss xmm6, dword [rbx + 0xa4]
movaps xmm1, xmm6
movaps xmm2, xmm6
minss xmm1, xmm4
maxss xmm2, xmm4
comiss xmm0, xmm1
jbe 0x140067595
comiss xmm2, dword [r15 + 4]
jbe 0x140067595
movss xmm0, dword [r15 + 8]
comiss xmm0, xmm3
jbe 0x140067595
comiss xmm5, dword [r15]
jbe 0x140067595
movss xmm5, dword [rbx + 0xb0]
movaps xmm2, xmm7
movss xmm9, dword [rbx + 0xb4]
subss xmm2, xmm8
mov ecx, dword [rbx + 0x98]
movaps xmm3, xmm4
movss xmm10, dword [rbx + 0x9c]
subss xmm3, xmm6
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, xmm11
jbe 0x14006743e
rsqrtss xmm0, xmm1
mulss xmm2, xmm0
mulss xmm3, xmm0
mov rax, qword [rbp + 0x48]
mulss xmm3, xmm10
mulss xmm2, xmm10
movaps xmm0, xmm3
addss xmm0, xmm8
movss dword [rax], xmm0
movss xmm1, dword [rbx + 0xa4]
mov rax, qword [rbp + 0x48]
subss xmm1, xmm2
movss dword [rax + 4], xmm1
movaps xmm1, xmm4
movsd xmm0, qword [rbx + 0xa8]
subss xmm1, xmm2
mov rax, qword [rbp + 0x48]
movsd qword [rax + 8], xmm0
movaps xmm0, xmm7
mov rax, qword [rbp + 0x48]
addss xmm0, xmm3
mov dword [rax + 0x10], ecx
mov rax, qword [rbp + 0x48]
movss dword [rax + 0x14], xmm0
mov rax, qword [rbp + 0x48]
movss dword [rax + 0x18], xmm1
movaps xmm1, xmm4
movsd xmm0, qword [rbx + 0xa8]
addss xmm1, xmm2
mov rax, qword [rbp + 0x48]
movsd qword [rax + 0x1c], xmm0
movaps xmm0, xmm7
mov rax, qword [rbp + 0x48]
subss xmm0, xmm3
mov dword [rax + 0x24], ecx
mov rax, qword [rbp + 0x48]
movss dword [rax + 0x28], xmm0
mov rax, qword [rbp + 0x48]
movss dword [rax + 0x2c], xmm1
mov rax, qword [rbp + 0x48]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm9
mov rax, qword [rbp + 0x48]
mov dword [rax + 0x38], ecx
movss xmm0, dword [rbx + 0xa0]
mov rax, qword [rbp + 0x48]
subss xmm0, xmm3
movss dword [rax + 0x3c], xmm0
addss xmm2, dword [rbx + 0xa4]
mov rax, qword [rbp + 0x48]
movss dword [rax + 0x40], xmm2
mov rax, qword [rbp + 0x48]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm9
mov rax, qword [rbp + 0x48]
mov dword [rax + 0x4c], ecx
mov rcx, qword [rbp + 0x50]
movzx eax, word [rbp + 0x34]
add qword [rbp + 0x48], 0x50
mov word [rcx], ax
movzx ecx, word [rbp + 0x34]
mov rax, qword [rbp + 0x50]
inc cx
mov word [rax + 2], cx
mov rax, qword [rbp + 0x50]
movzx ecx, word [rbp + 0x34]
add cx, r12w
mov word [rax + 4], cx
mov rcx, qword [rbp + 0x50]
movzx eax, word [rbp + 0x34]
mov word [rcx + 6], ax
mov rax, qword [rbp + 0x50]
movzx ecx, word [rbp + 0x34]
add cx, r12w
mov word [rax + 8], cx
movzx ecx, word [rbp + 0x34]
mov rax, qword [rbp + 0x50]
add cx, 3
mov word [rax + 0xa], cx
add qword [rbp + 0x50], 0xc
add dword [rbp + 0x34], 4
jmp 0x140067598
inc r14d
inc edi
movss dword [rbx + 0xa4], xmm4
movss dword [rbx + 0xa0], xmm7
cmp edi, esi
jne 0x1400671f0
mov r12d, dword [rsp + 0xb0]
lea rax, [rbx + 0x88]
mov r8d, 0x40
test r12d, r12d
jne 0x140067110
movaps xmm11, xmmword [rsp + 0x20]
movaps xmm10, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r13, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xb8]
test r14d, r14d
je 0x14006762d
mov edx, r14d
imul r14d, dword [rax]
movsxd rax, dword [rbp]
imul edx, dword [rbx + 0x8c]
imul rcx, rax, 0x38
mov rax, qword [rbp + 8]
sub dword [rcx + rax - 0x18], r14d
sub dword [rbp + 0x20], edx
sub dword [rbp + 0x10], r14d
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret