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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x1c0
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
lea rax, str.san_path_env_7D9669CE_347E_435A_BDF7_DBDBA31FEA91
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe0], rax
xor r15d, r15d
mov qword [r11 - 0xf8], r15
mov qword [r11 - 0x90], r15
lea r8, str.PATH
lea rdx, [r11 - 0x90]
lea rcx, [r11 - 0xf8]
call fcn.1400b3b0c
test eax, eax
jne 0x14000c926
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x14000c926
mov qword [rsp + 0x170], r15
mov qword [rsp + 0x180], r15
mov qword [rsp + 0x188], 7
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14000c8e0
lea rcx, [rsp + 0x170]
call fcn.14003d860
mov rcx, qword [rsp + 0xe0]
call fcn.1400a9a40
movups xmm6, xmmword [rsp + 0x170]
movups xmmword [rsp + 0x150], xmm6
movups xmm7, xmmword [rsp + 0x180]
movups xmmword [rsp + 0x160], xmm7
jmp 0x14000c95b
mov qword [rsp + 0x150], r15
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x168], 7
mov word [rsp + 0x150], r15w
movups xmm7, xmmword [rsp + 0x160]
movups xmm6, xmmword [rsp + 0x150]
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf8], r15
mov qword [rsp + 0x100], 7
mov word [rsp + 0xe8], r15w
mov qword [rsp + 0x80], r15
lea rcx, [rsp + 0xb8]
call fcn.14000c750
mov qword [rsp + 0x78], r15
movdqa xmm1, xmmword [0x1400f22b0]
cmp byte [rax + 0x20], 0
je 0x14000c9e9
mov qword [rsp + 0x108], r15
mov qword [rsp + 0x118], r15
mov qword [rsp + 0x120], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x118], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
jmp 0x14000c9fe
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x108], xmm0
movups xmmword [rsp + 0x118], xmm1
lea rcx, [rsp + 0xb8]
call fcn.140020150
cmp qword [rsp + 0x118], 0
je 0x14000cc19
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
xor r8d, r8d
lea rdx, [0x1400ee574]
lea rcx, [rsp + 0x38]
call fcn.14003d860
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x108]
call fcn.140005b60
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14000ca9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf0c
call fcn.1400a2ab0
lea rdi, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae rdi, qword [rsp + 0x108]
mov rax, qword [rsp + 0x118]
lea rbx, [rdi + rax*2]
mov rdx, rbx
mov rcx, rdi
call fcn.140005a70
cmp rax, rbx
je 0x14000cb2d
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14000cae2
cmp cx, 0x2f
jne 0x14000caf0
add rax, 2
jmp 0x14000cace
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14000cb0d
cmp cx, 0x2f
je 0x14000cb0d
mov rbx, rdx
cmp rax, rdx
je 0x14000cb2d
jmp 0x14000caf0
cmp rax, rbx
je 0x14000cb2d
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14000cb25
cmp cx, 0x2f
jne 0x14000cb2d
mov rbx, rdx
cmp rax, rdx
jne 0x14000cb12
sub rbx, rdi
sar rbx, 1
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14003d860
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x98]
call fcn.140021ef0
mov rdx, qword [rsp + 0x100]
cmp rdx, 8
jb 0x14000cbb7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cbb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf12
call fcn.1400a2ab0
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsp + 0xe8], xmm0
movups xmm1, xmmword [rsp + 0xa8]
movups xmmword [rsp + 0xf8], xmm1
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14000cc19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf18
call fcn.1400a2ab0
mov qword [rsp + 0x128], r15
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x140], 7
mov word [rsp + 0x128], r15w
xor r8d, r8d
mov edx, 0x104
lea rcx, [rsp + 0x128]
call fcn.1400256c0
nop
lea rcx, [rsp + 0x128]
cmp qword [rsp + 0x140], 8
cmovae rcx, qword [rsp + 0x128]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jae 0x14000cd8b
mov rdi, qword [rsp + 0xf8]
test rdi, rdi
je 0x14000cd02
mov rdx, qword [rsp + 0x100]
mov rax, rdx
sub rax, rdi
cmp rax, 1
jb 0x14000ccd6
lea rcx, [rdi + 1]
mov qword [rsp + 0xf8], rcx
lea rax, [rsp + 0xe8]
cmp rdx, 8
cmovae rax, qword [rsp + 0xe8]
mov edx, 0x3b
mov word [rax + rdi*2], dx
mov word [rax + rcx*2], r15w
jmp 0x14000ccfa
mov qword [rsp + 0x20], 1
lea r9, [0x1400ee88c]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0xe8]
call fcn.14002db40
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x138]
lea r9, [rsp + 0x128]
cmp qword [rsp + 0x140], 8
cmovae r9, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
sub rax, rdi
cmp rsi, rax
ja 0x14000cd73
lea rax, [rdi + rsi]
mov qword [rsp + 0xf8], rax
lea rbx, [rsp + 0xe8]
cmp rcx, 8
cmovae rbx, qword [rsp + 0xe8]
lea rcx, [rbx + rdi*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1400a5290
lea rax, [rsi + rdi]
mov word [rbx + rax*2], r15w
jmp 0x14000cd8b
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0xe8]
call fcn.14002db40
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
movups xmmword [r14], xmm6
movups xmmword [r14 + 0x10], xmm7
mov byte [r14 + 0x20], 1
mov rdx, qword [rsp + 0x140]
cmp rdx, 8
jb 0x14000ce08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf18
call fcn.1400a2ab0
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x140], 7
mov word [rsp + 0x128], r15w
mov rdx, qword [rsp + 0x120]
cmp rdx, 8
jb 0x14000ce6d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf1e
call fcn.1400a2ab0
mov qword [rsp + 0x118], r15
mov qword [rsp + 0x120], 7
mov word [rsp + 0x108], r15w
mov rdx, qword [rsp + 0x100]
cmp rdx, 8
jb 0x14000cecf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cec9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf24
call fcn.1400a2ab0
nop
mov rax, r14
jmp 0x14000ced9
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400a2a50
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1400a99c0
nop
call fcn.1400a99c0
nop
call fcn.1400a99c0
nop
call fcn.1400a99c0
nop
call fcn.1400a99c0
int3