Function at 0x416d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45679b
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2a0], edi
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x298], 0
call fcn.0042f5a0
test eax, eax
jne 0x417042
mov eax, 0x405
cmp word [ebp - 0x298], ax
jb 0x417042
mov ecx, edi
call fcn.0040e110
lea ecx, [ebp - 0x230]
call fcn.0041b710
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push str.Package_folder_is__s
push 0x4656cc
push 0x477a14
call fcn.00433950
cmp dword [ebp - 0x21c], 8
lea edx, [ebp - 0x230]
push 0
cmovae edx, dword [ebp - 0x230]
mov ecx, 0xc
push 0
call fcn.0041b4c0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x416e35
push str.Error_extracting_packages._This_is_most_likely_caused_by_a_corrupted_installer_package
push 0x466060
push 0x477a14
call fcn.00433950
add esp, 0xc
push 0xb0
push str.MSISetup.cpp
push 0x466c0c
push esi
lea ecx, [ebp - 0x294]
call fcn.004016d0
push 0x474bb0
lea eax, [ebp - 0x294]
push eax
call fcn.00439290
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
lea ebx, [edi + 4]
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
push str.IIF_PACKAGEPATH
mov dword [ebp - 0x29c], ebx
call fcn.004175d0
push str.Package_information_
push 0x4656cc
push 0x477a14
call fcn.00433950
mov esi, dword [edi + 0x314]
add esp, 0xc
cmp esi, dword [edi + 0x318]
je 0x41701b
lea edi, [esi + 0x44]
nop dword [eax + eax]
mov eax, dword [edi + 0x60]
test eax, eax
jne 0x416f46
push str.IIF_PACKAGEPATH
mov ecx, ebx
call fcn.004174a0
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
cmp dword [edi - 0x18], 8
jb 0x416ec7
mov eax, dword [edi - 0x2c]
jmp 0x416eca
lea eax, [edi - 0x2c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [edi - 4], 0
jne 0x416ee5
mov ebx, str._Not_installed_
jmp 0x416ef2
cmp dword [edi], 8
jb 0x416eef
mov ebx, dword [edi - 0x14]
jmp 0x416ef2
lea ebx, [edi - 0x14]
cmp dword [edi + 0x78], 8
jb 0x416efd
mov eax, dword [edi + 0x64]
jmp 0x416f00
lea eax, [edi + 0x64]
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 0x4668a4
mov eax, 0x4668ac
cmove ecx, eax
push ecx
push ebx
push dword [ebp - 0x298]
push str.__Type_MSI:_ID_s__Installed_version:__s__Extracted:__s
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x18
jmp 0x416ff7
cmp eax, 1
jne 0x416ffd
cmp dword [edi + 0x44], 8
jb 0x416f5a
mov eax, dword [edi + 0x30]
jmp 0x416f5d
lea eax, [edi + 0x30]
push eax
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004179f0
cmp dword [eax + 0x14], 8
jb 0x416f74
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0043efc6
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp eax, 8
jb 0x416fa7
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00405180
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
cmp dword [edi + 0x78], 8
jb 0x416fbf
mov ebx, dword [edi + 0x64]
jmp 0x416fc2
lea ebx, [edi + 0x64]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 0x4668a4
mov eax, 0x4668ac
cmove ecx, eax
push ecx
push ebx
push str.__Type_EXE:_ID_s__Extracted:__s
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x14
mov ebx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2a0]
add esi, 0xfc
add edi, 0xfc
cmp esi, dword [eax + 0x318]
jne 0x416e90
lea ecx, [ebp - 0x230]
call fcn.00404890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436666
mov esp, ebp
pop ebp
ret
push 0xa3
push str.MSISetup.cpp
push str.MSI_4.5_needed
push 0x64d
jmp 0x416e19