Function at 0x481ef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573c45
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x5d7c7c]
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 ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x481f2e
xor eax, eax
jmp 0x4821e3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x481f27
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481f40
sub ecx, edx
sar ecx, 1
cmp ecx, 0x200
jae 0x481f27
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00512920
push 0x400
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0053ecb7
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.0047f250
push esi
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 0
call fcn.0047f250
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 0x481fe7
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.004817a0
lea ecx, [ebp - 0x818]
call fcn.00474f10
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 7
call fcn.00474f10
cmp dword [ebp - 0x828], 0
jne 0x482029
xor esi, esi
jmp 0x4821aa
lea eax, [ebp - 0x810]
mov ecx, ebx
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00482800
lea eax, [ebp - 0x82c]
mov ecx, ebx
push eax
call fcn.00482e50
push 0xc
call fcn.004ad129
mov esi, eax
add esp, 4
mov dword [ebp - 0x814], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x48208b
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 0x482201
jmp 0x48208d
xor esi, esi
mov byte [ebp - 4], 7
mov dword [ebp - 0x814], esi
test esi, esi
je 0x48220b
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x83c]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00481590
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 0xb
call fcn.00474f10
mov edi, dword [ebp - 0x834]
mov esi, dword [ebp - 0x838]
test edi, edi
je 0x482136
test esi, esi
je 0x482136
push str.MainApp
lea ecx, [ebp - 0x818]
call fcn.0047f250
mov ecx, eax
push 0
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 0xd
push eax
push ecx
lea ecx, [ebp - 0x83c]
call fcn.00480f50
lea ecx, [ebp - 0x818]
call fcn.00474f10
mov edi, dword [ebp - 0x834]
mov byte [ebp - 4], 0xe
test edi, edi
je 0x48212e
mov ecx, edi
xor edi, edi
test ecx, ecx
je 0x48212e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp - 0x838]
jmp 0x48214c
mov byte [ebp - 4], 0xc
test edi, edi
je 0x48214c
mov ecx, edi
xor edi, edi
test ecx, ecx
je 0x48214c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
je 0x482158
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor esi, esi
test edi, edi
je 0x482162
mov eax, dword [edi]
push edi
call dword [eax + 8]
test esi, esi
je 0x48216c
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea eax, [ebp - 0x82c]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.00482220
lea eax, [ebp - 0x82c]
mov ecx, ebx
push eax
call fcn.00481c70
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
mov dword [ebx + 0x20], eax
lea eax, [ebp - 0x82c]
push str.Setup_CallProgramOnInst_Program
push eax
call fcn.0047fdc0
mov esi, 1
lea ecx, [ebp - 0x820]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CXMLArchive.virtual_0], vtable.CXMLArchive.0
call fcn.00474f10
lea ecx, [ebp - 0x824]
call fcn.00474f10
mov edx, dword [ebp - 0x828]
test edx, edx
je 0x4821e1
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.004acb88
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.004abe00
push 0x8007000e
call fcn.004abe00
int3