Function at 0x100268a0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087291
mov eax, dword fs:[0]
push eax
sub esp, 0x730
mov eax, dword [0x100b618c]
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, dword [ebp + 8]
test esi, esi
je 0x100269c3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100269ca
call fcn.10044730
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100269c3
push 0x5a
push 0x100939d8
lea ecx, [ebp - 0x6a4]
mov dword [ebp - 0x694], eax
mov dword [ebp - 0x690], 0xf
mov byte [ebp - 0x6a4], al
call fcn.100093b0
push 3
push 0x100939d4
lea ecx, [ebp - 0x68c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x67c], 0
mov dword [ebp - 0x678], 0xf
mov byte [ebp - 0x68c], 0
call fcn.100093b0
mov byte [ebp - 4], 1
call fcn.10044730
mov edi, eax
lea ecx, [ebp - 0x73c]
push 0x10
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x68c]
push eax
call fcn.10007480
mov esi, eax
push str.delete_directory_is_not_exist_
push esi
mov byte [ebp - 4], 2
call fcn.10008300
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x73c]
call fcn.10008420
lea ecx, [ebp - 0x68c]
call fcn.10007e20
lea ecx, [ebp - 0x6a4]
call fcn.10007e20
xor eax, eax
jmp 0x10026b96
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100269d0
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x100269c3
push 0x208
lea eax, [ebp - 0x218]
mov edi, 1
push 0
push eax
call fcn.1005f8e0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1005f8e0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
add esp, 0x18
push esi
push eax
call ebx
push 0x10093a54
lea eax, [ebp - 0x420]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10026a4b
test al, 1
je 0x10026a4b
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x674], eax
cmp eax, 0xffffffff
je 0x10026b8d
lea ecx, [ebp - 0x670]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10026b81
test byte [ebp - 0x670], 0x10
je 0x10026afc
cmp word [ebp - 0x644], 0x2e
jne 0x10026abb
mov ax, word [ebp - 0x642]
test ax, ax
je 0x10026b66
cmp ax, 0x2e
jne 0x10026abb
cmp word [ebp - 0x640], 0
je 0x10026b66
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1005f8e0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push eax
call ebx
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.100268a0
add esp, 4
jmp 0x10026b64
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1005f8e0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push eax
call ebx
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10026b53
test al, 1
je 0x10026b53
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x670]
push eax
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10026a84
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
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.10047a96
mov esp, ebp
pop ebp
ret