Function at 0x413ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44747b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x45f4c8]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push esi
push edi
mov eax, dword [0x45f4c8]
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.0042a000
test eax, eax
jne 0x414303
mov eax, 0x405
cmp word [esp + 0x10], ax
jb 0x414303
mov ecx, edi
call fcn.0040c080
lea ecx, [esp + 0x1c]
call fcn.004162d0
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 0x450cfc
push 0x46064c
call fcn.00417ac0
cmp dword [esp + 0x40], 8
lea edx, [esp + 0x2c]
push 0
cmovae edx, dword [esp + 0x30]
mov ecx, 0xc
push 0
call fcn.004203a0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x414101
push str.Error_extracting_packages._This_is_most_likely_caused_by_a_corrupted_installer_package
push 0x451150
push 0x46064c
call fcn.00417ac0
add esp, 0xc
lea ecx, [esp + 0x4c]
push 0xa9
push str.MSISetup.cpp
push 0x451a28
push esi
call fcn.00407310
push 0x45d2ac
lea eax, [esp + 0x50]
push eax
call fcn.00431dcb
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.00414810
push str.Package_information_
push 0x450cfc
push 0x46064c
call fcn.00417ac0
mov esi, dword [edi + 0x310]
add esp, 0xc
cmp esi, dword [edi + 0x314]
je 0x4142cc
lea edi, [esi + 0x44]
nop
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x414205
push str.IIF_PACKAGEPATH
mov ecx, ebx
call fcn.004146e0
push eax
lea eax, [esp + 0xa0]
push 0x104
push eax
call fcn.0042ffd1
add esp, 0xc
cmp dword [edi - 0x18], 8
jb 0x414188
mov eax, dword [edi - 0x2c]
jmp 0x41418b
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 0x4141a7
mov ebx, str._Not_installed_
jmp 0x4141b4
cmp dword [edi], 8
jb 0x4141b1
mov ebx, dword [edi - 0x14]
jmp 0x4141b4
lea ebx, [edi - 0x14]
cmp dword [edi + 0x78], 8
jb 0x4141bf
mov eax, dword [edi + 0x64]
jmp 0x4141c2
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, 0x454590
mov eax, 0x454598
cmove ecx, eax
push ecx
push ebx
push dword [esp + 0x18]
push str.__Type_MSI:_ID_s__Installed_version:__s__Extracted:__s
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0x18
jmp 0x4142ac
cmp eax, 1
jne 0x4142b0
cmp dword [edi + 0x44], 8
jb 0x414219
mov eax, dword [edi + 0x30]
jmp 0x41421c
lea eax, [edi + 0x30]
push eax
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.00414d70
cmp dword [eax + 0x14], 8
jb 0x414231
mov eax, dword [eax]
push eax
lea eax, [esp + 0xa0]
push 0x104
push eax
call fcn.0042ffd1
add esp, 0xc
cmp dword [esp + 0x48], 8
jb 0x41425a
push dword [esp + 0x34]
call fcn.00420070
add esp, 4
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
cmp dword [edi + 0x78], 8
jb 0x414273
mov ebx, dword [edi + 0x64]
jmp 0x414276
lea ebx, [edi + 0x64]
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 0x454590
mov eax, 0x454598
cmove ecx, eax
push ecx
push ebx
push str.__Type_EXE:_ID_s__Extracted:__s
push 0x450cfc
push 0x46064c
call fcn.00417ac0
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 0x414150
cmp dword [esp + 0x30], 8
jb 0x4142df
push dword [esp + 0x1c]
call fcn.00420070
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.0042f51f
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.00407310
push 0x45d2ac
lea eax, [esp + 0x50]
push eax
call fcn.00431dcb
int3