Function at 0x100e4400
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
sub esp, 0x508
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x388]
mov ecx, 0xe2
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x1014f440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov ecx, 0x101c37de
call fcn.1011c410
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x100e4458
jmp 0x100e46ee
mov eax, dword [ebp - 0x18]
not eax
and eax, 0x10
je 0x100e4467
jmp 0x100e46ee
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.1011c3e0
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp esi, esp
call fcn.1011c3e0
test eax, eax
je 0x100e4494
jmp 0x100e46ee
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1011c3e0
cmp eax, 0x91
je 0x100e44af
jmp 0x100e46ee
mov eax, dword [ebp + 8]
push eax
call sub.ucrtbased.dll_strlen
add esp, 4
mov esi, eax
push str..
call sub.ucrtbased.dll_strlen
add esp, 4
lea ecx, [esi + eax + 1]
cmp ecx, 0x104
jbe 0x100e44db
jmp 0x100e46ee
mov eax, dword [ebp + 8]
push eax
push str._s.
lea ecx, [ebp - 0x124]
push ecx
call fcn.100ebed0
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.1011c3e0
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0xffffffff
jne 0x100e4524
jmp 0x100e46ee
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x124]
push ecx
call sub.ucrtbased.dll_strcpy
add esp, 8
push 0x10136f34
lea eax, [ebp - 0x240]
push eax
call sub.ucrtbased.dll_strcmp
add esp, 8
test eax, eax
jne 0x100e4554
jmp 0x100e4683
push 0x1013cf8c
lea eax, [ebp - 0x240]
push eax
call sub.ucrtbased.dll_strcmp
add esp, 8
test eax, eax
jne 0x100e4571
jmp 0x100e4683
lea eax, [ebp - 0x124]
push eax
call sub.ucrtbased.dll_strlen
add esp, 4
mov esi, eax
push 0x1012a267
call sub.ucrtbased.dll_strlen
add esp, 4
add esi, eax
lea ecx, [ebp - 0x240]
push ecx
call sub.ucrtbased.dll_strlen
add esp, 4
lea edx, [esi + eax + 1]
cmp edx, 0x104
jbe 0x100e45b1
jmp 0x100e4683
push 0x104
push 0
lea eax, [ebp - 0x384]
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x124]
push ecx
push str._s_s
lea edx, [ebp - 0x384]
push edx
call fcn.100ebed0
add esp, 0x10
mov eax, dword [ebp - 0x26c]
and eax, 0x10
je 0x100e463c
mov eax, dword [ebp - 0x26c]
and eax, 1
je 0x100e462b
mov eax, dword [ebp - 0x26c]
and eax, 0xfffffffe
mov dword [ebp - 0x26c], eax
mov esi, esp
mov eax, dword [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x384]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.1011c3e0
lea eax, [ebp - 0x384]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.100e4400
jmp 0x100e4683
mov eax, dword [ebp - 0x26c]
and eax, 1
jne 0x100e4652
mov eax, dword [ebp - 0x26c]
and eax, 4
je 0x100e466d
mov esi, esp
push 0x80
lea eax, [ebp - 0x384]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.1011c3e0
mov esi, esp
lea eax, [ebp - 0x384]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.1011c3e0
mov esi, esp
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.1011c3e0
test eax, eax
jne 0x100e4537
cmp dword [ebp - 0x278], 0xffffffff
je 0x100e46c7
mov esi, esp
mov eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.1011c3e0
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1011c3e0
cmp eax, 0x12
jne 0x100e46ee
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp esi, esp
call fcn.1011c3e0
push edx
mov ecx, ebp
push eax
lea edx, [0x100e4720]
call fcn.1011c380
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011c450
add esp, 0x508
cmp ebp, esp
call fcn.1011c3e0
mov esp, ebp
pop ebp
ret 4