Function at 0x14002cf50
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x1e0
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rsi, rcx
mov qword [rsp + 0x20], rcx
lea rax, str.san_path_env_7D9669CE_347E_435A_BDF7_DBDBA31FEA91
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd0], rax
xor r14d, r14d
mov qword [r11 - 0x118], r14
mov qword [r11 - 0xf0], r14
lea r8, str.PATH
lea rdx, [r11 - 0xf0]
lea rcx, [r11 - 0x118]
call fcn.1400ab7f0
test eax, eax
jne 0x14002d056
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x14002d056
mov qword [rsp + 0x170], r14
mov qword [rsp + 0x180], r14
mov qword [rsp + 0x188], 7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14002d010
lea rcx, [rsp + 0x170]
call fcn.1400043e0
mov rcx, qword [rsp + 0xd0]
call fcn.1400aa588
movups xmm6, xmmword [rsp + 0x170]
movups xmmword [rsp + 0x150], xmm6
movups xmm7, xmmword [rsp + 0x180]
movups xmmword [rsp + 0x160], xmm7
jmp 0x14002d08b
mov qword [rsp + 0x150], r14
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x168], 7
mov word [rsp + 0x150], r14w
movups xmm7, xmmword [rsp + 0x160]
movups xmm6, xmmword [rsp + 0x150]
mov qword [rsp + 0x100], r14
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x118], 7
mov word [rsp + 0x100], r14w
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x140], r14
lea rax, [0x1400f8e00]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x190]
call fcn.14000d2e0
mov rcx, qword [0x1400f8e08]
mov rax, qword [rsp + 0x148]
cmp qword [rax + 8], rcx
jne 0x14002d128
cmp dword [rsp + 0x140], 0
jne 0x14002d128
movups xmm0, xmmword [rsp + 0x190]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x1a0]
movups xmmword [rsp + 0x78], xmm1
mov al, 1
mov byte [rsp + 0x88], al
jmp 0x14002d181
xor al, al
mov byte [rsp + 0x88], al
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 8
jb 0x14002d181
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d633
call fcn.14005c5c0
movzx eax, byte [rsp + 0x88]
mov qword [rsp + 0x90], r14
movdqa xmm1, xmmword [0x1400e3130]
test al, al
je 0x14002d1c5
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x120], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x130], xmm1
movdqa xmm0, xmmword [0x1400e3130]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
jmp 0x14002d1dd
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm1
lea rcx, [rsp + 0x68]
call fcn.140031e70
cmp qword [rsp + 0x130], 0
je 0x14002d3f9
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r14w
xor r8d, r8d
lea rdx, [0x1400e0864]
lea rcx, [rsp + 0x28]
call fcn.1400043e0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x120]
call fcn.140009b70
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14002d279
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d274
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d639
call fcn.14005c5c0
lea rdi, [rsp + 0x120]
cmp qword [rsp + 0x138], 8
cmovae rdi, qword [rsp + 0x120]
mov rax, qword [rsp + 0x130]
lea rbx, [rdi + rax*2]
mov rdx, rbx
mov rcx, rdi
call fcn.1400099e0
cmp rax, rbx
je 0x14002d30d
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14002d2be
cmp cx, 0x2f
jne 0x14002d2d0
add rax, 2
jmp 0x14002d2aa
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14002d2ed
cmp cx, 0x2f
je 0x14002d2ed
mov rbx, rdx
cmp rax, rdx
je 0x14002d30d
jmp 0x14002d2d0
cmp rax, rbx
je 0x14002d30d
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14002d305
cmp cx, 0x2f
jne 0x14002d30d
mov rbx, rdx
cmp rax, rdx
jne 0x14002d2f2
sub rbx, rdi
sar rbx, 1
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400043e0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xb0]
call fcn.1400138b0
mov rdx, qword [rsp + 0x118]
cmp rdx, 8
jb 0x14002d397
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d392
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d63f
call fcn.14005c5c0
movups xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0x100], xmm0
movups xmm1, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0x110], xmm1
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14002d3f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d3f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d645
call fcn.14005c5c0
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xf0], 7
mov word [rsp + 0xd8], r14w
xor r8d, r8d
mov edx, 0x104
lea rcx, [rsp + 0xd8]
call fcn.140026730
nop
lea rcx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae rcx, qword [rsp + 0xd8]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jae 0x14002d4b4
cmp qword [rsp + 0x110], 0
je 0x14002d485
mov r8d, 1
lea rdx, [0x1400e208c]
lea rcx, [rsp + 0x100]
call fcn.140003db0
lea rdx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae rdx, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xe8]
lea rcx, [rsp + 0x100]
call fcn.140003db0
lea rdx, [rsp + 0x100]
cmp qword [rsp + 0x118], 8
cmovae rdx, qword [rsp + 0x100]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
movups xmmword [rsi], xmm6
movups xmmword [rsi + 0x10], xmm7
mov byte [rsi + 0x20], 1
mov rdx, qword [rsp + 0xf0]
cmp rdx, 8
jb 0x14002d52e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d529
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d645
call fcn.14005c5c0
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xf0], 7
mov word [rsp + 0xd8], r14w
mov rdx, qword [rsp + 0x138]
cmp rdx, 8
jb 0x14002d593
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d58e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d64b
call fcn.14005c5c0
mov qword [rsp + 0x130], r14
mov qword [rsp + 0x138], 7
mov word [rsp + 0x120], r14w
mov rdx, qword [rsp + 0x118]
cmp rdx, 8
jb 0x14002d5f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d5ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d651
call fcn.14005c5c0
nop
mov rax, rsi
jmp 0x14002d5ff
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14005c5a0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
ret
call fcn.1400a87d8
nop
call fcn.1400a87d8
nop
call fcn.1400a87d8
nop
call fcn.1400a87d8
nop
call fcn.1400a87d8
nop
call fcn.1400a87d8
int3