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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rdi
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x158
test byte [rcx + 0xc], 0x42
mov r15d, r9d
mov r14, qword [0x1400af0e0]
mov rdi, rcx
jne 0x140016006
cmp byte [rcx + 0xe8], 0
jg 0x140016006
cmp byte [rcx + 0xe9], 0
jg 0x140016006
cmp byte [rcx + 0xd0], 0
je 0x140016006
movss xmm1, dword [r14 + 0x1a80]
movss xmm0, dword [rcx + 0x88]
movaps xmm2, xmm1
mulss xmm1, dword [0x14009c358]
mov qword [rax - 0x28], rbx
mulss xmm2, dword [0x14009c3c4]
mov qword [rax - 0x30], rsi
mov qword [rax - 0x38], r12
movzx r12d, byte [r14 + 0xd3]
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movss xmm9, dword [0x14009c3b4]
movaps xmmword [rax - 0x98], xmm10
addss xmm0, xmm9
movaps xmmword [rax - 0xa8], xmm11
xorps xmm11, xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
addss xmm0, xmm1
mov byte [rbp + 0x80], 0
xorps xmm15, xmm15
mov byte [rsp + 0x31], r12b
maxss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x14009c390]
cvttss2si eax, xmm0
cvtsi2ss xmm11, eax
movss dword [rsp + 0x34], xmm11
test r12b, r12b
je 0x1400155b7
movss xmm7, dword [0x14009c3f0]
jmp 0x1400155ba
xorps xmm7, xmm7
test dword [r14 + 0xc], 0x800
movss xmm12, dword [0x14009c464]
movaps xmm13, xmm12
movss dword [rsp + 0x40], xmm7
movaps xmm14, xmm12
movaps xmm10, xmm12
movaps xmm6, xmm12
je 0x1400155f9
mov eax, dword [rcx + 0x40]
cmp dword [r14 + 0x138], eax
jne 0x1400155f9
mov rax, qword [rcx + 0x38]
test byte [rax + 4], 8
jne 0x14001563f
mov rax, qword [rcx + 0x38]
movss xmm3, dword [rax + 8]
movss xmm0, dword [rax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
shufps xmm3, xmm3, 0xe1
movaps xmm2, xmm0
addss xmm2, dword [rax + 0x14]
movss xmm3, xmm0
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movups xmmword [rsp + 0x70], xmm3
movups xmmword [rcx + 0x290], xmm3
mov dword [rcx + 0x18c], 1
lea rcx, str.RESIZE
mov rbx, qword [r14 + 0x1d18]
mov qword [rsp + 0x138], r13
movsxd rdx, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
call fcn.14000c7b0
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
lea rcx, [rbx + 0x108]
call fcn.14002c310
movss xmm8, dword [0x14009c488]
xor esi, esi
test r15d, r15d
jle 0x140015aa9
mov r13, qword [rbp + 0xa0]
lea rbx, [0x1400aca68]
movss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x54]
movaps xmm3, xmm0
addss xmm3, dword [rdi + 0x58]
movaps xmm2, xmm1
addss xmm2, dword [rdi + 0x5c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [rbx - 8]
mulss xmm2, dword [rbx - 4]
addss xmm3, xmm0
movss xmm0, dword [rbx]
movaps xmm5, xmm0
mulss xmm0, xmm7
addss xmm2, xmm1
mulss xmm5, xmm11
movss xmm1, dword [rbx + 4]
movaps xmm4, xmm1
mulss xmm1, xmm7
addss xmm5, xmm3
mulss xmm4, xmm11
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rsp + 0x50], xmm5
comiss xmm3, xmm5
movss dword [rsp + 0x48], xmm3
movss dword [rsp + 0x4c], xmm2
movss dword [rsp + 0x54], xmm4
jbe 0x14001573e
movss dword [rsp + 0x48], xmm5
movss dword [rsp + 0x50], xmm3
comiss xmm2, xmm4
jbe 0x14001574f
movss dword [rsp + 0x4c], xmm4
movss dword [rsp + 0x54], xmm2
mov edx, esi
mov rcx, rdi
call fcn.14000f390
lea r9, [rsp + 0x32]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140042f40
movzx r12d, byte [rsp + 0x30]
movzx r15d, byte [rsp + 0x32]
test r12b, r12b
jne 0x140015791
test r15b, r15b
je 0x140015a34
mov eax, esi
not eax
and eax, 1
add eax, 5
mov dword [r14 + 0x20d0], eax
test r15b, r15b
je 0x140015a34
cmp byte [r14 + 0x41d], 0
je 0x14001585f
test esi, esi
jne 0x14001585f
mov r8, qword [rbp + 0x88]
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.140014cc0
mov rdx, qword [0x1400af0e0]
mov byte [rbp + 0x80], 1
movss xmm10, dword [rax]
movss xmm6, dword [rax + 4]
mov ecx, dword [rdx + 0x1d6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1d78], al
xor eax, eax
test ecx, ecx
je 0x14001581b
mov dword [rdx + 0x1d74], eax
mov word [rdx + 0x1d7b], ax
mov dword [rdx + 0x1da4], 0xffffffff
mov dword [rdx + 0x1d6c], eax
mov word [rdx + 0x1d79], 0
mov qword [rdx + 0x1d98], rax
mov word [rdx + 0x1d7d], 0
mov qword [rdx + 0x1d80], 0
mov qword [rdx + 0x1d88], rax
test r15b, r15b
je 0x140015a4a
mov ecx, 0x20
jmp 0x140015a56
movss xmm11, dword [rbx - 4]
ucomiss xmm11, xmm9
jp 0x14001587b
jne 0x14001587b
mov rax, qword [rbp + 0xa8]
movss xmm7, dword [rax + 4]
jmp 0x140015886
mov rax, qword [rbp + 0xa8]
movaps xmm7, xmm8
movss xmm10, dword [rbx - 8]
ucomiss xmm10, xmm9
jp 0x14001589a
jne 0x14001589a
movss xmm6, dword [rax]
jmp 0x14001589e
movaps xmm6, xmm8
ucomiss xmm11, xmm15
jp 0x1400158ae
jne 0x1400158ae
movss xmm9, dword [rax + 0xc]
jmp 0x1400158b2
movaps xmm9, xmm12
ucomiss xmm10, xmm15
jp 0x1400158c2
jne 0x1400158c2
movss xmm8, dword [rax + 8]
jmp 0x1400158c6
movaps xmm8, xmm12
movss xmm0, dword [rbx]
movss xmm4, dword [rsp + 0x34]
movaps xmm1, xmm0
xorps xmm4, xmmword [0x14009c900]
mulss xmm1, dword [rsp + 0x40]
movaps xmm5, xmm4
movss xmm2, dword [rbx + 4]
mulss xmm5, xmm0
movaps xmm3, xmm2
mulss xmm3, dword [rsp + 0x40]
movss xmm0, dword [r14 + 0x120]
subss xmm5, xmm1
subss xmm0, dword [r14 + 0x1d90]
mulss xmm4, xmm2
mulss xmm5, xmm10
subss xmm4, xmm3
addss xmm5, xmm1
movss xmm1, dword [r14 + 0x124]
subss xmm1, dword [r14 + 0x1d94]
mulss xmm4, xmm11
addss xmm5, xmm0
addss xmm4, xmm3
addss xmm1, xmm4
comiss xmm7, xmm1
ja 0x14001594c
movaps xmm7, xmm9
minss xmm7, xmm1
comiss xmm6, xmm5
ja 0x140015959
movaps xmm6, xmm8
minss xmm6, xmm5
movss xmm0, dword [rdi + 0x50]
lea r8, [rsp + 0x38]
movss xmm1, dword [rdi + 0x54]
lea rcx, [rsp + 0x58]
movaps xmm13, xmm0
movaps xmm14, xmm1
addss xmm0, dword [rdi + 0x58]
addss xmm1, dword [rdi + 0x5c]
subss xmm13, xmm6
mov rdx, rdi
subss xmm14, xmm7
mulss xmm13, xmm10
mulss xmm14, xmm11
addss xmm13, xmm6
subss xmm6, xmm0
addss xmm14, xmm7
subss xmm7, xmm1
mulss xmm6, xmm10
mulss xmm7, xmm11
addss xmm6, xmm0
addss xmm7, xmm1
subss xmm6, xmm13
subss xmm7, xmm14
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x3c], xmm7
call fcn.140014cc0
movss xmm0, dword [rbx - 8]
ucomiss xmm0, xmm15
movss xmm10, dword [rsp + 0x58]
jp 0x1400159f6
jne 0x1400159f6
movaps xmm0, xmm10
subss xmm0, xmm6
subss xmm13, xmm0
movss xmm0, dword [rbx - 4]
ucomiss xmm0, xmm15
movss xmm6, dword [rsp + 0x5c]
jp 0x140015a15
jne 0x140015a15
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm14, xmm0
movss xmm8, dword [0x14009c488]
movss xmm9, dword [0x14009c3b4]
movss xmm7, dword [rsp + 0x40]
movss xmm11, dword [rsp + 0x34]
test esi, esi
je 0x14001584c
test r15b, r15b
jne 0x140015855
test r12b, r12b
je 0x140015a8d
xor ecx, ecx
test r12b, r12b
setne cl
add rcx, 0x1e
mov rax, qword [0x1400af0e0]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x16fc]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rsp + 0x6c], xmm0
call fcn.14000cc70
mov dword [r13], eax
inc esi
add rbx, 0x18
add r13, 4
cmp esi, dword [rbp + 0x98]
jl 0x1400156b0
movzx r12d, byte [rsp + 0x31]
xor ebx, ebx
neg r12b
sbb rax, rax
and eax, 4
mov qword [rsp + 0x48], rax
jbe 0x140015d39
movss xmm11, dword [0x14009c33c]
lea rax, [0x1400acad4]
mov qword [rsp + 0x40], rax
cmp ebx, 1
jbe 0x140015af1
mov esi, 3
lea r13, [rsp + 0x3c]
mov r15d, 0x124
mov r12d, 0x1d94
jmp 0x140015b07
mov esi, 4
lea r13, [rsp + 0x38]
mov r15d, 0x120
mov r12d, 0x1d90
movss xmm9, dword [0x14009c3f0]
lea rcx, [rbp - 0x80]
movss xmm3, dword [rsp + 0x34]
mov r8d, ebx
mov rdx, rdi
movss dword [rsp + 0x20], xmm9
call fcn.140015340
lea edx, [rbx + 4]
mov rcx, rdi
call fcn.14000f390
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140042f40
cmp byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
je 0x140015b6f
movss xmm0, dword [r14 + 0x1d64]
comiss xmm0, xmm11
ja 0x140015b77
test al, al
je 0x140015d14
mov dword [r14 + 0x20d0], esi
test al, al
je 0x140015d14
mov rax, qword [rbp + 0x90]
mov dword [rax], ebx
cmp ebx, 3
jne 0x140015cc7
mov rax, qword [rbp + 0xa8]
movss xmm7, dword [rax + 4]
movaps xmm2, xmm12
movaps xmm3, xmm12
movsd xmm0, qword [rdi + 0x50]
movss xmm1, dword [r15 + r14]
subss xmm1, dword [r12 + r14]
movsd qword [rsp + 0x38], xmm0
addss xmm1, xmm9
movss dword [r13], xmm1
movss xmm0, dword [rsp + 0x3c]
comiss xmm7, xmm0
ja 0x140015be0
movaps xmm7, xmm2
minss xmm7, xmm0
movss xmm0, dword [rsp + 0x38]
comiss xmm8, xmm0
ja 0x140015bf5
movaps xmm8, xmm3
minss xmm8, xmm0
mov rsi, qword [rsp + 0x40]
lea r8, [rsp + 0x58]
movss xmm0, dword [rdi + 0x50]
lea rcx, [rsp + 0x60]
movss xmm1, dword [rdi + 0x54]
movaps xmm13, xmm0
addss xmm0, dword [rdi + 0x58]
movss xmm9, dword [rsi - 8]
subss xmm13, xmm8
minss xmm9, dword [rsi]
movss xmm6, dword [rsi - 0xc]
movaps xmm14, xmm1
minss xmm6, dword [rsi - 4]
addss xmm1, dword [rdi + 0x5c]
subss xmm14, xmm7
mov rdx, rdi
mulss xmm13, xmm6
mulss xmm14, xmm9
addss xmm13, xmm8
subss xmm8, xmm0
addss xmm14, xmm7
subss xmm7, xmm1
mulss xmm8, xmm6
mulss xmm7, xmm9
addss xmm8, xmm0
addss xmm7, xmm1
subss xmm8, xmm13
subss xmm7, xmm14
movss dword [rsp + 0x58], xmm8
movss dword [rsp + 0x5c], xmm7
call fcn.140014cc0
ucomiss xmm6, xmm15
movss xmm10, dword [rsp + 0x60]
jp 0x140015cab
jne 0x140015cab
movaps xmm0, xmm10
subss xmm0, xmm8
subss xmm13, xmm0
ucomiss xmm9, xmm15
movss xmm6, dword [rsp + 0x64]
jp 0x140015d19
jne 0x140015d19
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm14, xmm0
jmp 0x140015d19
movaps xmm7, xmm8
cmp ebx, 1
jne 0x140015ce1
mov rax, qword [rbp + 0xa8]
movss xmm8, dword [rax]
jmp 0x140015ba4
cmp ebx, 2
jne 0x140015cf7
mov rax, qword [rbp + 0xa8]
movss xmm2, dword [rax + 0xc]
jmp 0x140015ba8
movaps xmm2, xmm12
test ebx, ebx
jne 0x140015ba8
mov rax, qword [rbp + 0xa8]
movss xmm3, dword [rax + 8]
jmp 0x140015bac
mov rsi, qword [rsp + 0x40]
movss xmm8, dword [0x14009c488]
add rsi, 0x1c
inc ebx
mov qword [rsp + 0x40], rsi
sub qword [rsp + 0x48], 1
jne 0x140015ad4
mov rax, qword [0x1400af0e0]
mov r13, qword [rsp + 0x138]
mov r12, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x148]
mov rcx, qword [rax + 0x1d18]
mov rbx, qword [rsp + 0x150]
dec dword [rcx + 0x108]
mov dword [rdi + 0x18c], 0
mov rax, qword [r14 + 0x2080]
test rax, rax
je 0x140015f0b
cmp qword [rax + 0x3d8], rdi
jne 0x140015f0b
mov eax, dword [r14 + 0x1f84]
cmp eax, 2
jne 0x140015db8
cmp byte [r14 + 0x13d], 0
je 0x140015f0b
lea edx, [rax - 1]
lea rcx, [rsp + 0x60]
jmp 0x140015dc9
cmp eax, 3
jne 0x140015f0b
lea edx, [rax - 1]
lea rcx, [rsp + 0x58]
movaps xmm3, xmm15
movss dword [rsp + 0x20], xmm15
call fcn.14001d490
xorps xmm2, xmm2
movss xmm15, dword [rax]
ucomiss xmm15, xmm2
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x34], xmm0
jp 0x140015dff
jne 0x140015dff
ucomiss xmm0, xmm2
jp 0x140015dff
je 0x140015f0e
movss xmm0, dword [r14 + 0x18]
lea rcx, [rsp + 0x48]
mulss xmm0, dword [0x14009c448]
movss xmm1, dword [r14 + 0xc0]
minss xmm1, dword [r14 + 0xc4]
movss xmm7, dword [rdi + 0x50]
movss xmm9, dword [rdi + 0x54]
movss xmm10, dword [rdi + 0x5c]
movss xmm6, dword [rdi + 0x58]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm11, eax
mov rax, qword [rbp + 0xa8]
cvtdq2ps xmm11, xmm11
movss xmm8, dword [rax]
movss xmm12, dword [rax + 4]
mov rax, qword [0x1400af0e0]
mov byte [r14 + 0x20a0], 0
mov byte [r14 + 0x1fa7], 1
movups xmm0, xmmword [rax + 0x18fc]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rsp + 0x54], xmm0
call fcn.14000cc70
movss xmm0, dword [rsp + 0x34]
subss xmm8, xmm7
mov rcx, qword [rbp + 0xa0]
subss xmm12, xmm9
mulss xmm15, xmm11
lea r8, [rsp + 0x48]
mov rdx, rdi
mulss xmm0, xmm11
mov dword [rcx], eax
lea rcx, [rsp + 0x38]
subss xmm8, xmm6
subss xmm12, xmm10
maxss xmm15, xmm8
maxss xmm0, xmm12
addss xmm15, dword [rdi + 0x60]
addss xmm0, dword [rdi + 0x64]
movss dword [rsp + 0x48], xmm15
movss dword [rsp + 0x4c], xmm0
call fcn.140014cc0
movss xmm12, dword [0x14009c464]
movss xmm10, dword [rax]
movss xmm6, dword [rax + 4]
xorps xmm2, xmm2
ucomiss xmm10, xmm12
movaps xmm15, xmmword [rsp + 0x90]
movaps xmm11, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
jp 0x140015f42
je 0x140015f6f
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1400af0e0]
movss dword [rdi + 0x60], xmm10
movss dword [rdi + 0x64], xmm6
jne 0x140015f6f
comiss xmm2, dword [rcx + 0x31fc]
jb 0x140015f6f
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x31fc], eax
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0x120]
ucomiss xmm13, xmm12
movaps xmm12, xmmword [rsp + 0xc0]
jp 0x140015f91
je 0x140015fd5
test dword [rdi + 0xc], 0x100
mov rdx, qword [0x1400af0e0]
cvttss2si eax, xmm13
movd xmm1, eax
cvttss2si eax, xmm14
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm1
movss dword [rdi + 0x54], xmm0
jne 0x140015fd5
comiss xmm2, dword [rdx + 0x31fc]
jb 0x140015fd5
mov ecx, dword [rdx + 0x1c]
mov dword [rdx + 0x31fc], ecx
movsd xmm0, qword [rdi + 0x60]
movzx eax, byte [rbp + 0x80]
movaps xmm14, xmmword [rsp + 0xa0]
movaps xmm13, xmmword [rsp + 0xb0]
movsd qword [rdi + 0x58], xmm0
add rsp, 0x158
pop r15
pop r14
pop rdi
pop rbp
ret
xor al, al
add rsp, 0x158
pop r15
pop r14
pop rdi
pop rbp
ret