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

Disassembly:
push rbx
sub rsp, 0x80
mov rbx, qword [0x1401d8060]
mov eax, dword [rbx + 0x4000]
sub eax, 1
js 0x140009461
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 0x140009457
test dword [rcx + 0xc], 0x8000000
je 0x140009457
cmp byte [rcx + 0x8e], 0
je 0x140009457
cmp byte [rcx + 0x95], 0
je 0x140009463
sub r8, 0x30
sub rdx, 1
jns 0x140009434
xor ecx, ecx
vmovss xmm2, dword [rbx + 0x41c4]
vxorps xmm0, xmm0, xmm0
vcomiss xmm2, xmm0
ja 0x140009483
vcomiss xmm0, dword [rbx + 0x41bc]
jae 0x14000981e
mov r8, qword [rbx + 0x41a8]
test r8, r8
je 0x14000949d
cmp byte [r8 + 0x8e], 0
je 0x14000949d
mov al, 1
jmp 0x14000949f
xor al, al
test rcx, rcx
jne 0x14000973a
test al, al
je 0x14000981e
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.140003680
mov edx, eax
mov rcx, r8
call fcn.1400091c0
mov rsi, qword [rbx + 0x41a8]
vmovss xmm2, dword [rbx + 0x3b98]
mov rax, qword [0x1401d8060]
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 0x14000958d
vsubss xmm0, xmm6, xmm8
vcomiss xmm0, dword [rdi + 0x10]
jb 0x14000958d
vxorps xmm0, xmm2, xmmword [0x1401b9f60]
vsubss xmm1, xmm0, dword [0x1401b9a40]
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 0x14000959e
call fcn.140020d80
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.140021030
mov rax, qword [0x1401d8060]
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.140003680
mov ebx, eax
test eax, 0xff000000
je 0x1400096d1
test byte [rdi + 0x30], 1
lea r8, [rsp + 0x90]
vmovss xmm1, dword [0x1401b99d4]
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 0x140009677
vsubss xmm0, xmm7, xmm1
vsubss xmm1, xmm6, xmm1
jmp 0x140009687
vsubss xmm0, xmm7, dword [0x1401b99d0]
vsubss xmm1, xmm6, dword [0x1401b99d0]
vmovss dword [rsp + 0x90], xmm0
vmovss dword [rsp + 0x94], xmm1
call fcn.1400231b0
vmovss xmm0, dword [0x1401b9ab8]
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.140021460
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 0x140009715
mov rax, qword [rcx + 0x38]
add rax, 0x1c
jmp 0x140009721
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.140020e40
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 0x140009765
cmp qword [rdx], rcx
je 0x140009765
add rdx, 8
cmp rdx, r8
jb 0x140009757
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x1400097e5
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 0x1400097db
mov rax, rdx
cmp qword [rdx + 0x350], rcx
je 0x1400097b3
nop word [rax + rax]
cmp rax, rcx
je 0x1400097b3
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x1400097a0
jmp 0x1400097e5
cmp byte [rdx + 0x8e], 0
je 0x1400097db
cmp byte [rdx + 0x95], 0
jne 0x1400097db
mov eax, dword [rcx + 0xc]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x140009780
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.140003680
mov edx, eax
mov rcx, r9
call fcn.1400091c0
add rsp, 0x80
pop rbx
ret