Function at 0x403dec
Capabilities:
Get common file path

Disassembly:
push 0x42c
mov eax, 0x446c34
call fcn.00427f9e
mov edi, ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x438], esi
mov ebx, ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x434], ecx
cmp dword [edi + 0x3c], ecx
je 0x403edb
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], ecx
je 0x403edb
push 0x208
push ecx
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0x104
push eax
call fcn.00428c30
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
push str.PackageCode
push dword [edi + 0x14]
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x403ea0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x428]
call fcn.004018b9
push eax
lea eax, [edi + 0x18]
inc ebx
push eax
mov dword [ebp - 0x430], ebx
call main
pop ecx
pop ecx
test al, al
je 0x403ea0
xor eax, eax
inc eax
mov byte [ebp - 0x421], al
jmp 0x403ea7
mov byte [ebp - 0x421], 0
test bl, 1
je 0x403ec3
mov ecx, dword [ebp - 0x428]
and ebx, 0xfffffffe
mov dword [ebp - 0x430], ebx
lea ecx, [ecx - 0x10]
call fcn.004017a5
mov eax, dword [ebp - 0x434]
cmp byte [ebp - 0x421], al
push 1
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x434], eax
call fcn.0040e19e
push eax
mov ecx, esi
call main
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x208
push 0
or ebx, 2
push eax
mov dword [ebp - 0x430], ebx
call fcn.00428c30
add esp, 0xc
lea eax, [ebp - 0x218]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
mov edx, str.msiexec.exe
mov ecx, 0x44ba28
lea eax, [ebp - 0x218]
cmove ecx, edx
push ecx
push ebx
push eax
call main
add esp, 0xc
lea eax, [ebp - 0x218]
cmp dword [ebp - 0x434], 0
push dword [edi + 8]
je 0x404017
push dword [edi + 0x14]
push eax
push str.__s___i__s__s_REBOOT_ReallySuppress_
push esi
call main
add esp, 0x14
cmp dword [0x461d28], 0
je 0x403f84
mov ebx, str._SUPPRESS_APP_LAUNCH_Yes_
push ebx
call main
pop ecx
push eax
push ebx
mov ecx, esi
call main
lea eax, [edi + 0x38]
push eax
lea eax, [ebp - 0x42c]
push str._PATCH_
push eax
call fcn.004039ef
push 0x44b684
push eax
xor ecx, ecx
lea eax, [ebp - 0x428]
inc ecx
push eax
mov dword [ebp - 4], ecx
call fcn.0040190b
add esp, 0x18
mov eax, dword [eax]
mov ecx, esi
mov byte [ebp - 4], 2
push dword [eax - 0xc]
push eax
call main
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.004017a5
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.004017a5
cmp dword [0x461d2c], 0
je 0x403ff8
mov edi, str.__qn
jmp 0x404145
cmp dword [0x461d30], 0
jne 0x404140
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
jne 0x404155
jmp 0x404140
push dword [edi + 4]
push eax
push str.__s___i___s___s_REBOOT_ReallySuppress_
push esi
call main
add esp, 0x14
cmp dword [0x461d28], 0
je 0x404047
mov ebx, str._SUPPRESS_APP_LAUNCH_Yes_
push ebx
call main
pop ecx
push eax
push ebx
mov ecx, esi
call main
cmp dword [0x461d3c], 0
je 0x40408f
push 0x461d20
lea eax, [ebp - 0x428]
push str._IGNOREVCRT641_VCRTERROR
push eax
call fcn.004039ef
add esp, 0xc
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 4], 3
push dword [eax - 0xc]
push eax
call main
mov ecx, dword [ebp - 0x428]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.004017a5
cmp dword [0x461d40], 0
je 0x4040ad
mov ebx, str._IGNOREVCRT641
push ebx
call main
pop ecx
push eax
push ebx
mov ecx, esi
call main
cmp dword [edi + 0x3c], 0
je 0x4040c0
mov eax, dword [edi + 0x38]
cmp dword [eax - 0xc], 0
je 0x404155
add edi, 0x38
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x40412a
push edi
lea eax, [ebp - 0x42c]
push str._PATCH_
push eax
call fcn.004039ef
push 0x44b684
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 4
push eax
call fcn.0040190b
add esp, 0x18
mov eax, dword [eax]
mov ecx, esi
mov byte [ebp - 4], 5
push dword [eax - 0xc]
push eax
call main
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.004017a5
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.004017a5
cmp dword [0x461d2c], 0
jne 0x403fee
cmp dword [0x461d30], 0
je 0x404155
mov edi, str.__qb
push edi
call main
pop ecx
push eax
push edi
mov ecx, esi
call main
mov eax, esi
call fcn.00427f48
ret 4