Function at 0x14002ad70
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 rbx
push rsi
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x158
test byte [rcx + 0x14], 0x42
mov ebx, r9d
mov r15, qword [0x14025dfb0]
mov rsi, rcx
jne 0x14002b837
cmp byte [rcx + 0x108], 0
jg 0x14002b837
cmp byte [rcx + 0x109], 0
jg 0x14002b837
cmp byte [rcx + 0xec], 0
je 0x14002b837
movss xmm1, dword [r15 + 0x3d40]
movss xmm0, dword [rcx + 0x88]
movaps xmm2, xmm1
mulss xmm1, dword [0x140249c44]
mov qword [rax - 0x28], rdi
mulss xmm2, dword [0x140249c84]
mov qword [rax - 0x40], r14
movzx r14d, byte [r15 + 0x86]
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movss xmm8, dword [0x140249cac]
movaps xmmword [rax - 0x88], xmm9
xorps xmm9, xmm9
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movss xmm13, dword [0x140247784]
movaps xmmword [rax - 0xe8], xmm15
addss xmm0, xmm13
movaps xmmword [rax - 0xd8], xmm14
xorps xmm15, xmm15
mov byte [rsp + 0x32], 0
mov byte [rsp + 0x31], r14b
addss xmm0, xmm1
maxss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x140249c68]
cvttss2si eax, xmm0
cvtsi2ss xmm9, eax
movss dword [rsp + 0x38], xmm9
test r14b, r14b
je 0x14002ae9d
movaps xmm14, xmm8
jmp 0x14002aea1
xorps xmm14, xmm14
test dword [r15 + 0xc], 0x800
movss xmm11, dword [0x140249cf8]
movaps xmm6, xmm11
mov dword [rsp + 0x4c], 0x7f7fffff
movaps xmm7, xmm11
movss dword [rsp + 0x48], xmm6
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x44], 0x7f7fffff
je 0x14002aeee
mov eax, dword [rcx + 0x40]
cmp dword [r15 + 0xe2c], eax
jne 0x14002aeee
mov rax, qword [rcx + 0x38]
test byte [rax + 4], 8
jne 0x14002af2c
mov rax, qword [rcx + 0x38]
movss xmm2, dword [rax + 8]
movss xmm3, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0x14]
movss dword [rcx + 0x270], xmm2
movss dword [rcx + 0x274], xmm3
movss dword [rcx + 0x278], xmm1
movss dword [rcx + 0x27c], xmm0
mov dword [rcx + 0x190], 1
lea rcx, str.RESIZE
mov qword [rsp + 0x148], r12
mov qword [rsp + 0x140], r13
call fcn.140020cb0
movss xmm12, dword [0x140249d0c]
xor edi, edi
test ebx, ebx
jle 0x14002b2bf
mov r13, qword [rbp + 0xa0]
lea r14, [0x140247e24]
movaps xmmword [rsp + 0xe0], xmm10
nop dword [rax]
movss xmm0, dword [rsi + 0x50]
movss xmm1, dword [rsi + 0x54]
movaps xmm3, xmm0
addss xmm3, dword [rsi + 0x58]
movaps xmm2, xmm1
addss xmm2, dword [rsi + 0x5c]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [r14 - 4]
mulss xmm2, dword [r14]
addss xmm3, xmm0
movss xmm0, dword [r14 + 4]
movaps xmm5, xmm0
mulss xmm0, xmm14
addss xmm2, xmm1
mulss xmm5, xmm9
movss xmm1, dword [r14 + 8]
movaps xmm4, xmm1
mulss xmm1, xmm14
addss xmm5, xmm3
mulss xmm4, xmm9
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rsp + 0x58], xmm5
comiss xmm3, xmm5
movss dword [rsp + 0x50], xmm3
movss dword [rsp + 0x54], xmm2
movss dword [rsp + 0x5c], xmm4
jbe 0x14002b014
movss dword [rsp + 0x50], xmm5
movss dword [rsp + 0x58], xmm3
comiss xmm2, xmm4
jbe 0x14002b025
movss dword [rsp + 0x54], xmm4
movss dword [rsp + 0x5c], xmm2
mov edx, edi
mov rcx, rsi
call fcn.140017d10
mov r9d, 8
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.14001abb0
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14004ddf0
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rbp + 0x80]
test dl, dl
jne 0x14002b07e
test cl, cl
je 0x14002b235
mov eax, edi
not eax
and eax, 1
add eax, 5
mov dword [r15 + 0x4c08], eax
test cl, cl
je 0x14002b235
cmp word [r15 + 0x3762], 2
jne 0x14002b0fb
test edi, edi
jne 0x14002b0fb
mov r8, qword [rbp + 0x88]
lea rcx, [rsp + 0x68]
mov rdx, rsi
call fcn.14000b240
xor edx, edx
mov byte [rsp + 0x32], 1
xor ecx, ecx
movss xmm7, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x40], xmm7
movss dword [rsp + 0x44], xmm0
call fcn.140025580
movzx ecx, byte [rbp + 0x80]
movzx edx, byte [rsp + 0x30]
test cl, cl
je 0x14002b249
mov ecx, 0x20
jmp 0x14002b254
movss xmm10, dword [r14]
ucomiss xmm10, xmm13
jp 0x14002b116
jne 0x14002b116
mov rax, qword [rbp + 0xa8]
movss xmm5, dword [rax + 4]
jmp 0x14002b121
mov rax, qword [rbp + 0xa8]
movaps xmm5, xmm12
movss xmm9, dword [r14 - 4]
ucomiss xmm9, xmm13
jp 0x14002b135
jne 0x14002b135
movss xmm4, dword [rax]
jmp 0x14002b139
movaps xmm4, xmm12
ucomiss xmm10, xmm15
jp 0x14002b149
jne 0x14002b149
movss xmm8, dword [rax + 0xc]
jmp 0x14002b14d
movaps xmm8, xmm11
ucomiss xmm9, xmm15
jp 0x14002b15c
jne 0x14002b15c
movss xmm7, dword [rax + 8]
jmp 0x14002b160
movaps xmm7, xmm11
movss xmm6, dword [r14 + 4]
movss xmm3, dword [r14 + 8]
movaps xmm0, xmm6
movss xmm2, dword [rsp + 0x38]
movaps xmm1, xmm3
xorps xmm2, xmmword [0x140247810]
mulss xmm0, xmm14
mulss xmm6, xmm2
mulss xmm3, xmm2
subss xmm6, xmm0
mulss xmm1, xmm14
subss xmm3, xmm1
mulss xmm6, xmm9
addss xmm6, xmm0
mulss xmm3, xmm10
movss xmm0, dword [r15 + 0xe10]
subss xmm0, dword [r15 + 0x407c]
addss xmm3, xmm1
addss xmm6, xmm0
movss xmm0, dword [r15 + 0xe14]
subss xmm0, dword [r15 + 0x4080]
addss xmm0, xmm3
comiss xmm5, xmm0
ja 0x14002b1e4
movaps xmm5, xmm8
minss xmm5, xmm0
comiss xmm4, xmm6
ja 0x14002b1f0
movaps xmm4, xmm7
minss xmm4, xmm6
lea rax, [rsp + 0x40]
movss dword [rsp + 0x60], xmm4
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [r14 - 4]
movss dword [rsp + 0x64], xmm5
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14000abf0
movzx ecx, byte [rbp + 0x80]
movzx edx, byte [rsp + 0x30]
movss xmm7, dword [rsp + 0x40]
movss xmm9, dword [rsp + 0x38]
test edi, edi
je 0x14002b0e9
test cl, cl
jne 0x14002b0f1
test dl, dl
je 0x14002b28b
xor ecx, ecx
test dl, dl
setne cl
add rcx, 0x1e
mov rax, qword [0x14025dfb0]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x39bc]
lea rcx, [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rsp + 0x7c], xmm0
call fcn.14000be50
mov dword [r13], eax
inc edi
add r14, 0x18
add r13, 4
cmp edi, dword [rbp + 0x98]
jl 0x14002af80
movaps xmm10, xmmword [rsp + 0xe0]
movss xmm6, dword [rsp + 0x48]
movss xmm8, dword [0x140249cac]
movzx r14d, byte [rsp + 0x31]
movaps xmm14, xmmword [rsp + 0xa0]
xor edi, edi
movaps xmm13, xmmword [rsp + 0xb0]
neg r14b
sbb rax, rax
and eax, 4
mov qword [rsp + 0x68], rax
jbe 0x14002b4a9
movss xmm6, dword [0x140249c2c]
lea r14, [0x140247e94]
cmp edi, 1
jbe 0x14002b317
mov r12d, 3
mov qword [rsp + 0x60], 0x4080
mov r13d, 0xe14
lea rax, [rsp + 0x3c]
jmp 0x14002b331
mov r12d, 4
mov qword [rsp + 0x60], 0x407c
mov r13d, 0xe10
lea rax, [rsp + 0x38]
movaps xmm3, xmm9
movss dword [rsp + 0x20], xmm8
mov r8d, edi
mov qword [rsp + 0x70], rax
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140018600
lea edx, [rdi + 4]
mov rcx, rsi
call fcn.140017d10
mov r9d, 8
lea rcx, [rbp - 0x80]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.14001abb0
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x31]
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.14004ddf0
cmp byte [rsp + 0x31], 0
movzx eax, byte [rbp + 0x80]
je 0x14002b3ac
movss xmm0, dword [r15 + 0x4060]
comiss xmm0, xmm6
ja 0x14002b3b4
test al, al
je 0x14002b48b
mov dword [r15 + 0x4c08], r12d
test al, al
je 0x14002b48b
mov rax, qword [rbp + 0x90]
mov dword [rax], edi
cmp edi, 3
jne 0x14002b557
mov rax, qword [rbp + 0xa8]
movaps xmm3, xmm12
movss xmm2, dword [rax + 4]
movaps xmm4, xmm11
movaps xmm5, xmm11
mov rax, qword [rsp + 0x60]
movsd xmm0, qword [rsi + 0x50]
movss xmm1, dword [r15 + r13]
movsd qword [rsp + 0x38], xmm0
subss xmm1, dword [rax + r15]
mov rax, qword [rsp + 0x70]
addss xmm1, xmm8
movss dword [rax], xmm1
movss xmm0, dword [rsp + 0x3c]
comiss xmm2, xmm0
ja 0x14002b429
movaps xmm2, xmm4
minss xmm2, xmm0
movss xmm0, dword [rsp + 0x38]
comiss xmm3, xmm0
ja 0x14002b43b
movaps xmm3, xmm5
minss xmm3, xmm0
movss xmm0, dword [r14 - 0xc]
lea rax, [rsp + 0x40]
movss xmm1, dword [r14 - 8]
lea r9, [rsp + 0x48]
minss xmm0, dword [r14 - 4]
minss xmm1, dword [r14]
lea r8, [rsp + 0x50]
movss dword [rsp + 0x38], xmm3
lea rdx, [rsp + 0x38]
movss dword [rsp + 0x3c], xmm2
mov rcx, rsi
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
call fcn.14000abf0
inc edi
add r14, 0x1c
sub qword [rsp + 0x68], 1
jne 0x14002b2f6
movss xmm6, dword [rsp + 0x48]
movss xmm7, dword [rsp + 0x40]
mov rax, qword [0x14025dfb0]
movaps xmm12, xmmword [rsp + 0xc0]
mov r14, qword [rsp + 0x138]
mov r13, qword [rsp + 0x140]
mov rcx, qword [rax + 0x4008]
mov r12, qword [rsp + 0x148]
mov rdi, qword [rsp + 0x150]
dec dword [rcx + 0x128]
mov dword [rsi + 0x190], 0
mov rax, qword [r15 + 0x4bd0]
test rax, rax
je 0x14002b75f
cmp qword [rax + 0x3c8], rsi
jne 0x14002b75f
mov eax, dword [r15 + 0x4a9c]
cmp eax, 2
jne 0x14002b5a7
cmp byte [r15 + 0xe31], 0
je 0x14002b75f
mov rax, qword [0x14025dfb0]
movss xmm2, dword [rax + 0x2e64]
movss xmm3, dword [rax + 0x2e84]
subss xmm2, dword [rax + 0x2e54]
subss xmm3, dword [rax + 0x2e74]
jmp 0x14002b5d7
movaps xmm2, xmm12
cmp edi, 1
jne 0x14002b570
mov rax, qword [rbp + 0xa8]
movss xmm3, dword [rax]
jmp 0x14002b3e5
movaps xmm3, xmm12
cmp edi, 2
jne 0x14002b58a
mov rax, qword [rbp + 0xa8]
movss xmm4, dword [rax + 0xc]
jmp 0x14002b3e9
movaps xmm4, xmm11
test edi, edi
jne 0x14002b3e9
mov rax, qword [rbp + 0xa8]
movss xmm5, dword [rax + 8]
jmp 0x14002b3ed
cmp eax, 3
jne 0x14002b75f
mov rax, qword [0x14025dfb0]
movss xmm2, dword [rax + 0x3544]
movss xmm3, dword [rax + 0x3564]
subss xmm2, dword [rax + 0x3534]
subss xmm3, dword [rax + 0x3554]
ucomiss xmm2, xmm15
jp 0x14002b5eb
jne 0x14002b5eb
ucomiss xmm3, xmm15
jp 0x14002b5eb
je 0x14002b75f
movss xmm1, dword [r15 + 0x70]
lea rcx, [rbp - 0x80]
minss xmm1, dword [r15 + 0x74]
movss xmm0, dword [r15 + 0x18]
mulss xmm0, dword [0x140249cec]
mov rax, qword [rbp + 0xa8]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [r15 + 0x4bfc]
addss xmm3, dword [r15 + 0x4c00]
movss dword [r15 + 0x4bfc], xmm2
movss dword [r15 + 0x4c00], xmm3
movss xmm0, dword [rax]
subss xmm0, dword [rsi + 0x50]
movss xmm1, dword [rax + 4]
subss xmm1, dword [rsi + 0x54]
subss xmm0, dword [rsi + 0x58]
subss xmm1, dword [rsi + 0x5c]
mov byte [r15 + 0x4bf0], 0
mov byte [r15 + 0x4aa7], 1
maxss xmm2, xmm0
maxss xmm3, xmm1
movss dword [r15 + 0x4bfc], xmm2
movss dword [r15 + 0x4c00], xmm3
mov rax, qword [0x14025dfb0]
movups xmm0, xmmword [rax + 0x3bbc]
movups xmmword [rbp - 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rbp - 0x74], xmm0
call fcn.14000be50
mov rcx, qword [rbp + 0xa0]
mov dword [rcx], eax
cvttss2si eax, dword [r15 + 0x4bfc]
movd xmm9, eax
cvttss2si eax, dword [r15 + 0x4c00]
cvtdq2ps xmm9, xmm9
movd xmm8, eax
ucomiss xmm9, xmm15
cvtdq2ps xmm8, xmm8
jp 0x14002b6ec
jne 0x14002b6ec
ucomiss xmm8, xmm15
jp 0x14002b6ec
je 0x14002b75f
movaps xmm0, xmm9
lea r8, [rbp + 0x80]
addss xmm0, dword [rsi + 0x60]
movaps xmm1, xmm8
lea rcx, [rsp + 0x68]
addss xmm1, dword [rsi + 0x64]
mov rdx, rsi
movss dword [rbp + 0x80], xmm0
movss dword [rbp + 0x84], xmm1
call fcn.14000b240
movss xmm1, dword [r15 + 0x4bfc]
subss xmm1, xmm9
movss xmm0, dword [rax + 4]
movss xmm7, dword [rax]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [r15 + 0x4c00]
subss xmm0, xmm8
movss dword [r15 + 0x4bfc], xmm1
movss dword [r15 + 0x4c00], xmm0
ucomiss xmm7, xmm11
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
jp 0x14002b779
je 0x14002b7ac
test dword [rsi + 0x14], 0x100
movss xmm0, dword [rsp + 0x44]
movss dword [rsi + 0x64], xmm0
movss dword [rsi + 0x60], xmm7
mov rcx, qword [0x14025dfb0]
jne 0x14002b7ac
comiss xmm15, dword [rcx + 0x5dc4]
jb 0x14002b7ac
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5dc4], eax
movaps xmm7, xmmword [rsp + 0x110]
ucomiss xmm6, xmm11
movaps xmm11, xmmword [rsp + 0xd0]
jp 0x14002b7c5
je 0x14002b80a
test dword [rsi + 0x14], 0x100
cvttss2si eax, xmm6
movd xmm1, eax
cvttss2si eax, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x50], xmm1
movss dword [rsi + 0x54], xmm0
mov rdx, qword [0x14025dfb0]
jne 0x14002b80a
comiss xmm15, dword [rdx + 0x5dc4]
jb 0x14002b80a
mov ecx, dword [rdx + 0x1c]
mov dword [rdx + 0x5dc4], ecx
movsd xmm0, qword [rsi + 0x60]
movzx eax, byte [rsp + 0x32]
movaps xmm15, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x120]
movsd qword [rsi + 0x58], xmm0
add rsp, 0x158
pop r15
pop rsi
pop rbx
pop rbp
ret
xor al, al
add rsp, 0x158
pop r15
pop rsi
pop rbx
pop rbp
ret