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

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, qword [0x1403cab00]
mov eax, dword [rbx + 0x4000]
sub eax, 1
js 0x140008ea1
mov r8, qword [rbx + 0x4008]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rcx, qword [r8]
test rcx, rcx
je 0x140008e97
test dword [rcx + 0xc], 0x8000000
je 0x140008e97
cmp byte [rcx + 0x8e], 0
je 0x140008e97
cmp byte [rcx + 0x95], 0
je 0x140008ea3
sub r8, 0x30
sub rdx, 1
jns 0x140008e74
xor ecx, ecx
vmovss xmm2, dword [rbx + 0x41c4]
vxorps xmm0, xmm0, xmm0
vcomiss xmm2, xmm0
ja 0x140008ec3
vcomiss xmm0, dword [rbx + 0x41bc]
jae 0x14000925e
mov r8, qword [rbx + 0x41a8]
test r8, r8
je 0x140008edd
cmp byte [r8 + 0x8e], 0
je 0x140008edd
mov al, 1
jmp 0x140008edf
xor al, al
test rcx, rcx
jne 0x14000917a
test al, al
je 0x14000925e
vmovups xmm1, xmmword [rbx + 0x3b70]
vmulss xmm0, xmm2, dword [rbx + 0x3778]
mov qword [rsp + 0xa0], rsi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0xa8], rdi
vmovaps xmmword [rsp + 0x70], xmm6
vmovups xmmword [rsp + 0x30], xmm1
vmovaps xmmword [rsp + 0x60], xmm7
vshufps xmm1, xmm1, xmm1, 0xff
vmulss xmm0, xmm1, xmm0
vmovaps xmmword [rsp + 0x50], xmm8
vmovss dword [rsp + 0x3c], xmm0
vmovaps xmmword [rsp + 0x40], xmm9
call fcn.140003150
mov edx, eax
mov rcx, r8
call fcn.140008c00
mov rsi, qword [rbx + 0x41a8]
vmovss xmm2, dword [rbx + 0x3b98]
mov rax, qword [0x1403cab00]
vmovss xmm0, dword [rsi + 0x10]
vmovss xmm1, dword [rsi + 0x14]
mov rcx, qword [rax + 0x4030]
vsubss xmm9, xmm0, xmm2
vaddss xmm0, xmm0, dword [rsi + 0x18]
vaddss xmm7, xmm0, xmm2
vaddss xmm0, xmm1, dword [rsi + 0x1c]
mov rdi, qword [rcx]
vaddss xmm6, xmm0, xmm2
vsubss xmm0, xmm7, xmm9
vsubss xmm8, xmm1, xmm2
vcomiss xmm0, dword [rdi + 0xc]
jb 0x140008fcd
vsubss xmm0, xmm6, xmm8
vcomiss xmm0, dword [rdi + 0x10]
jb 0x140008fcd
vxorps xmm0, xmm2, xmmword [0x1403c1250]
vsubss xmm1, xmm0, dword [0x1403c0da8]
vsubss xmm9, xmm9, xmm1
vsubss xmm8, xmm8, xmm1
vaddss xmm7, xmm1, xmm7
vaddss xmm6, xmm1, xmm6
mov rcx, qword [rsi + 0x270]
cmp dword [rcx], 0
jne 0x140008fde
call fcn.140020440
vmovss xmm3, dword [rdi + 4]
vmovss xmm2, dword [rdi + 8]
vaddss xmm1, xmm3, dword [rdi + 0xc]
vaddss xmm0, xmm2, dword [rdi + 0x10]
mov rcx, qword [rsi + 0x270]
xor r9d, r9d
vunpcklps xmm0, xmm1, xmm0
vunpcklps xmm1, xmm3, xmm2
vmovq rdx, xmm1
vmovq r8, xmm0
call fcn.140020700
mov rax, qword [0x1403cab00]
lea rcx, [rsp + 0x30]
vmovss xmm0, dword [rbx + 0x41bc]
mov rdi, qword [rsi + 0x270]
vmovups xmm2, xmmword [rax + 0x3b60]
vmulss xmm1, xmm0, dword [rax + 0x3778]
vmovups xmmword [rsp + 0x30], xmm2
vshufps xmm2, xmm2, xmm2, 0xff
vmulss xmm0, xmm2, xmm1
vmovss dword [rsp + 0x3c], xmm0
call fcn.140003150
mov ebx, eax
test eax, 0xff000000
je 0x140009111
test byte [rdi + 0x30], 1
lea r8, [rsp + 0x90]
vmovss xmm1, dword [0x1403c0d3c]
vmovss xmm3, dword [rsi + 0x48]
vaddss xmm2, xmm9, xmm1
vaddss xmm4, xmm8, xmm1
vmovss dword [rsp + 0x98], xmm2
vmovss dword [rsp + 0x9c], xmm4
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x98]
mov rcx, rdi
je 0x1400090b7
vsubss xmm0, xmm7, xmm1
vsubss xmm1, xmm6, xmm1
jmp 0x1400090c7
vsubss xmm0, xmm7, dword [0x1403c0d38]
vsubss xmm1, xmm6, dword [0x1403c0d38]
vmovss dword [rsp + 0x90], xmm0
vmovss dword [rsp + 0x94], xmm1
call fcn.140022880
vmovss xmm0, dword [0x1403c0e28]
mov r8d, dword [rdi + 0x78]
mov r9d, ebx
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
vmovss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.140020b30
mov dword [rdi + 0x78], 0
mov rcx, qword [rsi + 0x270]
vmovaps xmm9, xmmword [rsp + 0x40]
vmovaps xmm8, xmmword [rsp + 0x50]
vmovaps xmm7, xmmword [rsp + 0x60]
mov eax, dword [rcx + 0x58]
vmovaps xmm6, xmmword [rsp + 0x70]
sub eax, 1
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov dword [rcx + 0x58], eax
jne 0x140009155
mov rax, qword [rcx + 0x38]
add rax, 0x1c
jmp 0x140009161
dec eax
cdqe
shl rax, 4
add rax, qword [rcx + 0x60]
vmovups xmm0, xmmword [rax]
vmovups xmmword [rcx + 0x88], xmm0
add rsp, 0x80
pop rbx
jmp fcn.140020500
mov r11, qword [rbx + 0x3dd0]
mov r9, rcx
movsxd rax, dword [rbx + 0x3dc8]
mov rdx, r11
lea r8, [r11 + rax*8]
cmp r11, r8
jae 0x1400091a5
cmp qword [rdx], rcx
je 0x1400091a5
add rdx, 8
cmp rdx, r8
jb 0x140009197
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x140009225
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 0x14000921b
mov rax, rdx
cmp qword [rdx + 0x350], rcx
je 0x1400091f3
nop word [rax + rax]
cmp rax, rcx
je 0x1400091f3
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x1400091e0
jmp 0x140009225
cmp byte [rdx + 0x8e], 0
je 0x14000921b
cmp byte [rdx + 0x95], 0
jne 0x14000921b
mov eax, dword [rcx + 0xc]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x1400091c0
vmovups xmm1, xmmword [rbx + 0x3b80]
vmulss xmm0, xmm2, dword [rbx + 0x3778]
vmovups xmmword [rsp + 0x30], xmm1
vshufps xmm1, xmm1, xmm1, 0xff
vmulss xmm0, xmm1, xmm0
lea rcx, [rsp + 0x30]
vmovss dword [rsp + 0x3c], xmm0
call fcn.140003150
mov edx, eax
mov rcx, r9
call fcn.140008c00
add rsp, 0x80
pop rbx
ret