Function at 0x140003b38
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140077698]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rdx
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x30], r12d
mov r14d, r12d
or r13d, 0xffffffff
cmp dword [rcx + 0x78], r12d
je 0x140003c5c
mov rax, qword [rcx + 0x70]
cmp dword [rax - 0x10], r12d
je 0x140003c5c
mov dword [rsp + 0x34], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call fcn.140034210
lea r9, [rsp + 0x34]
lea r8, [rbp + 0x180]
lea rdx, str.PackageCode
mov rcx, qword [rdi + 0x28]
call sub.msi.dll_MsiGetPropertyW
lea r15d, [r12 + 1]
test eax, eax
jne 0x140003c10
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x38]
call fcn.1400019ac
mov esi, r15d
mov dword [rsp + 0x30], r15d
mov rdx, qword [rax]
test rdx, rdx
je 0x140003fbc
mov rcx, qword [rdi + 0x30]
call fcn.14003b290
test eax, eax
jne 0x140003c13
mov r15b, r12b
mov ecx, 1
test cl, sil
je 0x140003c55
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140003c51
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
mov ecx, 1
mov esi, dword [rsp + 0x30]
test r15b, r15b
cmovne r14d, ecx
call fcn.1400122fc
mov rcx, rax
test rax, rax
je 0x140003fb1
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
add rax, 0x18
mov qword [rbx], rax
or esi, 2
mov dword [rsp + 0x30], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140034210
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140059558]
lea rcx, str.msiexec.exe
test eax, eax
cmove r8, rcx
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14003b3a4
mov rax, qword [rdi + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rbx
mov qword [rsp + 0x20], rax
test r14d, r14d
je 0x140003deb
mov r9, qword [rdi + 0x28]
lea rdx, str.__s___i__s__s_REBOOT_ReallySuppress_
call fcn.1400016a4
cmp dword [0x1400795ec], r12d
je 0x140003d1e
lea rcx, str._SUPPRESS_APP_LAUNCH_Yes_
call fcn.1400383fc
mov r8d, eax
lea rdx, str._SUPPRESS_APP_LAUNCH_Yes_
mov rcx, rbx
call fcn.140003a24
lea r8, [rdi + 0x70]
lea rdx, str._PATCH_
lea rcx, [rsp + 0x48]
call fcn.140003550
nop
lea r8, [0x140059194]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001a44
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.140003a24
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140003d82
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140003daa
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
cmp dword [0x1400795f0], r12d
je 0x140003dcb
lea rcx, str.__qn
call fcn.1400383fc
lea rdx, str.__qn
jmp 0x140003f79
cmp dword [0x1400795f4], r12d
jne 0x140003f66
mov rax, qword [rdi + 0x10]
cmp dword [rax - 0x10], r12d
jne 0x140003f84
jmp 0x140003f66
mov r9, qword [rdi + 8]
lea rdx, str.__s___i___s___s_REBOOT_ReallySuppress_
call fcn.1400016a4
cmp dword [0x1400795ec], r12d
je 0x140003e22
lea rcx, str._SUPPRESS_APP_LAUNCH_Yes_
call fcn.1400383fc
mov r8d, eax
lea rdx, str._SUPPRESS_APP_LAUNCH_Yes_
mov rcx, rbx
call fcn.140003a24
cmp dword [0x140079600], r12d
je 0x140003e7c
lea r8, [0x1400795e0]
lea rdx, str._IGNOREVCRT641_VCRTERROR
lea rcx, [rsp + 0x50]
call fcn.140003550
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.140003a24
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140003e7c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
cmp dword [0x140079604], r12d
je 0x140003ea3
lea rcx, str._IGNOREVCRT641
call fcn.1400383fc
mov r8d, eax
lea rdx, str._IGNOREVCRT641
mov rcx, rbx
call fcn.140003a24
cmp dword [rdi + 0x78], r12d
je 0x140003eb7
mov rax, qword [rdi + 0x70]
cmp dword [rax - 0x10], r12d
je 0x140003f84
lea r8, [rdi + 0x70]
mov rax, qword [r8]
cmp dword [rax - 0x10], r12d
je 0x140003f50
lea rdx, str._PATCH_
lea rcx, [rsp + 0x60]
call fcn.140003550
nop
lea r8, [0x140059194]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140001a44
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, rbx
call fcn.140003a24
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140003f28
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140003f50
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
cmp dword [0x1400795f0], r12d
jne 0x140003db3
cmp dword [0x1400795f4], r12d
je 0x140003f84
lea rcx, str.__qb
call fcn.1400383fc
lea rdx, str.__qb
mov r8d, eax
mov rcx, rbx
call fcn.140003a24
mov rax, rbx
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400330d0
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001474
int3
mov ecx, 0x80004005
call fcn.140001474
int3