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

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x1802a0108]
mov eax, dword [rbx + 0x48c8]
sub eax, 1
js 0x18016dead
mov r8, qword [rbx + 0x48d0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x18016dea3
test dword [rcx + 0x14], 0x8000000
je 0x18016dea3
cmp byte [rcx + 0xb6], 0
je 0x18016dea3
cmp byte [rcx + 0xbd], 0
je 0x18016deaf
sub r8, 0x38
sub rdx, 1
jns 0x18016de80
xor ecx, ecx
movss xmm1, dword [rbx + 0x4abc]
xorps xmm0, xmm0
comiss xmm1, xmm0
ja 0x18016decc
comiss xmm0, dword [rbx + 0x4aa4]
jae 0x18016e1b0
mov r8, qword [rbx + 0x4a90]
test r8, r8
je 0x18016dee6
cmp byte [r8 + 0xb6], 0
je 0x18016dee6
mov al, 1
jmp 0x18016dee8
xor al, al
test rcx, rcx
jne 0x18016e0ce
test al, al
je 0x18016e1b0
movups xmm0, xmmword [rbx + 0x3bf0]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x78], rsi
mulss xmm1, dword [rbx + 0x37c8]
mov qword [rsp + 0x80], rdi
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.180168660
mov edx, eax
mov rcx, r8
call fcn.18016dc00
mov rdi, qword [rbx + 0x4a90]
movss xmm1, dword [rbx + 0x3c40]
mov rax, qword [0x1802a0108]
movss xmm5, dword [rdi + 0x20]
movss xmm4, dword [rdi + 0x24]
movaps xmm3, xmm5
addss xmm5, dword [rdi + 0x28]
mov rcx, qword [rax + 0x48f8]
subss xmm3, xmm1
movaps xmm2, xmm4
addss xmm4, dword [rdi + 0x2c]
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 0x18016dff2
movaps xmm0, xmm4
subss xmm0, xmm2
comiss xmm0, dword [rsi + 0x10]
jb 0x18016dff2
xorps xmm1, xmmword [0x1802360d0]
subss xmm1, dword [0x180234e30]
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 0x18016e003
call fcn.180187270
movss xmm0, dword [rsi + 4]
lea rdx, [rsi + 4]
movss xmm1, dword [rdx + 4]
lea r8, [rsp + 0x70]
addss xmm0, dword [rsi + 0xc]
addss xmm1, dword [rsi + 0x10]
mov rcx, qword [rdi + 0x298]
xor r9d, r9d
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
call fcn.180187530
mov rax, qword [0x1802a0108]
lea rcx, [rsp + 0x50]
movss xmm0, dword [rbx + 0x4aa4]
movups xmm1, xmmword [rax + 0x3be0]
mulss xmm0, dword [rax + 0x37c8]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.180168660
movss xmm0, dword [0x180234eec]
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 + 0x58]
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm0
call fcn.180189b20
mov rcx, qword [rdi + 0x298]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rbx
jmp fcn.180187630
mov r11, qword [rbx + 0x3ec0]
mov r9, rcx
movsxd rax, dword [rbx + 0x3eb8]
mov rdx, r11
lea r8, [r11 + rax*8]
cmp r11, r8
jae 0x18016e0fe
nop dword [rax + rax]
cmp qword [rdx], rcx
je 0x18016e0fe
add rdx, 8
cmp rdx, r8
jb 0x18016e0f0
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x18016e175
movsxd r10, edx
lea r11, [r11 + r10*8]
mov rdx, qword [r11]
mov r8d, dword [rdx + 0x14]
bt r8d, 0x18
jb 0x18016e16b
mov rax, rdx
cmp qword [rdx + 0x378], rcx
je 0x18016e143
nop word [rax + rax]
cmp rax, rcx
je 0x18016e143
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18016e130
jmp 0x18016e175
cmp byte [rdx + 0xb6], 0
je 0x18016e16b
cmp byte [rdx + 0xbd], 0
jne 0x18016e16b
mov eax, dword [rcx + 0x14]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x18016e110
movups xmm0, xmmword [rbx + 0x3c00]
lea rcx, [rsp + 0x50]
mulss xmm1, dword [rbx + 0x37c8]
movups xmmword [rsp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
call fcn.180168660
mov edx, eax
mov rcx, r9
add rsp, 0x60
pop rbx
jmp fcn.18016dc00
add rsp, 0x60
pop rbx
ret