Function at 0x10029a06
Capabilities:
Check if file exists

Disassembly:
push 0x10c
mov eax, 0x1006565d
call fcn.1004b0ba
push 8
mov ebx, ecx
pop edi
lea esi, [ebx + 4]
cmp dword [ebx + 0x18], edi
jb 0x10029a26
mov eax, dword [esi]
jmp 0x10029a28
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029aad
cmp dword [ebx + 0x18], edi
jb 0x10029a3a
mov esi, dword [esi]
mov edi, esi
call fcn.100256d3
test eax, eax
jne 0x10029a4c
push 5
jmp 0x10029cb6
lea eax, [ebp - 0xe4]
push eax
push ebx
call fcn.1002a105
cmp dword [eax + 0x18], 8
jb 0x10029a64
mov eax, dword [eax + 4]
jmp 0x10029a67
add eax, 4
mov esi, eax
call fcn.100257dd
lea esi, [ebp - 0xe4]
call fcn.10009500
lea eax, [ebp - 0xe4]
push eax
push ebx
call fcn.1002a0e6
cmp dword [eax + 0x18], 8
jb 0x10029a91
mov eax, dword [eax + 4]
jmp 0x10029a94
add eax, 4
mov esi, eax
call fcn.100257dd
lea esi, [ebp - 0xe4]
call fcn.10009500
xor eax, eax
jmp 0x10029cb7
cmp dword [ebx + 0x34], edi
jb 0x10029ab7
mov edx, dword [ebx + 0x20]
jmp 0x10029aba
lea edx, [ebx + 0x20]
cmp dword [ebx + 0x18], edi
jb 0x10029ac1
mov esi, dword [esi]
push str.BAAF9737_0451_46f7_B7E5_E273D13D9E39
mov ecx, esi
call fcn.10042f53
pop ecx
test eax, eax
je 0x10029ad9
push 7
jmp 0x10029cb6
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.1002a0a8
xor edi, edi
push edi
push edi
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], edi
call fcn.1003b8be
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10029b05
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10029c9d
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x10029b20
lea ecx, [ebp - 0x28]
lea esi, [ebp - 0xb0]
call fcn.1000abf0
test al, al
je 0x10029c9d
cmp byte [ebp - 0xa8], 6
jne 0x10029c9d
lea esi, [ebx + 0x38]
mov eax, esi
call fcn.1002a6c6
lea eax, [ebp - 0xb0]
call fcn.1003b5e0
test eax, eax
jbe 0x10029bc4
lea eax, [ebp - 0x98]
push eax
call fcn.1002a124
push edi
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 4
call fcn.1003b630
mov edx, eax
lea ecx, [ebp - 0x98]
call fcn.1002968f
test al, al
je 0x10029b95
lea eax, [ebp - 0x98]
push eax
mov eax, esi
call fcn.1002a5e3
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.10003950
lea ecx, [ebp - 0x7c]
call fcn.10002e00
lea ecx, [ebp - 0x98]
call fcn.10002e00
lea eax, [ebp - 0xb0]
inc edi
call fcn.1003b5e0
cmp edi, eax
jb 0x10029b59
lea eax, [ebp - 0x48]
push eax
push ebx
call fcn.1002a0c7
push 0
push 0
lea eax, [ebp - 0xc8]
call fcn.1003b8be
add ebx, 0x50
mov byte [ebp - 4], 8
call fcn.1002a433
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10029bf5
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10029c6f
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x10029c0c
lea ecx, [ebp - 0x44]
lea esi, [ebp - 0xc8]
call fcn.1000abf0
test al, al
je 0x10029c6f
cmp byte [ebp - 0xc0], 6
jne 0x10029c6f
push 0x1006a9de
lea ecx, [ebp - 0x100]
call fcn.10002d90
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x100]
mov edx, esi
mov byte [ebp - 4], 9
call fcn.1000ba20
pop ecx
push eax
mov eax, ebx
mov byte [ebp - 4], 0xa
call fcn.1002a30f
lea esi, [ebp - 0x118]
call fcn.10003180
lea ecx, [ebp - 0x100]
call fcn.10002e00
lea esi, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.1003ac21
lea esi, [ebp - 0x48]
call fcn.10009500
lea esi, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.1003ac21
lea esi, [ebp - 0x2c]
jmp 0x10029aa1
lea esi, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.1003ac21
lea esi, [ebp - 0x2c]
call fcn.10009500
push 4
pop eax
call fcn.1004b13d
ret