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

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x180250d00]
mov eax, dword [rbx + 0x4078]
sub eax, 1
js 0x18008ec5d
mov r8, qword [rbx + 0x4080]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x18008ec53
test dword [rcx + 0xc], 0x8000000
je 0x18008ec53
cmp byte [rcx + 0x96], 0
je 0x18008ec53
cmp byte [rcx + 0x9d], 0
je 0x18008ec5f
sub r8, 0x38
sub rdx, 1
jns 0x18008ec30
xor ecx, ecx
movss xmm1, dword [rbx + 0x424c]
xorps xmm0, xmm0
comiss xmm1, xmm0
ja 0x18008ec7c
comiss xmm0, dword [rbx + 0x4234]
jae 0x18008ef60
mov r8, qword [rbx + 0x4220]
test r8, r8
je 0x18008ec96
cmp byte [r8 + 0x96], 0
je 0x18008ec96
mov al, 1
jmp 0x18008ec98
xor al, al
test rcx, rcx
jne 0x18008ee7d
test al, al
je 0x18008ef60
movups xmm0, xmmword [rbx + 0x3bd8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x78], rsi
mulss xmm1, dword [rbx + 0x37e0]
mov qword [rsp + 0x80], rdi
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.1800888a0
mov edx, eax
mov rcx, r8
call fcn.18008e9b0
mov rdi, qword [rbx + 0x4220]
movss xmm1, dword [rbx + 0x3c00]
mov rax, qword [0x180250d00]
movss xmm5, dword [rdi + 0x18]
movss xmm4, dword [rdi + 0x1c]
movaps xmm3, xmm5
addss xmm5, dword [rdi + 0x20]
mov rcx, qword [rax + 0x40a8]
subss xmm3, xmm1
movaps xmm2, xmm4
addss xmm4, dword [rdi + 0x24]
subss xmm2, xmm1
mov rsi, qword [rcx]
addss xmm5, xmm1
movss dword [rsp + 0x40], xmm3
addss xmm4, xmm1
movss dword [rsp + 0x44], xmm2
movaps xmm0, xmm5
movss dword [rsp + 0x48], xmm5
subss xmm0, xmm3
movss dword [rsp + 0x4c], xmm4
comiss xmm0, dword [rsi + 0xc]
jb 0x18008eda2
movaps xmm0, xmm4
subss xmm0, xmm2
comiss xmm0, dword [rsi + 0x10]
jb 0x18008eda2
xorps xmm1, xmmword [0x1801570a0]
subss xmm1, dword [0x1801563bc]
movaps xmm0, xmm1
subss xmm3, xmm1
subss xmm2, xmm1
addss xmm0, xmm5
addss xmm1, xmm4
movss dword [rsp + 0x40], xmm3
movss dword [rsp + 0x44], xmm2
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
mov rcx, qword [rdi + 0x298]
cmp dword [rcx], 0
jne 0x18008edb3
call fcn.18009f8d0
movss xmm0, dword [rsi + 0xc]
lea rdx, [rsi + 4]
movss xmm1, dword [rsi + 0x10]
lea r8, [rsp + 0x70]
addss xmm0, dword [rdx]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rdi + 0x298]
xor r9d, r9d
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
call fcn.18009fba0
mov rax, qword [0x180250d00]
lea rcx, [rsp + 0x50]
movss xmm0, dword [rbx + 0x4234]
movups xmm1, xmmword [rax + 0x3bc8]
mulss xmm0, dword [rax + 0x37e0]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.1800888a0
movss xmm0, dword [0x180156710]
lea r8, [rsp + 0x48]
mov rcx, qword [rdi + 0x298]
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
movss xmm0, dword [rdi + 0x50]
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm0
call fcn.1800a2350
mov rcx, qword [rdi + 0x298]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rbx
jmp fcn.18009fcb0
mov r11, qword [rbx + 0x3e48]
mov r9, rcx
movsxd rax, dword [rbx + 0x3e40]
mov rdx, r11
lea r8, [r11 + rax*8]
cmp r11, r8
jae 0x18008eeae
nop word [rax + rax]
cmp qword [rdx], rcx
je 0x18008eeae
add rdx, 8
cmp rdx, r8
jb 0x18008eea0
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x18008ef25
movsxd r10, edx
lea r11, [r11 + r10*8]
mov rdx, qword [r11]
mov r8d, dword [rdx + 0xc]
bt r8d, 0x18
jb 0x18008ef1b
mov rax, rdx
cmp qword [rdx + 0x378], rcx
je 0x18008eef3
nop word [rax + rax]
cmp rax, rcx
je 0x18008eef3
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18008eee0
jmp 0x18008ef25
cmp byte [rdx + 0x96], 0
je 0x18008ef1b
cmp byte [rdx + 0x9d], 0
jne 0x18008ef1b
mov eax, dword [rcx + 0xc]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x18008eec0
movups xmm0, xmmword [rbx + 0x3be8]
lea rcx, [rsp + 0x50]
mulss xmm1, dword [rbx + 0x37e0]
movups xmmword [rsp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
call fcn.1800888a0
mov edx, eax
mov rcx, r9
add rsp, 0x60
pop rbx
jmp fcn.18008e9b0
add rsp, 0x60
pop rbx
ret