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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rdi, qword [0x1401ce120]
xor r9d, r9d
mov qword [rax + 0x18], rbp
mov esi, r9d
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
xor r13b, r13b
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov eax, dword [rdi + 0x4000]
sub eax, 1
mov dword [rsp + 0xb8], r13d
js 0x14004ccf4
mov r8, qword [rdi + 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 0x14004ccea
test dword [rcx + 0xc], 0x8000000
jne 0x14004cd7e
sub r8, 0x30
sub rdx, 1
jns 0x14004ccd5
lea r14, [rdi + 0x41a0]
mov rcx, r9
mov rbx, qword [r14]
xorps xmm6, xmm6
cmp qword [rdi + 0x41a8], rsi
je 0x14004cd4c
test rbx, rbx
jne 0x14004cd4c
comiss xmm6, dword [rdi + 0x41c4]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x41bc]
mulss xmm0, dword [0x140154e2c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x41bc], xmm1
jb 0x14004cd4c
comiss xmm6, xmm1
jb 0x14004cd4c
mov qword [rdi + 0x41a8], r9
movss xmm7, dword [0x140132ae0]
test rcx, rcx
jne 0x14004cd9d
test rbx, rbx
jne 0x14004cd9d
mov rax, qword [0x1401ce120]
movss xmm0, dword [rax + 0x36a8]
comiss xmm6, xmm0
ja 0x14004cd90
ucomiss xmm0, xmm6
jp 0x14004cd90
jne 0x14004cd90
movaps xmm0, xmm7
jmp 0x14004cd93
lea r14, [rdi + 0x41a0]
mov rbx, r9
mov qword [r14], r9
jmp 0x14004cd01
xorps xmm0, xmm0
comiss xmm0, xmm6
jbe 0x14004cd9d
mov r15b, 1
jmp 0x14004cdaa
xor r15b, r15b
test rcx, rcx
jne 0x14004cdc8
test rbx, rbx
jne 0x14004cdc8
cmp byte [rdi + 0xd24], sil
je 0x14004cdc8
mov dl, 1
mov ecx, 0x200
call fcn.140048b00
test al, al
je 0x14004cdc8
mov bpl, 1
jmp 0x14004cdcb
xor bpl, bpl
mov r12d, 0xffffffff
test r15b, r15b
jne 0x14004cddb
test bpl, bpl
je 0x14004ce32
mov rax, qword [rdi + 0x4038]
test rax, rax
jne 0x14004ce01
mov ecx, dword [rdi + 0x3dd8]
mov r8d, r12d
dec ecx
mov edx, 0x80000001
call fcn.1400469a0
test rax, rax
je 0x14004ce32
mov rbx, qword [rax + 0x350]
xor eax, eax
mov qword [rdi + 0x41b8], rax
movzx eax, bpl
xor eax, 1
mov qword [rdi + 0x41a8], rbx
add eax, 2
mov qword [r14], rbx
mov dword [rdi + 0x4070], eax
mov byte [rdi + 0x41c0], r15b
movss xmm0, dword [rdi + 0x41b8]
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x41b8], xmm0
test rbx, rbx
je 0x14004cfab
cmp dword [rdi + 0x4070], 3
jne 0x14004cfab
subss xmm0, dword [0x140154dd8]
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm9
divss xmm0, dword [0x140154dcc]
comiss xmm6, xmm0
jbe 0x14004ce83
xorps xmm1, xmm1
jmp 0x14004ce8a
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x41bc]
maxss xmm8, xmm1
movss dword [rdi + 0x41bc], xmm8
mov rbx, qword [0x1401ce120]
movss xmm1, dword [rbx + 0x36cc]
comiss xmm6, xmm1
jbe 0x14004cebb
xorps xmm9, xmm9
jmp 0x14004cee7
movss xmm3, dword [rbx + 0x40]
movaps xmm0, xmm1
movss xmm2, dword [rbx + 0x3c]
addss xmm3, xmm3
subss xmm0, dword [rbx + 0x18]
mulss xmm2, dword [0x140154e0c]
call fcn.140043bb0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
movss xmm1, dword [rbx + 0x36d0]
comiss xmm6, xmm1
jbe 0x14004cef9
xorps xmm0, xmm0
jmp 0x14004cf23
movss xmm3, dword [rbx + 0x40]
movaps xmm0, xmm1
movss xmm2, dword [rbx + 0x3c]
addss xmm3, xmm3
subss xmm0, dword [rbx + 0x18]
mulss xmm2, dword [0x140154e0c]
call fcn.140043bb0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
xor eax, eax
comiss xmm0, xmm6
seta al
xor ecx, ecx
comiss xmm9, xmm6
movaps xmm9, xmmword [rsp + 0x30]
seta cl
sub ecx, eax
je 0x14004cf51
call fcn.14004d3e0
mov dword [rdi + 0x41bc], 0x3f800000
movaps xmm8, xmm7
mov rax, qword [0x1401ce120]
movss xmm0, dword [rax + 0xd34]
comiss xmm0, xmm6
ja 0x14004cf9d
comiss xmm7, xmm8
seta al
and byte [rdi + 0x41c0], al
je 0x14004cf89
cmp qword [rdi + 0x4038], rsi
je 0x14004cf8c
mov r13b, 1
mov qword [r14], 0
jmp 0x14004cfa5
mov rsi, qword [r14]
mov r13d, dword [rsp + 0xb8]
mov qword [r14], 0
jmp 0x14004cfa5
mov r13d, dword [rsp + 0xb8]
movaps xmm8, xmmword [rsp + 0x40]
mov rbx, qword [r14]
mov ebp, 1
mov r15, qword [rsp + 0x70]
test rbx, rbx
je 0x14004d033
cmp dword [rdi + 0x4070], 2
jne 0x14004d033
movss xmm0, dword [rdi + 0x41b8]
subss xmm0, dword [0x140154dd8]
divss xmm0, dword [0x140154dcc]
comiss xmm6, xmm0
jbe 0x14004cfe8
xorps xmm7, xmm7
jmp 0x14004cfec
minss xmm7, xmm0
movss xmm0, dword [rdi + 0x41bc]
movzx edx, bpl
maxss xmm0, xmm7
mov ecx, 0x200
movss dword [rdi + 0x41bc], xmm0
call fcn.140048b00
test al, al
je 0x14004d028
cmp byte [rdi + 0xd25], 0
cmovne r12d, ebp
mov ecx, r12d
call fcn.14004d3e0
mov rbx, qword [r14]
cmp byte [rdi + 0xd24], 0
cmove rsi, rbx
movaps xmm7, xmmword [rsp + 0x50]
mov r12, qword [rsp + 0x88]
test byte [rdi + 8], bpl
je 0x14004d069
cmp dword [rdi + 0xd78], 4
jne 0x14004d069
test byte [rdi + 0xd7c], 4
jne 0x14004d069
mov byte [rdi + 0x41c0], bpl
mov dword [rdi + 0x4070], 2
movzx eax, byte [rdi + 0x41c0]
test al, al
je 0x14004d170
cmp dword [rdi + 0x4070], 2
jne 0x14004d170
cmp dword [rdi + 0x3748], 0
jg 0x14004d0a9
cmp byte [rdi + 0xd24], 0
jne 0x14004d0a9
cmp byte [rdi + 0xd25], 0
jne 0x14004d0a9
cmp byte [rdi + 0xd27], 0
je 0x14004d0b2
mov byte [rdi + 0x41c0], 0
xor al, al
test byte [rdi + 0xd78], 4
jne 0x14004d160
test byte [rdi + 0xd7c], 4
je 0x14004d160
test al, al
je 0x14004d160
cmp dword [rdi + 0x3e74], 0
je 0x14004d0e6
cmp byte [rdi + 0x3e81], 0
je 0x14004d160
lea rax, [rdi + 0xd0c]
test rax, rax
jne 0x14004d0ff
mov rax, qword [0x1401ce120]
add rax, 0xd0c
movss xmm0, dword [rax]
movss xmm1, dword [0x140154e4c]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14004d120
comiss xmm2, xmm1
jb 0x14004d120
movzx ecx, bpl
jmp 0x14004d122
xor cl, cl
lea rax, [rdi + 0x35d4]
test rax, rax
jne 0x14004d13b
mov rax, qword [0x1401ce120]
add rax, 0xd0c
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14004d154
comiss xmm2, xmm1
jb 0x14004d154
movzx eax, bpl
jmp 0x14004d156
xor al, al
cmp cl, al
movzx r13d, r13b
cmove r13d, ebp
cmp byte [rdi + 0xd26], 0
jne 0x14004d170
mov byte [rdi + 0x41c0], 0
mov rbx, qword [r14]
test rbx, rbx
je 0x14004d26f
test byte [rbx + 0xc], 4
jne 0x14004d26f
mov eax, dword [rdi + 0x4070]
cmp eax, 2
jne 0x14004d1a2
cmp byte [rdi + 0xd25], 0
jne 0x14004d26f
mov edx, ebp
jmp 0x14004d1ae
cmp eax, 3
jne 0x14004d26f
lea edx, [rax + 5]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0xb0]
call fcn.1400471f0
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x14004d1e2
jne 0x14004d1e2
ucomiss xmm3, xmm6
jp 0x14004d1e2
je 0x14004d26f
mov rbx, qword [rbx + 0x350]
lea rdx, [rsp + 0xb0]
movss xmm1, dword [rdi + 0x68]
mov r8d, ebp
movss xmm0, dword [rdi + 0x18]
mov rcx, rbx
minss xmm1, dword [rdi + 0x6c]
mulss xmm0, dword [0x140154e40]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [rbx + 0x10]
addss xmm3, dword [rbx + 0x14]
movss dword [rsp + 0xb0], xmm4
movss dword [rsp + 0xb4], xmm3
call fcn.140053150
test dword [rbx + 0xc], 0x100
mov rcx, qword [0x1401ce120]
jne 0x14004d268
comiss xmm6, dword [rcx + 0x52fc]
jb 0x14004d268
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x52fc], eax
mov byte [rdi + 0x407b], bpl
movaps xmm6, xmmword [rsp + 0x60]
test rsi, rsi
je 0x14004d2ff
mov rax, qword [rdi + 0x4038]
test rax, rax
je 0x14004d292
cmp rsi, qword [rax + 0x350]
je 0x14004d2f8
call fcn.140044600
mov rax, qword [0x1401ce120]
mov word [rax + 0x4079], bp
mov byte [rax + 0x407b], bpl
mov rax, qword [rsi + 0x370]
test rax, rax
je 0x14004d2c3
cmp byte [rax + 0x8f], 0
cmovne rsi, rax
xor edx, edx
mov rcx, rsi
call fcn.140044960
mov rcx, rsi
call fcn.140046ae0
cmp dword [rsi + 0x378], 0
jne 0x14004d2e8
xor edx, edx
mov rcx, rsi
call fcn.140049cf0
cmp word [rsi + 0x132], 2
jne 0x14004d2f8
mov dword [rdi + 0x4074], ebp
mov qword [r14], 0
mov r14, qword [rsp + 0x78]
test r13b, r13b
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xc0]
je 0x14004d3d3
cmp qword [rdi + 0x4038], 0
je 0x14004d3d3
call fcn.140044600
mov rsi, qword [rdi + 0x4038]
mov rbx, rsi
lea rcx, [rsi + 0x340]
cmp qword [rcx], 0
je 0x14004d383
test byte [rbx + 0x130], 2
jne 0x14004d36f
mov eax, dword [rbx + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14004d36f
mov rbx, qword [rcx]
lea rcx, [rbx + 0x340]
cmp qword [rcx], 0
jne 0x14004d347
cmp rbx, rsi
je 0x14004d383
mov rcx, rbx
call fcn.140046ae0
mov qword [rbx + 0x370], rsi
mov rax, qword [rdi + 0x4038]
test byte [rax + 0x130], 2
je 0x14004d39e
mov ecx, dword [rdi + 0x4074]
xor ecx, 1
jmp 0x14004d3a0
xor ecx, ecx
cmp ecx, dword [rdi + 0x4074]
je 0x14004d3d3
cmp ecx, 1
jne 0x14004d3b7
mov dword [rax + 0x37c], 0
call fcn.14004a770
mov rax, qword [0x1401ce120]
mov word [rax + 0x4079], 1
mov byte [rax + 0x407b], 1
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret