Function at 0x14008aea0
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 [0x14010c1f0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov dword [rsp + 0x60], r15d
lea rcx, [rsp + 0x68]
call fcn.14008aa20
mov rbx, rax
lea rcx, [0x14010c0b0]
cmp rcx, rax
je 0x14008af20
call fcn.140006060
movups xmm0, xmmword [rbx]
movups xmmword [0x14010c0b0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14010c0c0], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rcx, [rsp + 0x68]
call fcn.140006060
lea rcx, [rbp - 0x30]
call fcn.14008acb0
nop
cmp qword [rbp - 0x20], 0
jne 0x14008af68
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], r15
movdqa xmm1, xmmword [0x1400f2480]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], r15w
lea rax, [rsp + 0x40]
mov ebx, 1
jmp 0x14008afde
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.14003d900
nop
mov dword [rsp + 0x60], 0x32
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.140021f90
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x58]
call fcn.140005be0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140021f90
nop
lea rcx, [rbp - 0x58]
call fcn.140006060
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 0x14008b00f
and ebx, 0xfffffffb
lea rcx, [rsp + 0x68]
call fcn.140006060
nop
test bl, 2
je 0x14008b022
and ebx, 0xfffffffd
lea rcx, [rsp + 0x20]
call fcn.140006060
nop
test bl, 1
je 0x14008b032
lea rcx, [rsp + 0x40]
call fcn.140006060
nop
lea rcx, [rbp - 0x30]
call fcn.140006060
lea rcx, [0x14010c110]
call fcn.140006060
movups xmmword [0x14010c110], xmm6
movups xmmword [0x14010c120], xmm7
movdqa xmm0, xmmword [0x1400f2480]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r15w
lea rcx, [rbp - 0x78]
call fcn.140006060
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x14008b173
lea ebx, [rax + 1]
mov ecx, ebx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1400a40b0
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 0x14008b166
mov r8, rdi
nop
inc r8
cmp word [rsi + r8*2], 0
jne 0x14008b0c0
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.14003d900
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.14003d900
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.140005be0
mov rbx, rax
lea rcx, [rbp - 0x30]
call fcn.140006060
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140021f90
nop
lea rcx, [rsp + 0x40]
call fcn.140006060
nop
test rsi, rsi
je 0x14008b15e
mov rcx, rsi
call fcn.1400a36a0
movdqu xmm6, xmmword [rsp + 0x30]
jmp 0x14008b185
test rsi, rsi
je 0x14008b173
mov rcx, rsi
call fcn.1400a36a0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
movdqa xmm6, xmmword [0x1400f2480]
lea r14, [0x14010c0d0]
mov rcx, r14
call fcn.140006060
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [0x14010c0d0], xmm0
movups xmmword [0x14010c0e0], xmm6
movdqa xmm0, xmmword [0x1400f2480]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
lea rcx, [rsp + 0x20]
call fcn.140006060
lea rcx, [rsp + 0x68]
call fcn.14008acb0
mov rbx, rax
lea rcx, [0x14010c0f0]
cmp rcx, rax
je 0x14008b208
call fcn.140006060
movups xmm0, xmmword [rbx]
movups xmmword [0x14010c0f0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14010c100], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rcx, [rsp + 0x68]
call fcn.140006060
xor r8d, r8d
xor edx, edx
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14008b2b7
lea ebx, [rax + 1]
mov edx, ebx
mov eax, 2
mul rdx
cmovo rax, rdi
mov rcx, rax
call fcn.1400a40b0
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 0x14008b2a5
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14008b263
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.14003d900
nop
test rsi, rsi
je 0x14008b2d9
mov edx, 2
mov rcx, rsi
call fcn.1400a36a0
jmp 0x14008b2d9
test rsi, rsi
je 0x14008b2b7
mov edx, 2
mov rcx, rsi
call fcn.1400a36a0
lea rax, [rsp + 0x20]
mov qword [rbp - 0x38], rax
call fcn.140047770
nop
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
lea rcx, [0x14010c130]
call fcn.140006060
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [0x14010c130], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [0x14010c140], xmm1
movdqa xmm0, xmmword [0x1400f2480]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
lea rcx, [rsp + 0x20]
call fcn.140006060
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.140086eb0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140005e30
nop
lea rcx, [rsp + 0x68]
call fcn.140006060
lea rbx, [0x14010c150]
mov rcx, rbx
call fcn.140006060
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [0x14010c150], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [0x14010c160], xmm1
movdqa xmm0, xmmword [0x1400f2480]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x40]
call fcn.140006060
mov byte [0x140110d94], 1
cmp qword [0x14010c0e8], 8
cmovae r14, qword [0x14010c0d0]
mov rcx, r14
call fcn.140091a90
test al, al
sete byte [0x140110d95]
mov byte [0x140110d96], 1
mov byte [0x1401111a1], 1
mov byte [0x140110d97], 1
cmp qword [0x14010c168], 8
cmovae rbx, qword [0x14010c150]
mov rcx, rbx
call fcn.140091a90
test al, al
sete byte [0x1401111a0]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a3640
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