Function at 0x10011eed
Capabilities:
Check if file exists

Disassembly:
push 0x114
mov eax, 0x100415cb
call fcn.100296da
mov ebx, ecx
cmp dword [ebx + 0x18], 8
lea edi, [ebx + 4]
jb 0x10011f0b
mov eax, dword [edi]
jmp 0x10011f0d
mov eax, edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x10011f9f
cmp dword [ebx + 0x18], 8
jb 0x10011f26
mov edi, dword [edi]
call fcn.1000a34b
test eax, eax
jne 0x10011f36
push 5
jmp 0x100121c9
lea eax, [ebp - 0xec]
push eax
push ebx
call fcn.10012627
cmp dword [eax + 0x18], 8
jb 0x10011f4e
mov eax, dword [eax + 4]
jmp 0x10011f51
add eax, 4
mov esi, eax
call fcn.1000a455
push 0
push 1
lea esi, [ebp - 0xec]
call fcn.10005985
lea eax, [ebp - 0xec]
push eax
push ebx
call fcn.10012608
cmp dword [eax + 0x18], 8
jb 0x10011f7f
mov eax, dword [eax + 4]
jmp 0x10011f82
add eax, 4
mov esi, eax
call fcn.1000a455
push 0
lea esi, [ebp - 0xec]
push 1
call fcn.10005985
xor eax, eax
jmp 0x100121ca
cmp dword [ebx + 0x34], 8
jb 0x10011faa
mov edx, dword [ebx + 0x20]
jmp 0x10011fad
lea edx, [ebx + 0x20]
cmp dword [ebx + 0x18], 8
jb 0x10011fb5
mov edi, dword [edi]
push str.BAAF9737_0451_46f7_B7E5_E273D13D9E39
mov ecx, edi
call fcn.10025a67
pop ecx
test eax, eax
je 0x10011fcd
push 7
jmp 0x100121c9
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.100125ca
xor edi, edi
push edi
push edi
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], edi
call fcn.10018595
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10011ff9
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x100121ad
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x10012010
lea ecx, [ebp - 0x28]
lea esi, [ebp - 0xb8]
call fcn.1000e169
test al, al
je 0x100121ad
cmp byte [ebp - 0xb0], 6
jne 0x100121ad
lea esi, [ebx + 0x38]
mov eax, esi
call fcn.10012ed6
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x9c], edi
call fcn.100182b7
test eax, eax
jbe 0x100120ba
lea eax, [ebp - 0x98]
push eax
call fcn.10012646
push dword [ebp - 0x9c]
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 4
call fcn.10018307
mov edx, eax
lea ecx, [ebp - 0x98]
call fcn.10011b69
test al, al
je 0x10012090
lea eax, [ebp - 0x98]
push eax
mov eax, esi
call fcn.10012df3
lea edi, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.1001267f
inc dword [ebp - 0x9c]
lea eax, [ebp - 0xb8]
call fcn.100182b7
cmp dword [ebp - 0x9c], eax
jb 0x1001204f
xor edi, edi
lea eax, [ebp - 0x48]
push eax
push ebx
call fcn.100125e9
push edi
push edi
lea eax, [ebp - 0xd0]
call fcn.10018595
add ebx, 0x50
mov eax, ebx
mov byte [ebp - 4], 8
call fcn.10012a5f
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x100120eb
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001217b
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x10012106
lea ecx, [ebp - 0x44]
lea esi, [ebp - 0xd0]
call fcn.1000e169
test al, al
je 0x1001217b
cmp byte [ebp - 0xc8], 6
jne 0x1001217b
push 0x100458ee
lea ecx, [ebp - 0x120]
call fcn.10004ad7
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.10011601
pop ecx
pop ecx
mov esi, eax
mov eax, ebx
mov byte [ebp - 4], 0xa
call fcn.10012969
lea esi, [ebp - 0x104]
call fcn.100059e9
push dword [ebp - 0x104]
call fcn.10028e08
pop ecx
push edi
push 1
lea ecx, [ebp - 0x120]
call fcn.100057e3
lea esi, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.100178f8
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.10005985
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.100178f8
push edi
lea esi, [ebp - 0x2c]
jmp 0x10011f91
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.100178f8
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.10005985
push 4
pop eax
call fcn.1002975d
ret