Function at 0x140080f20
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov dword [rsp + 0x60], r15d
lea rcx, [rsp + 0x68]
call fcn.140080aa0
mov rbx, rax
lea rcx, [0x1400f80f0]
cmp rcx, rax
je 0x140080fa0
call fcn.140003e50
movups xmm0, xmmword [rbx]
movups xmmword [0x1400f80f0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1400f8100], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rcx, [rsp + 0x68]
call fcn.140003e50
lea rcx, [rbp - 0x30]
call fcn.140080d30
nop
cmp qword [rbp - 0x20], 0
jne 0x140080fe8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], r15
movdqa xmm1, xmmword [0x1400e3130]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], r15w
lea rax, [rsp + 0x40]
mov ebx, 1
jmp 0x14008105e
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
mov r8d, 6
lea rdx, str.WinSxS
lea rcx, [rsp + 0x20]
call fcn.1400043e0
nop
mov dword [rsp + 0x60], 0x32
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.1400138b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x58]
call fcn.140009b70
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400138b0
nop
lea rcx, [rbp - 0x58]
call fcn.140003e50
lea rax, [rsp + 0x68]
mov ebx, 0x76
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x78], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
or ebx, 8
test bl, 4
je 0x14008108f
and ebx, 0xfffffffb
lea rcx, [rsp + 0x68]
call fcn.140003e50
nop
test bl, 2
je 0x1400810a2
and ebx, 0xfffffffd
lea rcx, [rsp + 0x20]
call fcn.140003e50
nop
test bl, 1
je 0x1400810b2
lea rcx, [rsp + 0x40]
call fcn.140003e50
nop
lea rcx, [rbp - 0x30]
call fcn.140003e50
lea rcx, [0x1400f8150]
call fcn.140003e50
movups xmmword [0x1400f8150], xmm6
movups xmmword [0x1400f8160], xmm7
movdqa xmm0, xmmword [0x1400e3130]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r15w
lea rcx, [rbp - 0x78]
call fcn.140003e50
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x1400811f3
lea ebx, [rax + 1]
mov ecx, ebx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14005caec
mov rsi, rax
mov qword [rbp - 0x38], rax
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400811e6
mov r8, rdi
nop
inc r8
cmp word [rsi + r8*2], 0
jne 0x140081140
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400043e0
nop
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov r8d, 4
lea rdx, str.Temp
lea rcx, [rbp - 0x30]
call fcn.1400043e0
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.140009b70
mov rbx, rax
lea rcx, [rbp - 0x30]
call fcn.140003e50
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400138b0
nop
lea rcx, [rsp + 0x40]
call fcn.140003e50
nop
test rsi, rsi
je 0x1400811de
mov rcx, rsi
call fcn.14005c5c0
movdqu xmm6, xmmword [rsp + 0x30]
jmp 0x140081205
test rsi, rsi
je 0x1400811f3
mov rcx, rsi
call fcn.14005c5c0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
movdqa xmm6, xmmword [0x1400e3130]
lea r14, [0x1400f8110]
mov rcx, r14
call fcn.140003e50
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [0x1400f8110], xmm0
movups xmmword [0x1400f8120], xmm6
movdqa xmm0, xmmword [0x1400e3130]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
lea rcx, [rsp + 0x20]
call fcn.140003e50
lea rcx, [rsp + 0x68]
call fcn.140080d30
mov rbx, rax
lea rcx, [0x1400f8130]
cmp rcx, rax
je 0x140081288
call fcn.140003e50
movups xmm0, xmmword [rbx]
movups xmmword [0x1400f8130], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1400f8140], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rcx, [rsp + 0x68]
call fcn.140003e50
xor r8d, r8d
xor edx, edx
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140081337
lea ebx, [rax + 1]
mov edx, ebx
mov eax, 2
mul rdx
cmovo rax, rdi
mov rcx, rax
call fcn.14005caec
mov rsi, rax
mov qword [rbp - 0x38], rax
mov r8d, ebx
mov rdx, rax
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140081325
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1400812e3
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400043e0
nop
test rsi, rsi
je 0x140081359
mov edx, 2
mov rcx, rsi
call fcn.14005c5c0
jmp 0x140081359
test rsi, rsi
je 0x140081337
mov edx, 2
mov rcx, rsi
call fcn.14005c5c0
lea rax, [rsp + 0x20]
mov qword [rbp - 0x38], rax
call fcn.140034c2c
nop
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
lea rcx, [0x1400f8170]
call fcn.140003e50
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [0x1400f8170], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [0x1400f8180], xmm1
movdqa xmm0, xmmword [0x1400e3130]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
lea rcx, [rsp + 0x20]
call fcn.140003e50
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.14007cfd0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14002b490
nop
lea rcx, [rsp + 0x68]
call fcn.140003e50
lea rbx, [0x1400f8190]
mov rcx, rbx
call fcn.140003e50
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [0x1400f8190], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [0x1400f81a0], xmm1
movdqa xmm0, xmmword [0x1400e3130]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x40]
call fcn.140003e50
mov byte [0x1400fb904], 1
cmp qword [0x1400f8128], 8
cmovae r14, qword [0x1400f8110]
mov rcx, r14
call fcn.140088250
test al, al
sete byte [0x1400fb905]
mov byte [0x1400fb906], 1
mov byte [0x1400fbd11], 1
mov byte [0x1400fb907], 1
cmp qword [0x1400f81a8], 8
cmovae rbx, qword [0x1400f8190]
mov rcx, rbx
call fcn.140088250
test al, al
sete byte [0x1400fbd10]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14005c5a0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret