Function at 0x403e8d
Capabilities:
Get common file path

Disassembly:
push 0x430
mov eax, 0x43a293
call fcn.00422513
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 0x403f8b
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], ecx
je 0x403f8b
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.00421c40
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 0x403f4c
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 main
xor ecx, ecx
inc ecx
mov byte [ebp - 0x421], cl
test eax, eax
jne 0x403f53
mov byte [ebp - 0x421], 0
and dword [ebp - 4], 0
test bl, 1
je 0x403f76
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.0040c667
push eax
mov ecx, esi
call main
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.00421c40
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 0x403fe8
push 0x43f0a8
jmp 0x403fed
push str.msiexec.exe
push 0x104
push eax
call main
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [edi + 8]
cmp dword [ebp - 0x428], ebx
je 0x4040c8
push dword [edi + 0x14]
push eax
push str.__s___i__s__s_REBOOT_ReallySuppress_
push esi
call main
add esp, 0x14
cmp dword [0x4559a8], ebx
je 0x404036
push str._SUPPRESS_APP_LAUNCH_Yes_
mov ecx, esi
call main
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x42c]
push str._PATCH_
push eax
call fcn.00403aea
push 0x43ed04
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 main
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 [0x4559ac], 0
je 0x4040aa
push str.__qn
jmp 0x4041df
cmp dword [0x4559b0], 0
jne 0x4041da
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], ebx
jne 0x4041e6
jmp 0x4041da
push dword [edi + 4]
push eax
push str.__s___i___s___s_REBOOT_ReallySuppress_
push esi
call main
add esp, 0x14
cmp dword [0x4559a8], ebx
je 0x4040ee
push str._SUPPRESS_APP_LAUNCH_Yes_
mov ecx, esi
call main
cmp dword [0x4559bc], ebx
je 0x404134
push 0x4559a0
lea eax, [ebp - 0x42c]
push str._IGNOREVCRT641_VCRTERROR
push eax
call fcn.00403aea
add esp, 0xc
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 4], 4
push dword [eax - 0xc]
push eax
call main
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401856
cmp dword [0x4559c0], 0
je 0x404149
push str._IGNOREVCRT641
mov ecx, esi
call main
cmp dword [edi + 0x3c], ebx
je 0x40415b
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], 0
je 0x4041e6
add edi, 0x38
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4041c4
push edi
lea eax, [ebp - 0x428]
push str._PATCH_
push eax
call fcn.00403aea
push 0x43ed04
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 main
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 [0x4559ac], 0
jne 0x4040a0
cmp dword [0x4559b0], 0
je 0x4041e6
push str.__qb
mov ecx, esi
call main
mov eax, esi
call fcn.004224c2
ret 4