Function at 0x4296e8
Capabilities:
Check if file exists

Disassembly:
push 0x14c
mov eax, 0x48da8e
call fcn.00458cd6
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ebx, [edi + 0x10]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0041a85d
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00419dd3
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041abab
add esp, 0x18
mov esi, dword [edi]
mov byte [ebp - 4], 2
jmp 0x429782
cmp dword [esi + 0x14], 0x10
jb 0x429754
mov eax, dword [esi]
jmp 0x429756
mov eax, esi
push eax
lea ecx, [ebp - 0x40]
call fcn.0040b720
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00421e49
neg eax
lea ecx, [ebp - 0x40]
push 0
sbb al, al
add al, 1
jne 0x4297b9
push 1
call fcn.004188e8
add esi, 0x18
cmp esi, dword [edi + 4]
jne 0x42974a
xor ebx, ebx
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004188e8
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00401fb0
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401fb0
mov eax, esi
call fcn.00458c91
ret 8
xor esi, esi
inc esi
push esi
call fcn.004188e8
push ebx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004293b2
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 3
je 0x4297f8
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00429520
push eax
lea ecx, [ebp - 0x28]
call fcn.00403a50
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.00401fb0
cmp dword [edi + 0x38], 0
lea eax, [ebp - 0x28]
jbe 0x429902
cmp dword [ebp - 0x14], 8
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x42983b
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00403ad0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0042907f
test al, al
je 0x429a6e
lea eax, [edi + 0x28]
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00403ad0
mov ecx, edi
call fcn.00428ede
test al, al
jne 0x4298a4
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00403ad0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0042907f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4298a4
lea eax, [edi + 0x28]
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00403ad0
mov ecx, edi
call fcn.00428ede
test al, al
je 0x429a6e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x4298bd
sub esp, 0x18
mov ecx, esp
jmp 0x429933
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x158]
push 0x40
push 0x25
push eax
call fcn.0042873e
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x158]
call fcn.0042a7bd
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esi + 0xa]
push eax
call fcn.0041350d
xor ebx, ebx
jmp 0x4299b3
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403ad0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0042907f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sub esp, 0x18
mov ecx, esp
test eax, eax
jne 0x429949
push ebx
call fcn.00417e8a
mov ecx, edi
call fcn.00428f65
mov esi, eax
xor ebx, ebx
jmp 0x429a02
lea eax, [ebp - 0x28]
push eax
call fcn.00403ad0
lea eax, [ebp - 0x40]
push eax
call fcn.004279b4
mov ecx, dword [ebp - 0x90]
add esp, 0x1c
push eax
call fcn.00403a50
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push esi
call fcn.00401fb0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x158]
push 0x40
push 0x25
push eax
call fcn.0042873e
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x158]
call fcn.0042a7bd
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esi + 0xa]
push eax
call fcn.0041350d
lea ecx, [esi + 1]
mov dword [edi + 0x94], eax
push ecx
push ebx
push eax
call fcn.00432e20
add esp, 0x10
lea ecx, [ebp - 0x158]
push ebx
push ebx
push ebx
call fcn.0042a490
push ebx
push esi
push dword [edi + 0x94]
lea ecx, [ebp - 0x158]
call fcn.00418f32
lea ecx, [ebp - 0x158]
call fcn.00418b24
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 3
call fcn.00428c8b
test esi, esi
je 0x429a70
lea ecx, [ebp - 0x89]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
call fcn.004026b0
lea eax, [edi + 0x70]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x9c]
push eax
push esi
push dword [edi + 0x94]
lea ecx, [ebp - 0x89]
call fcn.0043020c
cmp dword [ebp - 0x9c], 0
je 0x429a74
cmp dword [ebp - 0x98], 0
je 0x429a74
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
call fcn.0042ff7f
pop ecx
pop ecx
mov esi, eax
jmp 0x429a76
xor ebx, ebx
mov esi, ebx
jmp 0x429a81
mov esi, ebx
lea ecx, [ebp - 0x89]
call fcn.00406530
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401fb0
jmp 0x42978b