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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x1e0
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
mov rax, qword [0x14005a060]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, 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 edi, edi
mov qword [r11 - 0x118], rdi
mov qword [r11 - 0xf0], rdi
lea r8, str.PATH
lea rdx, [r11 - 0xf0]
lea rcx, [r11 - 0x118]
call fcn.1400217dc
test eax, eax
jne 0x14000c576
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x14000c576
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x180], rdi
mov qword [rsp + 0x188], 7
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x14000c530
lea rcx, [rsp + 0x170]
call fcn.140004be0
mov rcx, qword [rsp + 0xd0]
call fcn.14001f7d4
movups xmm6, xmmword [rsp + 0x170]
movups xmmword [rsp + 0x150], xmm6
movups xmm7, xmmword [rsp + 0x180]
movups xmmword [rsp + 0x160], xmm7
jmp 0x14000c5aa
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x168], 7
mov word [rsp + 0x150], di
movups xmm7, xmmword [rsp + 0x160]
movups xmm6, xmmword [rsp + 0x150]
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x118], 7
mov word [rsp + 0x100], di
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x140], rdi
lea rax, [0x14005ac70]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x190]
call fcn.14000c0e0
mov rcx, qword [0x14005ac78]
mov rax, qword [rsp + 0x148]
cmp qword [rax + 8], rcx
jne 0x14000c643
cmp dword [rsp + 0x140], 0
jne 0x14000c643
movups xmm0, xmmword [rsp + 0x190]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x1a0]
movups xmmword [rsp + 0x38], xmm1
mov al, 1
mov byte [rsp + 0x48], al
jmp 0x14000c696
xor al, al
mov byte [rsp + 0x48], al
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 8
jb 0x14000c696
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c68c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cb8e
call fcn.14001907c
movzx eax, byte [rsp + 0x48]
mov qword [rsp + 0x90], rdi
movdqa xmm1, xmmword [0x140051f40]
test al, al
je 0x14000c6cd
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x130], xmm1
mov ecx, 7
mov qword [rsp + 0x40], rcx
mov word [rsp + 0x28], di
jmp 0x14000c6e2
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x130], xmm1
mov rcx, qword [rsp + 0x40]
movups xmmword [rsp + 0x120], xmm0
test al, al
je 0x14000c73e
cmp rcx, 8
jb 0x14000c72b
lea rdx, [rcx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c726
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cb94
call fcn.14001907c
movdqa xmm0, xmmword [0x140051f40]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
cmp qword [rsp + 0x130], 0
je 0x14000c960
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
xor r8d, r8d
lea rdx, [0x140051a9c]
lea rcx, [rsp + 0x50]
call fcn.140004be0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call fcn.140002b40
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000c7cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c7ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cb9a
call fcn.14001907c
lea r11, [rsp + 0x120]
cmp qword [rsp + 0x138], 8
cmovae r11, qword [rsp + 0x120]
mov rax, qword [rsp + 0x130]
lea rdx, [r11 + rax*2]
mov rcx, r11
call fcn.140002a50
cmp rax, rdx
je 0x14000c86c
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14000c811
cmp cx, 0x2f
jne 0x14000c820
add rax, 2
jmp 0x14000c7fd
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14000c83e
cmp cx, 0x2f
je 0x14000c83e
mov rdx, r8
cmp rax, r8
je 0x14000c86c
jmp 0x14000c820
cmp rax, rdx
je 0x14000c86c
nop dword [rax]
nop word [rax + rax]
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14000c864
cmp cx, 0x2f
jne 0x14000c86c
mov rdx, r8
cmp rax, r8
jne 0x14000c850
sub rdx, r11
sar rdx, 1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], di
mov r8, rdx
mov rdx, r11
lea rcx, [rsp + 0x70]
call fcn.140004be0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xb0]
call fcn.140003980
mov rdx, qword [rsp + 0x118]
cmp rdx, 8
jb 0x14000c8fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c8f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cba0
call fcn.14001907c
movups xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0x100], xmm0
movups xmm1, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0x110], xmm1
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14000c960
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c95b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cba6
call fcn.14001907c
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], 7
mov word [rsp + 0xd8], di
xor r8d, r8d
mov edx, 0x104
lea rcx, [rsp + 0xd8]
call fcn.140005950
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 0x14000ca1a
cmp qword [rsp + 0x110], 0
je 0x14000c9eb
mov r8d, 1
lea rdx, [0x140051aa0]
lea rcx, [rsp + 0x100]
call fcn.140003900
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.140003900
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 [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
mov byte [rbx + 0x20], 1
mov rdx, qword [rsp + 0xf0]
cmp rdx, 8
jb 0x14000ca94
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cba6
call fcn.14001907c
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], 7
mov word [rsp + 0xd8], di
mov rdx, qword [rsp + 0x138]
cmp rdx, 8
jb 0x14000caf8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000caf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cbac
call fcn.14001907c
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0x138], 7
mov word [rsp + 0x120], di
mov rdx, qword [rsp + 0x118]
cmp rdx, 8
jb 0x14000cb59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cbb2
call fcn.14001907c
nop
mov rax, rbx
jmp 0x14000cb63
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140019030
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14001f75c
nop
call fcn.14001f75c
int3
call fcn.14001f75c
nop
call fcn.14001f75c
nop
call fcn.14001f75c
nop
call fcn.14001f75c
nop
call fcn.14001f75c
int3