Function at 0x5db000
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c0950
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x7ca00c]
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 ebx, edx
mov edi, ecx
push 0x701e7c
call fcn.00431cb0
test al, al
je 0x5db0b1
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x5db079
push str.DeleteDirectoryAtPath:_Path_should_not_be_empty.
push 0x701e7c
push 0x701e7c
push str.FileUtils
push 0x7721a4
push 0x28
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x18
xor al, al
jmp 0x5db609
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x5db1a8
mov esi, dword [eax]
push str.DeleteDirectoryAtPath:_Path_should_not_be_empty.
push str.FileUtils
push 0x701e7c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x28
push eax
call dword [0x6ef350]
call esi
add esp, 0x14
xor al, al
jmp 0x5db609
mov ecx, edi
call fcn.005dadc0
test al, al
je 0x5db11b
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x5db0fe
cmp dword [edi + 0x14], 8
jb 0x5db0ce
mov edi, dword [edi]
push edi
push str.Directory_to_delete:__s_is_a_special_path__skipping.
push 0x701e7c
push 0x701e7c
push str.FileUtils
push 0x7721a4
push 0x28
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
xor al, al
jmp 0x5db609
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x5db1a8
cmp dword [edi + 0x14], 8
jb 0x5db113
mov edi, dword [edi]
push edi
push str.Directory_to_delete:__s_is_a_special_path__skipping.
jmp 0x5db189
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5db125
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x5db1af
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x5db172
cmp dword [edi + 0x14], 8
jb 0x5db142
mov edi, dword [edi]
push edi
push str.Directory_to_delete_not_present_at_location__s
push 0x701e7c
push 0x701e7c
push str.FileUtils
push 0x7721a4
push 0x28
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
xor al, al
jmp 0x5db609
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x5db1a8
cmp dword [edi + 0x14], 8
jb 0x5db183
mov edi, dword [edi]
push edi
push str.Directory_to_delete_not_present_at_location__s
mov esi, dword [eax]
push str.FileUtils
push 0x701e7c
push 0x28
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x6ef350]
call esi
add esp, 0x18
xor al, al
jmp 0x5db609
push edi
lea ecx, [ebp - 0x28]
call fcn.00428650
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 1
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x70e3dc
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00428800
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.005da720
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00428770
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x298], eax
cmp eax, 0xffffffff
je 0x5db3cd
mov esi, eax
nop dword [eax + eax]
push str..__
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x5db3b0
push 0x7732dc
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x5db3b0
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x5db281
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5db275
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00428800
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5db2a0
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00428800
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.005da720
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00428770
test byte [ebp - 0x290], 0x10
je 0x5db303
push 1
push 0
push 0
push 1
push 1
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.005db000
add esp, 0x14
jmp 0x5db3b0
push ecx
mov dl, 1
lea ecx, [ebp - 0x28]
call fcn.005dbda0
add esp, 4
test al, al
jne 0x5db3b0
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x5db354
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
push eax
push str.File__s_failed_to_delete
push 0x701e7c
push str.FileUtils
push 0x7721a4
push 0x28
call dword [0x6ef350]
call esi
add esp, 0x18
jmp 0x5db389
mov ecx, dword [0x7eb9f4]
test ecx, ecx
je 0x5db389
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x28]
push eax
push str.FileUtils
mov esi, dword [esi + 0x34]
push str.File__s_failed_to_delete
push 0x28
push ecx
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x14
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [ebx + 8]
je 0x5db3a2
mov ecx, eax
call fcn.00428650
add dword [ebx + 4], 0x18
jmp 0x5db3aa
push eax
mov ecx, ebx
call fcn.00441b90
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x290]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x5db230
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00428770
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5db3e6
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov ecx, eax
test cl, 1
je 0x5db487
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x5db438
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5db40c
mov eax, dword [edi]
push ecx
push eax
push str.Directory__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push 0x701e7c
push 0x701e7c
push str.FileUtils
push 0x7721a4
push 0x14
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x5db471
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x5db471
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x5db44b
mov edx, dword [edi]
mov esi, dword [eax]
push ecx
push edx
push str.Directory__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.FileUtils
push 0x701e7c
push 0x14
push eax
call dword [0x6ef350]
call esi
add esp, 0x1c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5db47b
mov eax, dword [edi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5db491
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne byte [ebp - 0x291]
test eax, eax
je 0x5db536
cmp byte [ebp + 0x14], 0
je 0x5db603
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x5db4f5
cmp dword [edi + 0x14], 8
jb 0x5db4c5
mov edi, dword [edi]
push 1
push edi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
push 0x701e7c
push 0x701e7c
push str.FileUtils
push 0x7721a4
push 0x1e
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x5db603
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x5db603
cmp dword [edi + 0x14], 8
jb 0x5db50a
mov edi, dword [edi]
mov esi, dword [eax]
push 1
push edi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.FileUtils
push 0x701e7c
push 0x1e
push eax
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x5db603
push edi
mov edx, str.RemoveDirectoryFailed:
lea ecx, [ebp - 0x40]
call fcn.004326c0
add esp, 4
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov eax, dword [ebx + 4]
push ecx
cmp eax, dword [ebx + 8]
je 0x5db567
mov ecx, eax
call fcn.00428650
add dword [ebx + 4], 0x18
jmp 0x5db56f
push eax
mov ecx, ebx
call fcn.00441b90
cmp dword [0x7eb9f0], 0
je 0x5db5b8
cmp dword [edi + 0x14], 8
jb 0x5db580
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [0x7eb9f0]
mov ecx, esi
push eax
push edi
push str.Failed_to_remove_directory__s_Error__d
push 0x701e7c
push 0x701e7c
push str.FileUtils
push 0x7721a4
push 0x1e
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x5db5fb
mov esi, dword [0x7eb9f4]
test esi, esi
je 0x5db5fb
cmp dword [edi + 0x14], 8
jb 0x5db5ca
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
push edi
push str.Failed_to_remove_directory__s_Error__d
push str.FileUtils
push 0x701e7c
push 0x1e
push dword [0x7eb9f4]
call dword [0x6ef350]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x40]
call fcn.00428770
mov al, byte [ebp - 0x291]
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.0063de71
mov esp, ebp
pop ebp
ret