Function at 0x10026ac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eccdf
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x10283a3c]
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 esi, ecx
mov eax, dword [ebp + 8]
lea edi, [esi + 4]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x27c], edi
push edi
mov dword [ebp - 0x274], eax
mov byte [ebp - 0x278], 0
call fcn.100f3a2c
add esp, 4
test eax, eax
je 0x10026b29
push eax
call fcn.100f3ae4
add esp, 4
mov byte [ebp - 0x278], 1
mov dword [ebp - 4], 0
lea ebx, [esi + 0x34]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x10026d6c
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x238], ax
lea ecx, [ebp - 0x238]
push 3
lea eax, [ebp - 0x18]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push eax
mov dword [ebp - 0x18], 0x70005f
mov dword [ebp - 0x14], 0x70
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
call fcn.10027e50
lea eax, [ebp - 0x238]
mov dword [ebp - 0x270], 1
push eax
push dword [ebp - 0x274]
lea eax, [ebp - 0x250]
push eax
call fcn.10025e20
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, 1
mov dword [ebp - 0x270], eax
and eax, 0xfffffffe
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.10020960
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1004ccb0
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x10026c1d
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.10020960
test esi, esi
je 0x10026c87
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1004ccb0
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x10026c6f
mov eax, dword [eax]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.10020960
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.101be270
add esp, 0xc
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x269]
push eax
call fcn.100267f0
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x274]
lea eax, [ebp - 0x268]
push eax
call fcn.10025e20
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x238]
call fcn.10020960
cmp dword [ebp - 0x254], 8
lea esi, [ebp - 0x268]
push dword [ebp - 0x240]
cmovae esi, dword [ebp - 0x268]
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
cmovae eax, dword [ebp - 0x250]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1004ccb0
add esp, 0xc
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x10026d22
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x238]
call fcn.10020960
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
call fcn.100276b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.10020960
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.10020960
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.100f3a51
add esp, 4
test eax, eax
je 0x10026d89
push eax
call fcn.100f3ae4
add esp, 4
mov eax, 1
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.1017034a
mov esp, ebp
pop ebp
ret 4