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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x1b0
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
mov rax, qword [0x140048020]
xor rax, rsp
mov qword [rsp + 0x180], 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 - 0xe8], rdi
mov qword [r11 - 0xa0], rdi
lea r8, str.PATH
lea rdx, [r11 - 0xa0]
lea rcx, [r11 - 0xe8]
call fcn.1400192b4
test eax, eax
jne 0x140007656
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x140007656
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x178], 7
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x140007610
lea rcx, [rsp + 0x160]
call fcn.14000aed0
mov rcx, qword [rsp + 0xd0]
call fcn.140018e2c
movups xmm6, xmmword [rsp + 0x160]
movups xmmword [rsp + 0x140], xmm6
movups xmm7, xmmword [rsp + 0x170]
movups xmmword [rsp + 0x150], xmm7
jmp 0x14000768a
mov qword [rsp + 0x140], rdi
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x158], 7
mov word [rsp + 0x140], di
movups xmm7, xmmword [rsp + 0x150]
movups xmm6, xmmword [rsp + 0x140]
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0x138], 7
mov word [rsp + 0x120], di
mov qword [rsp + 0x98], rdi
lea rcx, [rsp + 0x68]
call fcn.140007490
mov qword [rsp + 0x90], rdi
movdqa xmm1, xmmword [0x140041210]
cmp byte [rax + 0x20], 0
je 0x140007716
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xe8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
jmp 0x14000772e
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm1
cmp byte [rsp + 0x88], 0
je 0x140007790
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14000777d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007778
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007bd5
call fcn.140011160
movdqa xmm0, xmmword [0x140041210]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], di
cmp qword [rsp + 0xe8], 0
je 0x1400079a7
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
xor r8d, r8d
lea rdx, [0x140040d24]
lea rcx, [rsp + 0x28]
call fcn.14000aed0
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xd8]
call fcn.140002d50
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140007821
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000781c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007bdb
call fcn.140011160
lea r11, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae r11, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xe8]
lea rdx, [r11 + rax*2]
mov rcx, r11
call fcn.140002c60
cmp rax, rdx
je 0x1400078bc
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140007863
cmp cx, 0x2f
jne 0x140007870
add rax, 2
jmp 0x14000784f
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14000788e
cmp cx, 0x2f
je 0x14000788e
mov rdx, r8
cmp rax, r8
je 0x1400078bc
jmp 0x140007870
cmp rax, rdx
je 0x1400078bc
nop dword [rax]
nop word [rax + rax]
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x1400078b4
cmp cx, 0x2f
jne 0x1400078bc
mov rdx, r8
cmp rax, r8
jne 0x1400078a0
sub rdx, r11
sar rdx, 1
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov r8, rdx
mov rdx, r11
lea rcx, [rsp + 0x48]
call fcn.14000aed0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xb0]
call fcn.140009330
mov rdx, qword [rsp + 0x138]
cmp rdx, 8
jb 0x140007945
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007940
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007be1
call fcn.140011160
movups xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0x120], xmm0
movups xmm1, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0x130], xmm1
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400079a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400079a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007be7
call fcn.140011160
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x110], 7
mov word [rsp + 0xf8], di
xor r8d, r8d
mov edx, 0x104
lea rcx, [rsp + 0xf8]
call fcn.14000ad30
nop
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rcx, qword [rsp + 0xf8]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jae 0x140007a61
cmp qword [rsp + 0x130], 0
je 0x140007a32
mov r8d, 1
lea rdx, [0x140040d28]
lea rcx, [rsp + 0x120]
call fcn.140009210
lea rdx, [rsp + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rdx, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x108]
lea rcx, [rsp + 0x120]
call fcn.140009210
lea rdx, [rsp + 0x120]
cmp qword [rsp + 0x138], 8
cmovae rdx, qword [rsp + 0x120]
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 + 0x110]
cmp rdx, 8
jb 0x140007adb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ad6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007be7
call fcn.140011160
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x110], 7
mov word [rsp + 0xf8], di
mov rdx, qword [rsp + 0xf0]
cmp rdx, 8
jb 0x140007b3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007bed
call fcn.140011160
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], 7
mov word [rsp + 0xd8], di
mov rdx, qword [rsp + 0x138]
cmp rdx, 8
jb 0x140007ba0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007bf3
call fcn.140011160
nop
mov rax, rbx
jmp 0x140007baa
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140011140
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140019074
int3
call fcn.140019074
nop
call fcn.140019074
nop
call fcn.140019074
nop
call fcn.140019074
nop
call fcn.140019074
int3