Function at 0x403d92
Capabilities:
Get common file path

Disassembly:
push 0x430
mov eax, 0x436049
call fcn.0041f6e2
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 0x403e90
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], ecx
je 0x403e90
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.0041fdd0
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 0x403e51
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x434]
call fcn.0040188e
push dword [eax]
inc ebx
lea ecx, [edi + 0x18]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ebx
call fcn.0040268b
xor ecx, ecx
inc ecx
mov byte [ebp - 0x421], cl
test eax, eax
jne 0x403e58
mov byte [ebp - 0x421], 0
and dword [ebp - 4], 0
test bl, 1
je 0x403e7b
mov ecx, dword [ebp - 0x434]
and ebx, 0xfffffffe
mov dword [ebp - 0x430], ebx
lea ecx, [ecx - 0x10]
call fcn.00401797
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.00409b0d
push eax
mov ecx, esi
call fcn.00401210
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.0041fdd0
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 0x403eed
push 0x43a094
jmp 0x403ef2
push str.msiexec.exe
push 0x104
push eax
call fcn.0041febc
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [edi + 8]
cmp dword [ebp - 0x428], ebx
je 0x403fcd
push dword [edi + 0x14]
push eax
push str.__s___i__s__s_REBOOT_ReallySuppress_
push esi
call fcn.00401431
add esp, 0x14
cmp dword [0x44d6c0], ebx
je 0x403f3b
push str._SUPPRESS_APP_LAUNCH_Yes_
mov ecx, esi
call fcn.00403cdb
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x42c]
push 0x43a074
push eax
call fcn.004039ef
push 0x43a070
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 2
push eax
call fcn.0040195a
add esp, 0x18
mov eax, dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
push dword [eax - 0xc]
push eax
call fcn.00403d04
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00401797
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401797
cmp dword [0x44d6c4], 0
je 0x403faf
push str.__qn
jmp 0x4040e4
cmp dword [0x44d6c8], 0
jne 0x4040df
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], ebx
jne 0x4040eb
jmp 0x4040df
push dword [edi + 4]
push eax
push str.__s___i___s___s_REBOOT_ReallySuppress_
push esi
call fcn.00401431
add esp, 0x14
cmp dword [0x44d6c0], ebx
je 0x403ff3
push str._SUPPRESS_APP_LAUNCH_Yes_
mov ecx, esi
call fcn.00403cdb
cmp dword [0x44d6d4], ebx
je 0x404039
push 0x44d6b8
lea eax, [ebp - 0x42c]
push str._IGNOREVCRT641_VCRTERROR
push eax
call fcn.004039ef
add esp, 0xc
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 4], 4
push dword [eax - 0xc]
push eax
call fcn.00403d04
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401797
cmp dword [0x44d6d8], 0
je 0x40404e
push str._IGNOREVCRT641
mov ecx, esi
call fcn.00403cdb
cmp dword [edi + 0x3c], ebx
je 0x404060
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], 0
je 0x4040eb
add edi, 0x38
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4040c9
push edi
lea eax, [ebp - 0x428]
push 0x43a074
push eax
call fcn.004039ef
push 0x43a070
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 4], 5
push eax
call fcn.0040195a
add esp, 0x18
mov eax, dword [eax]
mov ecx, esi
mov byte [ebp - 4], 6
push dword [eax - 0xc]
push eax
call fcn.00403d04
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.00401797
mov ecx, dword [ebp - 0x428]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401797
cmp dword [0x44d6c4], 0
jne 0x403fa5
cmp dword [0x44d6c8], 0
je 0x4040eb
push str.__qb
mov ecx, esi
call fcn.00403cdb
mov eax, esi
call fcn.0041f691
ret 4