Function at 0x1001115b
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x10067a87
call fcn.1002f27f
mov eax, ecx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 0xc]
lea edi, [eax + 4]
mov ebx, dword [ebp + 8]
push edi
lea eax, [esi + 4]
mov ebx, dword [ebx + 0x10]
push eax
push 0
push str.path
push ebx
call fcn.10010e2d
push edi
push esi
push 0
push 0x1006c6cc
push ebx
call fcn.10010e2d
push edi
lea eax, [esi + 8]
push eax
push 0
push 0x1006d108
push ebx
call fcn.10010e2d
add esp, 0x3c
lea ecx, [esi + 4]
call fcn.1000e443
lea ecx, [esi + 4]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp + 8]
je 0x100111e1
add eax, 0x18
mov dword [ebp + 0xc], eax
push dword [eax]
call fcn.100066a4
test eax, eax
je 0x100112fe
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 4]
jmp 0x100111e7
add eax, 0x18
mov dword [ebp + 0xc], eax
push eax
call fcn.1000a3e6
mov ecx, esi
call fcn.10005561
lea ecx, [esi + 8]
call fcn.10005561
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0x20
jne 0x1001124f
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001124f
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
push dword [eax + 8]
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.1000cca8
add esp, 0xc
test eax, eax
je 0x1001124f
mov eax, dword [ebp + 8]
mov ecx, esi
add eax, 4
push eax
call fcn.1000a3e6
push dword [ebp - 0x10]
lea ecx, [esi + 8]
call fcn.1000a3e6
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x100112c5
call fcn.1000678d
push eax
lea ecx, [ebp - 0x10]
call fcn.100062ac
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
test dword [eax + 0x28], 0x2000
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
je 0x10011285
call fcn.1000ccff
jmp 0x1001128a
call fcn.1000cd74
pop ecx
pop ecx
test eax, eax
je 0x100112ae
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.1000a3e6
push dword [ebp + 0xc]
lea ecx, [esi + 4]
call fcn.1000a3e6
lea ecx, [esi + 8]
call fcn.10005561
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.100057c1
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x100112fe
push eax
push 0x1006c6cc
push ebx
mov ecx, edi
call fcn.1000fa43
push dword [esi + 4]
mov ecx, edi
push str.path
push ebx
call fcn.1000fa43
mov eax, dword [esi + 8]
mov ecx, edi
cmp dword [eax - 0xc], 0
je 0x100112f1
push eax
jmp 0x100112f3
push 0
push 0x1006d108
push ebx
call fcn.1000fa43
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
jle 0x1001136d
push edi
lea eax, [esi + 0xc]
push eax
push 0
push str.pver
push ebx
call fcn.10010e2d
push edi
lea eax, [esi + 0x10]
push eax
push 0
push str.ppath
push ebx
call fcn.10010e2d
push edi
lea eax, [esi + 0x14]
push eax
push 0
push str.pmd5
push ebx
call fcn.10010e2d
mov ebx, dword [ebp + 8]
add esp, 0x3c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x30]
push esi
mov dword [esi + 0x18], eax
push dword [ebx + 0x10]
call fcn.10010e54
mov ecx, dword [ebp - 0x14]
push esi
push dword [ebx + 0x10]
call fcn.1001104f
mov ecx, dword [esi]
xor eax, eax
cmp dword [ecx - 0xc], eax
setg al
jmp 0x1001136f
xor eax, eax
call fcn.1002f248
ret 8