Function at 0x1009ef40
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b78f6
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x100bee04
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.10012c00
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x40]
call fcn.10005910
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0xffffffff
je 0x1009f160
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005760
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
push 0x100bedf4
call fcn.1009f500
add esp, 8
movzx eax, al
test eax, eax
jne 0x1009eff1
lea ecx, [ebp - 0x28]
push ecx
push 0x100bedf8
call fcn.1009f500
add esp, 8
movzx edx, al
test edx, edx
je 0x1009f002
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005870
jmp 0x1009f137
mov eax, dword [ebp - 0x2f0]
and eax, 0x10
je 0x1009f088
push 0x100bee74
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xa0]
call fcn.10012c00
add esp, 4
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
mov dword [ebp - 0x30c], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.1009f530
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.10005870
lea edx, [ebp - 0x70]
push edx
call fcn.1009ef40
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.10005870
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005870
jmp 0x1009f137
push 0x100bee78
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x88]
call fcn.10012c00
add esp, 4
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x300]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.1009f530
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.10005870
lea ecx, [ebp - 0x58]
call fcn.10005910
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
jne 0x1009f11f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x58]
call fcn.10005910
push eax
push str.DeleteFile_fileName___s_error___d
push 0x195
push 0x100bee58
call fcn.100989a0
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10005870
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005870
lea ecx, [ebp - 0x2f0]
push ecx
mov edx, dword [ebp - 0x2fc]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1009efae
mov eax, dword [ebp - 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
call fcn.10005910
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
jne 0x1009f1ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RemoveDirectory_error___d
push 0x19d
push str.utility::ufile::removeDir
call fcn.100989a0
add esp, 0x10
mov byte [ebp - 0x2f1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005870
mov al, byte [ebp - 0x2f1]
jmp 0x1009f1d6
mov byte [ebp - 0x2f2], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005870
mov al, byte [ebp - 0x2f2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad688
mov esp, ebp
pop ebp
ret