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

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x20]
movsxd r15, dword [rcx + 4]
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], rdi
mov rax, r15
mov r12, r9
shl rax, 2
xor r9d, r9d
mov r13, rdx
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm7
movss xmm7, dword [rcx + 0xc]
movaps xmmword [rbp], xmm8
lea r10, [rax + 0xf]
mov rbx, rcx
mov rdi, r15
mov r14d, r9d
cmp r10, rax
ja 0x1400674b1
movabs r10, 0xffffffffffffff0
and r10, 0xfffffffffffffff0
mov rax, r10
call fcn.14002b2a0
sub rsp, rax
mov eax, dword [rcx + 0xe8]
movss xmm6, dword [r13 + 0x3c]
xorps xmm8, xmm8
cdq
lea rsi, [rsp + 0x20]
sub eax, edx
mov edx, 2
sar eax, 1
cmp eax, edx
mov ecx, eax
cmovl ecx, edx
add eax, 0xfffffffe
mov dword [rbp + 0x60], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
comiss xmm8, xmm6
jbe 0x140067501
movaps xmm6, xmm8
comiss xmm6, dword [r13 + 0x3c]
jbe 0x14006750e
movss xmm6, dword [r13 + 0x3c]
test r15d, r15d
jle 0x14006753e
mov rdx, rsi
sub r8, rsi
mov rcx, rsi
neg rdx
mov rax, qword [rbx + 0x30]
add rax, rdx
movss xmm0, dword [rax + rcx]
mulss xmm0, dword [r8 + rcx]
movss dword [rcx], xmm0
lea rcx, [rcx + 4]
dec rdi
jne 0x14006751f
lea rcx, [rbx + 0x10]
mov r8, rsi
mov rdx, rsi
call fcn.140060670
mov r8, qword [rbp + 0x80]
xor r11d, r11d
movss xmm1, dword [rsi]
movss xmm2, dword [rsi + 4]
movss xmm0, dword [rsi + 4]
movsxd rax, dword [r8 + 0x8c]
mulss xmm1, xmm1
cvtps2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm2, qword [0x140167940]
mulsd xmm2, xmm0
cvtps2pd xmm0, xmm1
movss xmm1, dword [rsi + 8]
addsd xmm2, xmm0
movss xmm0, dword [rsi + 8]
cvtps2pd xmm1, xmm1
mulsd xmm1, qword [0x140167938]
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm0
addsd xmm2, xmm1
cvtpd2ps xmm3, xmm2
movaps xmm1, xmm3
test eax, eax
jne 0x1400675c8
addss xmm1, dword [r8 + 0x88]
movss dword [r8 + 0x88], xmm3
jmp 0x1400675e6
addss xmm1, dword [r8 + 0x84]
movaps xmm0, xmm3
addss xmm0, dword [r8 + 0x88]
movss dword [r8 + 0x88], xmm0
movss xmm4, dword [0x140167968]
movss dword [r8 + 0x84], xmm1
movss xmm0, xmm1
mov r10d, 0x7fffffff
subss xmm0, dword [r8 + rax*4 + 0x48]
cvtps2pd xmm1, xmm1
mulsd xmm1, qword [0x140167930]
movss dword [r8 + 0x84], xmm0
movss dword [r8 + rax*4 + 0x48], xmm3
movss xmm3, dword [0x140167928]
inc dword [r8 + 0x8c]
mov eax, dword [r8 + 0x8c]
cmp eax, 0xf
cmovge eax, r11d
mov dword [r8 + 0x8c], eax
mov eax, r15d
cvtpd2ps xmm0, xmm1
cdq
sub eax, edx
movss dword [rbp + 0x80], xmm0
mov ecx, dword [rbp + 0x80]
sar eax, 1
xorps xmm0, xmm0
and ecx, r10d
cvtsi2ss xmm0, rcx
mulss xmm0, xmm3
subss xmm0, xmm4
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x140161b48]
subsd xmm0, qword [0x140167958]
cvtpd2ps xmm2, xmm0
test eax, eax
jle 0x140067718
lea r9d, [rax - 1]
mov rdx, r11
mov rcx, rsi
shr r9d, 1
inc r9d
movss xmm0, dword [rcx]
movss xmm1, dword [rcx + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
movss dword [rbp + 0x80], xmm1
mov eax, dword [rbp + 0x80]
and eax, r10d
cvtsi2ss xmm0, rax
mulss xmm0, xmm3
subss xmm0, xmm4
mulss xmm0, dword [0x14016103c]
comiss xmm2, xmm0
jbe 0x1400676e9
movaps xmm0, xmm2
comiss xmm7, xmm0
jbe 0x1400676f1
movaps xmm0, xmm7
mov rax, rdx
add rcx, 8
add rdx, 2
sar rax, 1
movss dword [rsi + rax*4], xmm0
cvtps2pd xmm0, xmm2
subsd xmm0, qword [0x140167950]
cvtpd2ps xmm2, xmm0
dec r9
jne 0x1400676a3
lea r9, [r12 + 8]
mov r12d, dword [rbp + 0x60]
mov rdi, r11
lea rbx, [r13 + 0x20]
lea r10, [r8 + 0x44]
mov r15d, 7
movsxd rdx, dword [r9 - 4]
movaps xmm1, xmm8
test rdx, rdx
jle 0x140067767
movsxd r11, dword [r9 - 8]
mov rcx, qword [r9]
shl r11, 2
sub r11, rcx
add r11, rsi
movss xmm0, dword [r11 + rcx]
mulss xmm0, dword [rcx]
add rcx, 4
addss xmm1, xmm0
dec rdx
jne 0x140067750
movsxd r11, dword [r10]
mulss xmm1, dword [r9 + 8]
movss xmm4, dword [0x140167970]
movss xmm5, dword [0x14016796c]
lea edx, [r11 - 1]
test edx, edx
jns 0x14006778b
add edx, 0x11
movsxd rcx, edx
add rcx, rdi
lea rax, [r8 + rcx*4]
movss xmm2, dword [rax]
comiss xmm1, xmm2
jbe 0x1400677a3
movaps xmm3, xmm1
jmp 0x1400677a6
movaps xmm3, xmm2
comiss xmm2, xmm1
jbe 0x1400677ae
movaps xmm2, xmm1
test r12d, r12d
jle 0x1400677de
mov rcx, r12
sub rax, 4
dec edx
jns 0x1400677c5
add edx, 0x11
add rax, 0x44
movss xmm0, dword [rax]
comiss xmm4, xmm0
ja 0x1400677d1
movaps xmm4, xmm0
comiss xmm0, xmm5
ja 0x1400677d9
movaps xmm5, xmm0
dec rcx
jne 0x1400677b6
lea rax, [rdi + r11]
mov r11d, 0
movaps xmm0, xmm6
subss xmm3, xmm4
subss xmm2, xmm5
movss dword [r8 + rax*4], xmm1
inc dword [r10]
mov eax, dword [r10]
cmp eax, 0x11
cmovge eax, r11d
mov dword [r10], eax
addss xmm0, dword [rbx - 0x1c]
comiss xmm3, xmm0
jbe 0x140067817
or r14d, 5
movss xmm0, dword [rbx]
subss xmm0, xmm6
comiss xmm0, xmm2
jbe 0x140067828
or r14d, 2
add r9, 0x18
add rdi, 0x24
add r10, 0x90
add rbx, 4
dec r15
jne 0x140067732
mov rbx, qword [rbp + 0x68]
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x78]
movaps xmm6, xmmword [rbp + 0x20]
movaps xmm7, xmmword [rbp + 0x10]
movaps xmm8, xmmword [rbp]
mov eax, r14d
lea rsp, [rbp + 0x30]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret