Function at 0x1800036a0
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x180040420]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rcx
lea rcx, [rsp + 0x58]
call fcn.18000b960
nop
lea rcx, [rsp + 0x58]
call fcn.1800049f0
test al, al
je 0x18000399c
lea rcx, [rsp + 0x58]
call fcn.18000c3d0
mov rcx, rax
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [0x180030ff0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x18000376d
lea rcx, [rsp + 0x40]
call fcn.18000b980
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rbx, rax
lea rcx, [rsp + 0x58]
call fcn.18000c3b0
mov rdx, rax
mov r9d, dword [rsp + 0x40]
mov r8, rbx
lea rcx, str.GetTempFileName_in___s__failed.__s._Error_code___lu.
call fcn.180004f60
nop
jmp 0x180003992
lea rdx, [rbp - 0x80]
lea rcx, [rsi + 0x10]
call fcn.18000bb40
lea rcx, [rsi + 0x10]
call fcn.18000c3d0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x1f01ff
lea r8d, [r9 + 3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
jne 0x180003804
lea rcx, [rsp + 0x40]
call fcn.18000b980
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rbx, rax
lea rcx, [rsi + 0x10]
call fcn.18000c3b0
mov rdx, rax
mov r9d, dword [rsp + 0x40]
mov r8, rbx
lea rcx, str.CreateFile___s__failed.__s._Error_code___lu.
call fcn.180004f60
nop
jmp 0x180003992
lea rcx, [rsp + 0x68]
call fcn.18000b960
nop
mov edi, MsiEnumClientsA
lea rbx, [rbp + 0x1e0]
mov ecx, dword [rbp + 0x1d8]
test ecx, ecx
je 0x180003875
add rbx, 0xfffffffffffffff8
nop dword [rax]
add rbx, 8
dec ecx
je 0x180003848
dec ecx
jne 0x18000395b
add rbx, 0x10
add edi, dword [rbx]
jmp 0x180003865
add rbx, 8
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx]
call fcn.1800048a0
lea rcx, [rsp + 0x68]
call fcn.18000c4a0
add edi, eax
add rbx, 8
mov ecx, dword [rbx]
mov dword [rbp + 0x1d8], ecx
test ecx, ecx
jne 0x180003830
mov ebx, edi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsi]
lea rcx, [rsi + 8]
call fcn.1800039d0
test al, al
jne 0x1800038e5
lea rcx, [rsp + 0x40]
call fcn.18000b980
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rbx, rax
lea rcx, [rsi + 0x10]
call fcn.18000c3b0
mov rdx, rax
mov r9d, dword [rsp + 0x40]
mov r8, rbx
lea rcx, str.CreateFileMapping___s__failed.__s._Error_code___lu.
call fcn.180004f60
nop
jmp 0x180003951
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x20], rax
test rax, rax
jne 0x18000395f
lea rcx, [rsp + 0x40]
call fcn.18000b980
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rbx, rax
lea rcx, [rsi + 0x10]
call fcn.18000c3b0
mov rdx, rax
mov r9d, dword [rsp + 0x40]
mov r8, rbx
lea rcx, str.MapViewOfFile___s__failed.__s._Error_code___lu.
call fcn.180004f60
nop
lea rcx, [rsp + 0x48]
call fcn.18000b9b0
xor bl, bl
jmp 0x180003986
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.1800181d0
lea rcx, [rsi + 0x10]
call fcn.18000c3d0
mov rdx, rax
lea rcx, str.CaDataPath
call fcn.180005560
mov bl, 1
lea rcx, [rsp + 0x68]
call fcn.18000b9b0
jmp 0x18000399e
lea rcx, [rsp + 0x48]
call fcn.18000b9b0
xor bl, bl
lea rcx, [rsp + 0x58]
call fcn.18000b9b0
movzx eax, bl
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.180016e40
add rsp, 0x2a0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret