Function at 0x5cca60
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 0x6d80a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x7e500c]
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 0x71a27c
call fcn.00430760
test al, al
je 0x5ccb11
mov esi, dword [0x8076a4]
test esi, esi
je 0x5ccad9
push str.DeleteDirectoryAtPath:_Path_should_not_be_empty.
push 0x71a27c
push 0x71a27c
push str.FileUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
xor al, al
jmp 0x5cd069
mov eax, dword [0x8076a8]
test eax, eax
je 0x5ccc08
mov esi, dword [eax]
push str.DeleteDirectoryAtPath:_Path_should_not_be_empty.
push str.FileUtils
push 0x71a27c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x28
push eax
call dword [0x707770]
call esi
add esp, 0x14
xor al, al
jmp 0x5cd069
mov ecx, edi
call fcn.005cc820
test al, al
je 0x5ccb7b
mov esi, dword [0x8076a4]
test esi, esi
je 0x5ccb5e
cmp dword [edi + 0x14], 8
jb 0x5ccb2e
mov edi, dword [edi]
push edi
push str.Directory_to_delete:__s_is_a_special_path__skipping.
push 0x71a27c
push 0x71a27c
push str.FileUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
xor al, al
jmp 0x5cd069
mov eax, dword [0x8076a8]
test eax, eax
je 0x5ccc08
cmp dword [edi + 0x14], 8
jb 0x5ccb73
mov edi, dword [edi]
push edi
push str.Directory_to_delete:__s_is_a_special_path__skipping.
jmp 0x5ccbe9
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5ccb85
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x5ccc0f
mov esi, dword [0x8076a4]
test esi, esi
je 0x5ccbd2
cmp dword [edi + 0x14], 8
jb 0x5ccba2
mov edi, dword [edi]
push edi
push str.Directory_to_delete_not_present_at_location__s
push 0x71a27c
push 0x71a27c
push str.FileUtils
push str.OOBEUtils
push 0x28
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
xor al, al
jmp 0x5cd069
mov eax, dword [0x8076a8]
test eax, eax
je 0x5ccc08
cmp dword [edi + 0x14], 8
jb 0x5ccbe3
mov edi, dword [edi]
push edi
push str.Directory_to_delete_not_present_at_location__s
mov esi, dword [eax]
push str.FileUtils
push 0x71a27c
push 0x28
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x707770]
call esi
add esp, 0x18
xor al, al
jmp 0x5cd069
push edi
lea ecx, [ebp - 0x28]
call fcn.00427050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 1
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x726514
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00427170
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 0x5cce2d
mov esi, eax
nop dword [eax + eax]
push 0x71a2d8
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x5cce10
push 0x78a2cc
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x5cce10
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x5ccce1
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5cccd5
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.004271d0
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 0x5ccd00
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004271d0
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00427170
test byte [ebp - 0x290], 0x10
je 0x5ccd63
push 1
push 0
push 0
push 1
push 1
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.005cca60
add esp, 0x14
jmp 0x5cce10
push ecx
mov dl, 1
lea ecx, [ebp - 0x28]
call fcn.005cd7f0
add esp, 4
test al, al
jne 0x5cce10
mov esi, dword [0x8076a4]
test esi, esi
je 0x5ccdb4
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 0x71a27c
push str.FileUtils
push str.OOBEUtils
push 0x28
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5ccde9
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x5ccde9
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 [0x707770]
call esi
add esp, 0x14
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [ebx + 8]
je 0x5cce02
mov ecx, eax
call fcn.00427050
add dword [ebx + 4], 0x18
jmp 0x5cce0a
push eax
mov ecx, ebx
call fcn.004409f0
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x290]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x5ccc90
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00427170
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5cce46
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov ecx, eax
test cl, 1
je 0x5ccee7
mov esi, dword [0x8076a4]
test esi, esi
je 0x5cce98
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5cce6c
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 0x71a27c
push 0x71a27c
push str.FileUtils
push str.OOBEUtils
push 0x14
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x5cced1
mov eax, dword [0x8076a8]
test eax, eax
je 0x5cced1
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x5cceab
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 0x71a27c
push 0x14
push eax
call dword [0x707770]
call esi
add esp, 0x1c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5ccedb
mov eax, dword [edi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5ccef1
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne byte [ebp - 0x291]
test eax, eax
je 0x5ccf96
cmp byte [ebp + 0x14], 0
je 0x5cd063
mov esi, dword [0x8076a4]
test esi, esi
je 0x5ccf55
cmp dword [edi + 0x14], 8
jb 0x5ccf25
mov edi, dword [edi]
push 1
push edi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
push 0x71a27c
push 0x71a27c
push str.FileUtils
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x5cd063
mov eax, dword [0x8076a8]
test eax, eax
je 0x5cd063
cmp dword [edi + 0x14], 8
jb 0x5ccf6a
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 0x71a27c
push 0x1e
push eax
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5cd063
push edi
mov edx, str.RemoveDirectoryFailed:
lea ecx, [ebp - 0x40]
call fcn.00431170
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 0x5ccfc7
mov ecx, eax
call fcn.00427050
add dword [ebx + 4], 0x18
jmp 0x5ccfcf
push eax
mov ecx, ebx
call fcn.004409f0
cmp dword [0x8076a4], 0
je 0x5cd018
cmp dword [edi + 0x14], 8
jb 0x5ccfe0
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [0x8076a4]
mov ecx, esi
push eax
push edi
push str.Failed_to_remove_directory__s_Error__d
push 0x71a27c
push 0x71a27c
push str.FileUtils
push str.OOBEUtils
push 0x1e
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x5cd05b
mov esi, dword [0x8076a8]
test esi, esi
je 0x5cd05b
cmp dword [edi + 0x14], 8
jb 0x5cd02a
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 0x71a27c
push 0x1e
push dword [0x8076a8]
call dword [0x707770]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x40]
call fcn.00427170
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.00650ddc
mov esp, ebp
pop ebp
ret