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

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, qword [0x1400bcad0]
mov eax, dword [rbx + 0x4888]
sub eax, 1
js 0x14004caad
mov r8, qword [rbx + 0x4890]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rcx, qword [r8]
test rcx, rcx
je 0x14004caa3
test dword [rcx + 0xc], 0x8000000
je 0x14004caa3
cmp byte [rcx + 0xae], 0
je 0x14004caa3
cmp byte [rcx + 0xb5], 0
je 0x14004caaf
sub r8, 0x38
sub rdx, 1
jns 0x14004ca80
xor ecx, ecx
movss xmm1, dword [rbx + 0x4a64]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x14004cacc
comiss xmm0, dword [rbx + 0x4a4c]
jae 0x14004ce8b
mov r8, qword [rbx + 0x4a38]
test r8, r8
je 0x14004cae6
cmp byte [r8 + 0xae], 0
je 0x14004cae6
mov al, 1
jmp 0x14004cae8
xor al, al
test rcx, rcx
jne 0x14004cdaa
test al, al
je 0x14004ce8b
movups xmm0, xmmword [rbx + 0x3be4]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0xa0], rsi
mulss xmm1, dword [rbx + 0x37e0]
mov qword [rsp + 0xa8], rdi
movups xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x70], xmm6
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movss dword [rsp + 0x3c], xmm0
movaps xmmword [rsp + 0x40], xmm9
call fcn.140046130
mov edx, eax
mov rcx, r8
call fcn.14004c800
mov rdi, qword [rbx + 0x4a38]
movss xmm1, dword [rbx + 0x3c28]
mov rax, qword [0x1400bcad0]
movss xmm9, dword [rdi + 0x18]
movss xmm8, dword [rdi + 0x1c]
movaps xmm7, xmm9
addss xmm9, dword [rdi + 0x20]
mov rcx, qword [rax + 0x48b8]
subss xmm7, xmm1
movaps xmm6, xmm8
addss xmm8, dword [rdi + 0x24]
subss xmm6, xmm1
mov rsi, qword [rcx]
addss xmm9, xmm1
addss xmm8, xmm1
movaps xmm0, xmm9
subss xmm0, xmm7
comiss xmm0, dword [rsi + 0xc]
jb 0x14004cbef
movaps xmm0, xmm8
subss xmm0, xmm6
comiss xmm0, dword [rsi + 0x10]
jb 0x14004cbef
xorps xmm1, xmmword [0x1400a1a70]
subss xmm1, dword [0x1400a1620]
movaps xmm0, xmm1
subss xmm7, xmm1
subss xmm6, xmm1
addss xmm0, xmm9
addss xmm1, xmm8
movaps xmm9, xmm0
movaps xmm8, xmm1
mov rcx, qword [rdi + 0x290]
cmp dword [rcx], 0
jne 0x14004cc00
call fcn.140066b60
movss xmm0, dword [rsi + 4]
lea rdx, [rsi + 4]
movss xmm1, dword [rsi + 0x10]
lea r8, [rsp + 0x90]
addss xmm0, dword [rsi + 0xc]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rdi + 0x290]
xor r9d, r9d
movss dword [rsp + 0x90], xmm0
movss dword [rsp + 0x94], xmm1
call fcn.140066e00
mov rax, qword [0x1400bcad0]
lea rcx, [rsp + 0x30]
movss xmm0, dword [rbx + 0x4a4c]
mov rsi, qword [rdi + 0x290]
movups xmm1, xmmword [rax + 0x3bd4]
mulss xmm0, dword [rax + 0x37e0]
movups xmmword [rsp + 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.140046130
mov ebx, eax
test eax, 0xff000000
je 0x14004cd30
subss xmm9, dword [0x1400a15d0]
subss xmm8, dword [0x1400a15d0]
addss xmm7, dword [0x1400a15d4]
addss xmm6, dword [0x1400a15d4]
movss xmm3, dword [rdi + 0x50]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x98]
movss dword [rsp + 0x90], xmm9
mov rcx, rsi
movss dword [rsp + 0x94], xmm8
movss dword [rsp + 0x98], xmm7
movss dword [rsp + 0x9c], xmm6
mov dword [rsp + 0x20], 0
call fcn.140069050
movss xmm0, dword [0x1400a16a4]
mov r9d, ebx
mov r8d, dword [rsi + 0x78]
mov rcx, rsi
mov rdx, qword [rsi + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.140067200
mov dword [rsi + 0x78], 0
mov rcx, qword [rdi + 0x290]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
mov eax, dword [rcx + 0x58]
movaps xmm6, xmmword [rsp + 0x70]
sub eax, 1
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov dword [rcx + 0x58], eax
jne 0x14004cd87
mov rax, qword [rcx + 0x38]
add rax, 0x1c
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x88], xmm0
add rsp, 0x80
pop rbx
jmp fcn.140066c20
dec eax
cdqe
shl rax, 4
add rax, qword [rcx + 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x88], xmm0
add rsp, 0x80
pop rbx
jmp fcn.140066c20
mov r11, qword [rbx + 0x3e88]
mov r9, rcx
movsxd rax, dword [rbx + 0x3e80]
mov rdx, r11
lea r8, [r11 + rax*8]
cmp r11, r8
jae 0x14004cdd5
cmp qword [rdx], rcx
je 0x14004cdd5
add rdx, 8
cmp rdx, r8
jb 0x14004cdc7
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x14004ce55
movsxd r10, edx
lea r11, [r11 + r10*8]
nop word [rax + rax]
mov rdx, qword [r11]
mov r8d, dword [rdx + 0xc]
bt r8d, 0x18
jb 0x14004ce4b
mov rax, rdx
cmp qword [rdx + 0x370], rcx
je 0x14004ce23
nop word [rax + rax]
cmp rax, rcx
je 0x14004ce23
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x14004ce10
jmp 0x14004ce55
cmp byte [rdx + 0xae], 0
je 0x14004ce4b
cmp byte [rdx + 0xb5], 0
jne 0x14004ce4b
mov eax, dword [rcx + 0xc]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x14004cdf0
movups xmm0, xmmword [rbx + 0x3bf4]
lea rcx, [rsp + 0x30]
mulss xmm1, dword [rbx + 0x37e0]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
call fcn.140046130
mov edx, eax
mov rcx, r9
call fcn.14004c800
add rsp, 0x80
pop rbx
ret