Function at 0x457d80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a545
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x594624]
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 esi, dword [ebp + 8]
test esi, esi
jne 0x457dbe
xor eax, eax
jmp 0x4580a2
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
je 0x457db7
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457dd0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x200
jae 0x457db7
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004daa30
push 0x400
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.00508ade
add esp, 0x18
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.version1.0_encodingutf_16
lea ecx, [ebp - 0x814]
call fcn.004553f0
push esi
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 0
call fcn.004553f0
mov dword [ebp - method.CXMLArchive.virtual_0], vtable.CXMLArchive.0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
mov eax, dword [ebp - 0x814]
mov dword [ebp - 0x820], eax
test eax, eax
je 0x457e77
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x82c]
call fcn.00457630
lea ecx, [ebp - 0x818]
call fcn.00453700
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 7
call fcn.00453700
cmp dword [ebp - 0x828], 0
je 0x458067
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.004586c0
push dword [edi + 0x4c]
call ebx
test eax, eax
je 0x458067
mov edx, dword [edi + 0x4c]
test edx, edx
je 0x457eea
mov ecx, dword [edi + 0x64]
lea eax, [edi + 0x64]
push edx
push eax
call dword [ecx + 4]
push dword [edi + 0x58]
call ebx
test eax, eax
je 0x458067
mov edx, dword [edi + 0x58]
test edx, edx
je 0x457f09
mov ecx, dword [edi + 0x70]
lea eax, [edi + 0x70]
push edx
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x82c]
mov ecx, edi
push eax
call fcn.00458d10
push 0xc
call fcn.00493e3c
mov esi, eax
add esp, 4
mov dword [ebp - 0x814], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x457f56
push str.Setup_Application
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x4580c0
jmp 0x457f58
xor esi, esi
mov byte [ebp - 4], 7
mov dword [ebp - 0x814], esi
test esi, esi
je 0x4580ca
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x83c]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00457420
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 0xb
call fcn.00453700
mov ebx, dword [ebp - 0x834]
mov esi, dword [ebp - 0x838]
test ebx, ebx
je 0x457fff
test esi, esi
je 0x457fff
push str.MainApp
lea ecx, [ebp - 0x818]
call fcn.004553f0
push 0
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea ecx, [ebp - 0x83c]
call fcn.00456de0
lea ecx, [ebp - 0x818]
call fcn.00453700
mov ebx, dword [ebp - 0x834]
mov byte [ebp - 4], 0xe
test ebx, ebx
je 0x457ff7
mov ecx, ebx
xor ebx, ebx
test ecx, ecx
je 0x457ff7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp - 0x838]
jmp 0x458015
mov byte [ebp - 4], 0xc
test ebx, ebx
je 0x458015
mov ecx, ebx
xor ebx, ebx
test ecx, ecx
je 0x458015
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
je 0x458021
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor esi, esi
test ebx, ebx
je 0x45802b
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
test esi, esi
je 0x458035
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea eax, [ebp - 0x82c]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.004580e0
mov eax, dword [edi + 0x28]
mov ecx, edi
mov dword [edi + 0x2c], eax
lea eax, [ebp - 0x82c]
push str.Setup_CallProgramOnUninst_Program
push eax
call fcn.00455c50
mov esi, 1
jmp 0x458069
xor esi, esi
lea ecx, [ebp - 0x820]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CXMLArchive.virtual_0], vtable.CXMLArchive.0
call fcn.00453700
lea ecx, [ebp - 0x824]
call fcn.00453700
mov edx, dword [ebp - 0x828]
test edx, edx
je 0x4580a0
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov eax, esi
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.00493dce
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.0046fd10
push 0x8007000e
call fcn.0046fd10
int3