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

Disassembly:
push 0x36c
mov eax, 0x2e0363ad
call fcn.2e034929
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.2e0288b3
push 0x38
lea eax, [ebp - 0x374]
push ebx
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x378], ebx
call fcn.2e0347a3
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.2e00ad73
test al, al
je 0x2e0163e6
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.2e028b56
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 0x2e016293
call dword [sym.imp.MSO.dll_Ordinal_340]
jmp 0x2e0163dc
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.2e00ad73
test al, al
je 0x2e0163e6
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 0x2e01637b
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 0x2e0163a4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x2e0163a4
test al, 0x10
je 0x2e0163a4
mov dword [ebp - 0x364], 0x2e001d64
mov dword [ebp - 0x36c], 0x2e002978
mov dword [ebp - 0x350], 0x2e002968
jmp 0x2e01639e
push dword [ebp - 0x330]
call fcn.2e0148a9
test al, al
je 0x2e0163a4
mov dword [ebp - 0x36c], 0x2e002958
mov dword [ebp - 0x350], 0x2e002944
or dword [ebp - 0x374], esi
lea eax, [ebp - 0x378]
push eax
call fcn.2e013c5b
push ebx
push eax
cmp eax, ebx
setge al
lea ecx, [ebp - 0x334]
movzx eax, al
push ecx
push eax
call fcn.2e00ad73
test al, al
je 0x2e0163e6
cmp dword [ebp - 0x358], 0x20
ja 0x2e0163e6
cmp dword [ebp - 0x358], ebx
je 0x2e0163e6
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 0x2e01640b
push dword [ebp - 0x328]
call fcn.2e01b807
mov eax, dword [ebp - 0x330]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x2e01641f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x334]
call fcn.2e0349ac
ret 8