Function at 0x403eb4
Capabilities:
Get common file path

Disassembly:
push 0x430
mov eax, 0x43910a
call fcn.00421483
mov edi, ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x428], ecx
cmp dword [edi + 0x3c], ecx
je 0x403fb2
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], ecx
je 0x403fb2
xor eax, eax
mov dword [ebp - 0x438], 0x104
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ecx
push eax
call fcn.00420bb0
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
push str.PackageCode
push dword [edi + 0x14]
call sub.msi.dll_MsiGetPropertyW
xor ecx, ecx
inc ecx
test eax, eax
jne 0x403f73
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x434]
call fcn.0040194d
push dword [eax]
inc ebx
lea ecx, [edi + 0x18]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ebx
call fcn.004027ad
xor ecx, ecx
inc ecx
mov byte [ebp - 0x421], cl
test eax, eax
jne 0x403f7a
mov byte [ebp - 0x421], 0
and dword [ebp - 4], 0
test bl, 1
je 0x403f9d
mov ecx, dword [ebp - 0x434]
and ebx, 0xfffffffe
mov dword [ebp - 0x430], ebx
lea ecx, [ecx - 0x10]
call fcn.00401856
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x428]
cmp byte [ebp - 0x421], al
cmovne eax, ecx
mov dword [ebp - 0x428], eax
call fcn.0040b5a3
push eax
mov ecx, esi
call fcn.004012cf
and dword [ebp - 4], 0
or ebx, 2
xor eax, eax
mov dword [ebp - 0x430], ebx
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00420bb0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
lea eax, [ebp - 0x218]
je 0x40400f
push 0x43d08c
jmp 0x404014
push str.msiexec.exe
push 0x104
push eax
call fcn.00421bc7
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [edi + 8]
cmp dword [ebp - 0x428], ebx
je 0x4040ef
push dword [edi + 0x14]
push eax
push str.__s___i__s__s_REBOOT_ReallySuppress_
push esi
call fcn.004014f0
add esp, 0x14
cmp dword [0x4529a8], ebx
je 0x40405d
push str._SUPPRESS_APP_LAUNCH_Yes_
mov ecx, esi
call fcn.00403dfd
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x42c]
push 0x43d06c
push eax
call fcn.00403b11
push 0x43d068
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 2
push eax
call fcn.00401a19
add esp, 0x18
mov eax, dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
push dword [eax - 0xc]
push eax
call fcn.00403e26
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00401856
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401856
cmp dword [0x4529ac], 0
je 0x4040d1
push str.__qn
jmp 0x404206
cmp dword [0x4529b0], 0
jne 0x404201
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], ebx
jne 0x40420d
jmp 0x404201
push dword [edi + 4]
push eax
push str.__s___i___s___s_REBOOT_ReallySuppress_
push esi
call fcn.004014f0
add esp, 0x14
cmp dword [0x4529a8], ebx
je 0x404115
push str._SUPPRESS_APP_LAUNCH_Yes_
mov ecx, esi
call fcn.00403dfd
cmp dword [0x4529bc], ebx
je 0x40415b
push 0x4529a0
lea eax, [ebp - 0x42c]
push str._IGNOREVCRT641_VCRTERROR
push eax
call fcn.00403b11
add esp, 0xc
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 4], 4
push dword [eax - 0xc]
push eax
call fcn.00403e26
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401856
cmp dword [0x4529c0], 0
je 0x404170
push str._IGNOREVCRT641
mov ecx, esi
call fcn.00403dfd
cmp dword [edi + 0x3c], ebx
je 0x404182
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], 0
je 0x40420d
add edi, 0x38
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4041eb
push edi
lea eax, [ebp - 0x428]
push 0x43d06c
push eax
call fcn.00403b11
push 0x43d068
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 5
push eax
call fcn.00401a19
add esp, 0x18
mov eax, dword [eax]
mov ecx, esi
mov byte [ebp - 4], 6
push dword [eax - 0xc]
push eax
call fcn.00403e26
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.00401856
mov ecx, dword [ebp - 0x428]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401856
cmp dword [0x4529ac], 0
jne 0x4040c7
cmp dword [0x4529b0], 0
je 0x40420d
push str.__qb
mov ecx, esi
call fcn.00403dfd
mov eax, esi
call fcn.00421432
ret 4