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

Disassembly:
mov eax, 0x7014ba7e
call fcn.70055494
sub esp, 0x240
mov eax, dword [section..cdata]
or dword [ebp - 0x23c], 1
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
and dword [ebp - 0x21c], 0xfffffffe
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], 0x104
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x218], bx
lea esi, [edi + 0x90]
push 0x70001e00
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], ebx
call fcn.700e1dcd
test eax, eax
je 0x7002846d
push 0x70001e34
mov ecx, esi
call fcn.700e1dcd
test eax, eax
jne 0x700284f4
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea eax, [ecx + eax*2]
push eax
push 0x9c8
push 0x70006fb8
push 0x80004005
call fcn.700e1dcd
add esp, 0x10
mov ebx, eax
test byte [ebp - 0x21c], 1
je 0x700284a5
push dword [ebp - 0x228]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
lea ecx, [ebp - 0x248]
call fcn.70027fb2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
pop ebx
call fcn.700555ea
leave
ret
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x248]
call fcn.700e1dcd
cmp eax, ebx
mov dword [ebp - 0x230], eax
jl 0x7002852b
push 0x7000215c
mov ecx, esi
call fcn.700e1dcd
test eax, eax
je 0x7002850d
lea eax, [ebp - 0x22c]
push ebx
mov ecx, esi
push eax
mov dword [ebp - 0x22c], ebx
call fcn.700e1dcd
test eax, eax
jne 0x700284c9
mov ecx, esi
call fcn.700599ff
test eax, eax
jne 0x7002854c
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea eax, [ecx + eax*2]
push eax
push 0x9cd
jmp 0x7002847b
test byte [ebp - 0x21c], 1
je 0x70028541
push dword [ebp - 0x228]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov ebx, dword [ebp - 0x230]
jmp 0x700284a5
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x44]
mov esi, dword [eax + 0x88]
lea ecx, [ebp - 0x24c]
push ecx
push eax
mov dword [ebp - 0x230], esi
call fcn.700e1dcd
cmp dword [esi + 0x4c], ebx
jne 0x70028579
mov eax, dword [ebp - 0x24c]
mov dword [esi + 0x4c], eax
cmp dword [ebp - 0x244], ebx
jle 0x7002869a
mov eax, dword [ebp - 0x24c]
and eax, 3
cmp al, 3
jne 0x700285a1
push 0x70001d68
push 0xcea
jmp 0x7002847b
cmp dword [ebp - 0x244], ebx
mov dword [ebp - 0x234], ebx
jbe 0x7002848f
mov ebx, 0x100
mov esi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x248]
shl esi, 2
push dword [esi + eax]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x248]
mov ecx, dword [esi + ecx]
cmp eax, 0xffffffff
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x54]
jne 0x700285fa
shr eax, 1
and eax, ebx
push eax
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.700e1dcd
jmp 0x7002860b
shr eax, 1
and eax, ebx
push eax
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.700e1dcd
cmp eax, 1
je 0x70028647
cmp dword [ebp - 0x238], 0
je 0x70028629
push 0x7000215c
lea ecx, [ebp - 0x228]
call fcn.700e1dcd
mov eax, dword [ebp - 0x248]
push dword [esi + eax]
lea ecx, [ebp - 0x228]
call fcn.700e1dcd
mov dword [ebp - 0x238], 1
inc dword [ebp - 0x234]
mov eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0x244]
jb 0x700285b8
cmp dword [ebp - 0x238], 0
je 0x70028693
mov edi, 0x70006fb8
push edi
mov esi, 0x80004005
push esi
call fcn.70056dd4
push dword [ebp - 0x228]
push 0x997
push edi
push esi
call fcn.700e1dcd
add esp, 0x18
jmp 0x7002848d
xor ebx, ebx
jmp 0x7002848f
push esi
mov ecx, edi
mov dword [esi + 0x58], ebx
call fcn.700e1dcd
jmp 0x7002848d