Function at 0x403eb1
Capabilities:
Get common file path

Disassembly:
push 0x430
mov eax, 0x4393d3
call fcn.00421793
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 0x403faf
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], ecx
je 0x403faf
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.00420ec0
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 0x403f70
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.004027af
xor ecx, ecx
inc ecx
mov byte [ebp - 0x421], cl
test eax, eax
jne 0x403f77
mov byte [ebp - 0x421], 0
and dword [ebp - 4], 0
test bl, 1
je 0x403f9a
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.0040b92a
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.00420ec0
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 0x40400c
push 0x43e08c
jmp 0x404011
push str.msiexec.exe
push 0x104
push eax
call fcn.00421ed7
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [edi + 8]
cmp dword [ebp - 0x428], ebx
je 0x4040ec
push dword [edi + 0x14]
push eax
push str.__s___i__s__s_REBOOT_ReallySuppress_
push esi
call fcn.004014f0
add esp, 0x14
cmp dword [0x4539a8], ebx
je 0x40405a
push str._SUPPRESS_APP_LAUNCH_Yes_
mov ecx, esi
call fcn.00403dfa
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x42c]
push 0x43e06c
push eax
call fcn.00403b0e
push 0x43e068
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.00403e23
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 [0x4539ac], 0
je 0x4040ce
push str.__qn
jmp 0x404203
cmp dword [0x4539b0], 0
jne 0x4041fe
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], ebx
jne 0x40420a
jmp 0x4041fe
push dword [edi + 4]
push eax
push str.__s___i___s___s_REBOOT_ReallySuppress_
push esi
call fcn.004014f0
add esp, 0x14
cmp dword [0x4539a8], ebx
je 0x404112
push str._SUPPRESS_APP_LAUNCH_Yes_
mov ecx, esi
call fcn.00403dfa
cmp dword [0x4539bc], ebx
je 0x404158
push 0x4539a0
lea eax, [ebp - 0x42c]
push str._IGNOREVCRT641_VCRTERROR
push eax
call fcn.00403b0e
add esp, 0xc
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 4], 4
push dword [eax - 0xc]
push eax
call fcn.00403e23
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401856
cmp dword [0x4539c0], 0
je 0x40416d
push str._IGNOREVCRT641
mov ecx, esi
call fcn.00403dfa
cmp dword [edi + 0x3c], ebx
je 0x40417f
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], 0
je 0x40420a
add edi, 0x38
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4041e8
push edi
lea eax, [ebp - 0x428]
push 0x43e06c
push eax
call fcn.00403b0e
push 0x43e068
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.00403e23
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 [0x4539ac], 0
jne 0x4040c4
cmp dword [0x4539b0], 0
je 0x40420a
push str.__qb
mov ecx, esi
call fcn.00403dfa
mov eax, esi
call fcn.00421742
ret 4