Function at 0x1003ec30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d722
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x101555ac]
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 dword [ebp - 0x830], ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1003ec72
xor eax, eax
jmp 0x1003ee98
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003ec6b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003ec82
sub ecx, edx
sar ecx, 1
cmp ecx, 0x200
jae 0x1003ec6b
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.10092350
push 0x400
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.100aeac5
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.1003c160
push esi
lea ecx, [ebp - 0x82c]
mov dword [ebp - 4], 0
call fcn.1003c160
mov dword [ebp - method.CXMLArchive.virtual_0], vtable.CXMLArchive.0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov esi, dword [ebp - 0x814]
mov dword [ebp - 0x81c], esi
test esi, esi
je 0x1003ed23
lock inc dword [esi + 8]
push 0
lea eax, [ebp - 0x82c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x828]
call fcn.1003e4e0
mov edi, dword [ebp - 0x82c]
or ebx, 0xffffffff
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x1003ed8f
mov eax, ebx
lock xadd dword [edi + 8], eax
dec eax
jne 0x1003ed8f
mov eax, dword [edi]
test eax, eax
je 0x1003ed67
push eax
call ecx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1003ed7e
push eax
call fcn.10063daa
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10063729
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
mov byte [ebp - 4], 7
test esi, esi
je 0x1003edd0
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1003edd0
mov eax, dword [esi]
test eax, eax
je 0x1003edae
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003edc5
push eax
call fcn.10063daa
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10063729
add esp, 8
cmp dword [ebp - 0x824], 0
jne 0x1003ede0
xor esi, esi
jmp 0x1003ee5f
mov ebx, dword [ebp - 0x830]
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.1003f5a0
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.1003fca0
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.1003e720
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.1003eec0
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.1003ffe0
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.1003e940
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
mov dword [ebx + 0x20], eax
lea eax, [ebp - 0x828]
push str.Setup_CallProgramOnInst_Program
push eax
call fcn.1003c730
mov esi, 1
lea ecx, [ebp - 0x81c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CXMLArchive.virtual_0], vtable.CXMLArchive.0
call fcn.10040960
lea ecx, [ebp - 0x820]
call fcn.10040960
mov edx, dword [ebp - 0x824]
test edx, edx
je 0x1003ee96
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.10063718
mov esp, ebp
pop ebp
ret 4