Function at 0x1400c2b00
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140178478]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x58], r14
lea r15d, [r14 + 7]
mov qword [rsp + 0x60], r15
mov word [rsp + 0x48], r14w
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov word [rsp + 0x28], r14w
mov rcx, qword [rcx + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400c2b79
mov rdx, qword [rdi]
mov r13d, MsiPreviewDialogW
test rcx, rcx
je 0x1400c2c6f
dec rcx
or rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rbx, [rdx + rax*2]
jmp 0x1400c2ba9
cmp rbx, rdx
je 0x1400c2c6f
sub rbx, 2
cmp word [rbx], r13w
jne 0x1400c2b9c
sub rbx, rdx
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x1400c2c6f
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r15
mov word [rsp + 0x68], r14w
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14000f3cc
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400c2bfe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.14000c220
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm1
lea r8, [rbx + 1]
cmp r8, qword [rdi + 0x10]
jae 0x1400c2c8d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r15
mov word [rsp + 0x68], r14w
or r9, 0xffffffffffffffff
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14000f3cc
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400c2c59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.14000c220
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x38], xmm1
jmp 0x1400c2c8d
mov qword [rsp + 0x58], 1
mov dword [rsp + 0x48], MsiGetFeatureCostA
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.14000f208
cmp qword [rsp + 0x38], r14
jne 0x1400c2ca5
lea rdx, [0x140129810]
lea rcx, [rsp + 0x28]
call fcn.14000954c
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea r9, [rbp - 0x70]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1400c2d3b
mov edx, r13d
lea rcx, str.admin_appman_appv_shared_system_file.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400c2cfe
inc rax
jmp 0x1400c2d05
lea rax, str.admin_appman_appv_shared_system_file.cpp
mov rdx, rax
lea rcx, [0x14017bb60]
call fcn.140007964
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
movabs rax, 0x802500000000
or rdi, rax
jmp 0x1400c2d51
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.14000954c
movabs rdi, 0x8000000000
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400c2d6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.14000c220
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov word [rsp + 0x28], r14w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400c2d9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.14000c220
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400d24e0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret