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

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, qword [0x1803c8b30]
mov eax, dword [rbx + 0x4000]
sub eax, 1
js 0x180009071
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 0x180009067
test dword [rcx + 0xc], 0x8000000
je 0x180009067
cmp byte [rcx + 0x8e], 0
je 0x180009067
cmp byte [rcx + 0x95], 0
je 0x180009073
sub r8, 0x30
sub rdx, 1
jns 0x180009044
xor ecx, ecx
vmovss xmm2, dword [rbx + 0x41c4]
vxorps xmm0, xmm0, xmm0
vcomiss xmm2, xmm0
ja 0x180009093
vcomiss xmm0, dword [rbx + 0x41bc]
jae 0x18000942e
mov r8, qword [rbx + 0x41a8]
test r8, r8
je 0x1800090ad
cmp byte [r8 + 0x8e], 0
je 0x1800090ad
mov al, 1
jmp 0x1800090af
xor al, al
test rcx, rcx
jne 0x18000934a
test al, al
je 0x18000942e
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.1800031a0
mov edx, eax
mov rcx, r8
call fcn.180008dd0
mov rsi, qword [rbx + 0x41a8]
vmovss xmm2, dword [rbx + 0x3b98]
mov rax, qword [0x1803c8b30]
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 0x18000919d
vsubss xmm0, xmm6, xmm8
vcomiss xmm0, dword [rdi + 0x10]
jb 0x18000919d
vxorps xmm0, xmm2, xmmword [0x1803bf0e0]
vsubss xmm1, xmm0, dword [0x1803beaf4]
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 0x1800091ae
call fcn.1800203a0
vmovss xmm3, dword [rdi + 4]
vmovss xmm2, dword [rdi + 8]
vaddss xmm0, xmm2, dword [rdi + 0x10]
vaddss xmm1, xmm3, dword [rdi + 0xc]
mov rcx, qword [rsi + 0x270]
xor r9d, r9d
vunpcklps xmm0, xmm1, xmm0
vunpcklps xmm2, xmm3, xmm2
vmovq r8, xmm0
vmovq rdx, xmm2
call fcn.180020650
mov rax, qword [0x1803c8b30]
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.1800031a0
mov ebx, eax
test eax, 0xff000000
je 0x1800092e1
test byte [rdi + 0x30], 1
lea r8, [rsp + 0x90]
vmovss xmm1, dword [0x1803bea9c]
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 0x180009287
vsubss xmm0, xmm7, xmm1
vsubss xmm1, xmm6, xmm1
jmp 0x180009297
vsubss xmm0, xmm7, dword [0x1803bea98]
vsubss xmm1, xmm6, dword [0x1803bea98]
vmovss dword [rsp + 0x90], xmm0
vmovss dword [rsp + 0x94], xmm1
call fcn.1800227c0
vmovss xmm0, dword [0x1803beb68]
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.180020a50
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]
mov rdi, qword [rsp + 0xa8]
sub eax, 1
mov rsi, qword [rsp + 0xa0]
mov dword [rcx + 0x58], eax
jne 0x180009325
mov rax, qword [rcx + 0x38]
add rax, 0x1c
jmp 0x180009331
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.180020460
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 0x180009375
cmp qword [rdx], rcx
je 0x180009375
add rdx, 8
cmp rdx, r8
jb 0x180009367
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x1800093f5
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 0x1800093eb
mov rax, rdx
cmp qword [rdx + 0x350], rcx
je 0x1800093c3
nop word [rax + rax]
cmp rax, rcx
je 0x1800093c3
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x1800093b0
jmp 0x1800093f5
cmp byte [rdx + 0x8e], 0
je 0x1800093eb
cmp byte [rdx + 0x95], 0
jne 0x1800093eb
mov eax, dword [rcx + 0xc]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x180009390
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.1800031a0
mov edx, eax
mov rcx, r9
call fcn.180008dd0
add rsp, 0x80
pop rbx
ret