Function at 0x2e016213
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x36c
mov eax, 0x2e0364d6
call fcn.2e034a75
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov eax, 0x102
lea ecx, [ebp - 0x31c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x32c], 0x2e045068
mov dword [ebp - 0x328], ecx
mov dword [ebp - 0x324], eax
push ebx
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 1
call fcn.2e00c84b
push 0x38
lea eax, [ebp - 0x374]
push ebx
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x378], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x780
push ebx
push ebx
push esi
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.MSO.dll_Ordinal_3826]
push ebx
push eax
cmp eax, ebx
setge al
lea ecx, [ebp - 0x334]
movzx eax, al
push ecx
push eax
call fcn.2e00ae3c
test al, al
je 0x2e016470
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
cmp eax, 3
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
push eax
sete byte [ebp - 0x335]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
push ebx
lea ecx, [ebp - 0x32c]
push ecx
push eax
call fcn.2e028b4b
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
call dword [sym.imp.MSO.dll_Ordinal_5245]
test eax, eax
jne 0x2e01631d
call dword [sym.imp.MSO.dll_Ordinal_340]
jmp 0x2e016466
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
push edi
push ebx
push ebx
push ebx
push eax
call dword [ecx + 0x38]
push eax
call dword [sym.imp.MSO.dll_Ordinal_10366]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp dword [ebp - 0x334], ebx
push ebx
push dword [ebp - 0x334]
lea eax, [ebp - 0x334]
push eax
setge al
movzx eax, al
push eax
call fcn.2e00ae3c
test al, al
je 0x2e016470
mov eax, dword [ebp - 0x328]
xor esi, esi
inc esi
mov dword [ebp - 0x378], 0x3c
mov dword [ebp - 0x35c], esi
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x374], 0x500
cmp byte [ebp - 0x335], bl
je 0x2e016405
push ebx
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
mov dword [ebp - 0x33c], 0x104
call dword [sym.imp.SHLWAPI.dll_PathCreateFromUrlW]
test eax, eax
jl 0x2e01642e
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x2e01642e
test al, 0x10
je 0x2e01642e
mov dword [ebp - 0x364], 0x2e001d54
mov dword [ebp - 0x36c], 0x2e002968
mov dword [ebp - 0x350], 0x2e002958
jmp 0x2e016428
push dword [ebp - 0x330]
call fcn.2e014934
test al, al
je 0x2e01642e
mov dword [ebp - 0x36c], 0x2e002948
mov dword [ebp - 0x350], 0x2e002934
or dword [ebp - 0x374], esi
lea eax, [ebp - 0x378]
push eax
call fcn.2e013c25
push ebx
push eax
cmp eax, ebx
setge al
lea ecx, [ebp - 0x334]
movzx eax, al
push ecx
push eax
call fcn.2e00ae3c
test al, al
je 0x2e016470
cmp dword [ebp - 0x358], 0x20
ja 0x2e016470
cmp dword [ebp - 0x358], ebx
je 0x2e016470
mov dword [ebp - 0x334], 0x80004005
push dword [ebp - 0x340]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x31c]
cmp dword [ebp - 0x328], eax
je 0x2e016495
push dword [ebp - 0x328]
call fcn.2e01b8e4
mov eax, dword [ebp - 0x330]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x2e0164a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x334]
call fcn.2e034af8
ret 8