Function at 0x1400a1170
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 [0x14012d228]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov dword [rsp + 0x60], r15d
lea rcx, [rsp + 0x68]
call fcn.1400a0cf0
mov rbx, rax
lea rcx, [0x14012e320]
cmp rcx, rax
je 0x1400a11f0
call fcn.1400040a0
movups xmm0, xmmword [rbx]
movups xmmword [0x14012e320], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14012e330], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rcx, [rsp + 0x68]
call fcn.1400040a0
lea rcx, [rbp - 0x30]
call fcn.1400a0f80
nop
cmp qword [rbp - 0x20], 0
jne 0x1400a1238
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], r15
movdqa xmm1, xmmword [0x14010f6a0]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], r15w
lea rax, [rsp + 0x40]
mov ebx, 1
jmp 0x1400a12ae
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.140004260
nop
mov dword [rsp + 0x60], 0x32
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.1400068e0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x58]
call fcn.1400107e0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400068e0
nop
lea rcx, [rbp - 0x58]
call fcn.1400040a0
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 0x1400a12df
and ebx, 0xfffffffb
lea rcx, [rsp + 0x68]
call fcn.1400040a0
nop
test bl, 2
je 0x1400a12f2
and ebx, 0xfffffffd
lea rcx, [rsp + 0x20]
call fcn.1400040a0
nop
test bl, 1
je 0x1400a1302
lea rcx, [rsp + 0x40]
call fcn.1400040a0
nop
lea rcx, [rbp - 0x30]
call fcn.1400040a0
lea rcx, [0x14012e380]
call fcn.1400040a0
movups xmmword [0x14012e380], xmm6
movups xmmword [0x14012e390], xmm7
movdqa xmm0, xmmword [0x14010f6a0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r15w
lea rcx, [rbp - 0x78]
call fcn.1400040a0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x1400a1443
lea ebx, [rax + 1]
mov ecx, ebx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14005b1b0
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 0x1400a1436
mov r8, rdi
nop
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400a1390
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.140004260
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.140004260
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400107e0
mov rbx, rax
lea rcx, [rbp - 0x30]
call fcn.1400040a0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400068e0
nop
lea rcx, [rsp + 0x40]
call fcn.1400040a0
nop
test rsi, rsi
je 0x1400a142e
mov rcx, rsi
call fcn.14005a920
movdqu xmm6, xmmword [rsp + 0x30]
jmp 0x1400a1455
test rsi, rsi
je 0x1400a1443
mov rcx, rsi
call fcn.14005a920
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
movdqa xmm6, xmmword [0x14010f6a0]
lea r14, [0x14012e340]
mov rcx, r14
call fcn.1400040a0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [0x14012e340], xmm0
movups xmmword [0x14012e350], xmm6
movdqa xmm0, xmmword [0x14010f6a0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
lea rcx, [rsp + 0x20]
call fcn.1400040a0
lea rcx, [rsp + 0x68]
call fcn.1400a0f80
mov rbx, rax
lea rcx, [0x14012e360]
cmp rcx, rax
je 0x1400a14d8
call fcn.1400040a0
movups xmm0, xmmword [rbx]
movups xmmword [0x14012e360], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14012e370], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rcx, [rsp + 0x68]
call fcn.1400040a0
xor r8d, r8d
xor edx, edx
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400a1587
lea ebx, [rax + 1]
mov edx, ebx
mov eax, 2
mul rdx
cmovo rax, rdi
mov rcx, rax
call fcn.14005b1b0
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 0x1400a1575
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1400a1533
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.140004260
nop
test rsi, rsi
je 0x1400a15a9
mov edx, 2
mov rcx, rsi
call fcn.14005a920
jmp 0x1400a15a9
test rsi, rsi
je 0x1400a1587
mov edx, 2
mov rcx, rsi
call fcn.14005a920
lea rax, [rsp + 0x20]
mov qword [rbp - 0x38], rax
call fcn.14005d0a0
nop
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
lea rcx, [0x14012e3a0]
call fcn.1400040a0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [0x14012e3a0], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [0x14012e3b0], xmm1
movdqa xmm0, xmmword [0x14010f6a0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
lea rcx, [rsp + 0x20]
call fcn.1400040a0
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.14009d1d0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1400a3680
nop
lea rcx, [rsp + 0x68]
call fcn.1400040a0
lea rbx, [0x14012e3c0]
mov rcx, rbx
call fcn.1400040a0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [0x14012e3c0], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [0x14012e3d0], xmm1
movdqa xmm0, xmmword [0x14010f6a0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x40]
call fcn.1400040a0
mov byte [0x140133be4], 1
cmp qword [0x14012e358], 8
cmovae r14, qword [0x14012e340]
mov rcx, r14
call fcn.1400a8090
test al, al
sete byte [0x140133be5]
mov byte [0x140133be6], 1
mov byte [0x140133ff1], 1
mov byte [0x140133be7], 1
cmp qword [0x14012e3d8], 8
cmovae rbx, qword [0x14012e3c0]
mov rcx, rbx
call fcn.1400a8090
test al, al
sete byte [0x140133ff0]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14005aef0
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