Function at 0x413e50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447e8b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x4624c8]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push esi
push edi
mov eax, dword [0x4624c8]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.0041d910
test eax, eax
jne 0x414163
mov eax, 0x405
cmp word [esp + 0x10], ax
jb 0x414163
mov ecx, edi
call fcn.0040b6a0
lea ecx, [esp + 0x1c]
call fcn.0041b420
mov dword [esp + 0x2b8], 0
lea eax, [esp + 0x1c]
cmp dword [esp + 0x30], 8
cmovae eax, dword [esp + 0x1c]
push eax
push str.Package_folder_is__s
push 0x453cac
push 0x463614
call fcn.00419150
cmp dword [esp + 0x40], 8
lea edx, [esp + 0x2c]
push 0
cmovae edx, dword [esp + 0x30]
mov ecx, 0xc
push 0
call fcn.00421720
mov esi, eax
add esp, 0x18
test esi, esi
je 0x413f61
push str.Error_extracting_packages._This_is_most_likely_caused_by_a_corrupted_installer_package
push 0x454110
push 0x463614
call fcn.00419150
add esp, 0xc
lea ecx, [esp + 0x4c]
push 0xa9
push str.MSISetup.cpp
push 0x453a78
push esi
call fcn.00402ee0
push 0x45f830
lea eax, [esp + 0x50]
push eax
call fcn.004337ab
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
lea ebx, [edi + 4]
cmovae eax, dword [esp + 0x1c]
mov ecx, ebx
push eax
push str.IIF_PACKAGEPATH
mov dword [esp + 0x1c], ebx
call fcn.004198c0
push str.Package_information_
push 0x453cac
push 0x463614
call fcn.00419150
mov esi, dword [edi + 0x310]
add esp, 0xc
cmp esi, dword [edi + 0x314]
je 0x41412c
lea edi, [esi + 0x44]
nop
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x414065
push str.IIF_PACKAGEPATH
mov ecx, ebx
call fcn.00419790
push eax
lea eax, [esp + 0xa0]
push 0x104
push eax
call fcn.004319e1
add esp, 0xc
cmp dword [edi - 0x18], 8
jb 0x413fe8
mov eax, dword [edi - 0x2c]
jmp 0x413feb
lea eax, [edi - 0x2c]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [edi - 4], 0
jne 0x414007
mov ebx, str._Not_installed_
jmp 0x414014
cmp dword [edi], 8
jb 0x414011
mov ebx, dword [edi - 0x14]
jmp 0x414014
lea ebx, [edi - 0x14]
cmp dword [edi + 0x78], 8
jb 0x41401f
mov eax, dword [edi + 0x64]
jmp 0x414022
lea eax, [edi + 0x64]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 0x45447c
mov eax, 0x454484
cmove ecx, eax
push ecx
push ebx
push dword [esp + 0x18]
push str.__Type_MSI:_ID_s__Installed_version:__s__Extracted:__s
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0x18
jmp 0x41410c
cmp eax, 1
jne 0x414110
cmp dword [edi + 0x44], 8
jb 0x414079
mov eax, dword [edi + 0x30]
jmp 0x41407c
lea eax, [edi + 0x30]
push eax
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.00419e20
cmp dword [eax + 0x14], 8
jb 0x414091
mov eax, dword [eax]
push eax
lea eax, [esp + 0xa0]
push 0x104
push eax
call fcn.004319e1
add esp, 0xc
cmp dword [esp + 0x48], 8
jb 0x4140ba
push dword [esp + 0x34]
call fcn.004213f0
add esp, 4
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
cmp dword [edi + 0x78], 8
jb 0x4140d3
mov ebx, dword [edi + 0x64]
jmp 0x4140d6
lea ebx, [edi + 0x64]
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 0x45447c
mov eax, 0x454484
cmove ecx, eax
push ecx
push ebx
push str.__Type_EXE:_ID_s__Extracted:__s
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0x14
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add esi, 0xfc
add edi, 0xfc
cmp esi, dword [eax + 0x314]
jne 0x413fb0
cmp dword [esp + 0x30], 8
jb 0x41413f
push dword [esp + 0x1c]
call fcn.004213f0
add esp, 4
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00430d5f
mov esp, ebp
pop ebp
ret
push 0x9c
push str.MSISetup.cpp
push str.MSI_4.5_needed
push 0x64d
lea ecx, [esp + 0x5c]
call fcn.00402ee0
push 0x45f830
lea eax, [esp + 0x50]
push eax
call fcn.004337ab
int3