Function at 0x40d8e0
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 0x46442e
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x48d0d0]
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 dword [ebp - 0x27c], edx
mov esi, ecx
cmp dword [esi + 0x14], 8
mov edi, dword [ebp + 0x10]
jb 0x40d923
mov eax, dword [esi]
jmp 0x40d925
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40d9cf
test edi, edi
je 0x40d962
cmp dword [esi + 0x14], 8
jb 0x40d940
mov esi, dword [esi]
mov eax, dword [edi]
push esi
push str.Directory_to_delete_not_present_at_location__s
push str.FileUtils
push 0x47fb68
push 0x28
push edi
call dword [eax + 0x34]
add esp, 0x18
xor al, al
jmp 0x40dd58
mov eax, dword [0x490788]
test eax, eax
je 0x40d99b
cmp dword [esi + 0x14], 8
jb 0x40d973
mov esi, dword [esi]
push esi
push str.Directory_to_delete_not_present_at_location__s
push 0x47fb68
push 0x47fb68
push str.FileUtils
push str.OOBEUtils
push 0x28
call eax
add esp, 0x1c
xor al, al
jmp 0x40dd58
mov ecx, dword [0x49078c]
test ecx, ecx
je 0x40d9c8
cmp dword [esi + 0x14], 8
jb 0x40d9ad
mov esi, dword [esi]
mov eax, dword [ecx]
push esi
push str.Directory_to_delete_not_present_at_location__s
push str.FileUtils
push 0x47fb68
push 0x28
push ecx
call dword [eax + 0x34]
add esp, 0x18
xor al, al
jmp 0x40dd58
cmp byte [ebp + 8], 0
mov ebx, dword [ebp + 0xc]
je 0x40dbbf
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00401f90
push 0x482b0c
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0
call fcn.00401cd0
push ecx
lea edx, [ebp - 0x298]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d700
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x284]
cmp eax, 8
jb 0x40da4b
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.00402340
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x280], eax
cmp eax, 0xffffffff
je 0x40db8f
push 0x482864
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40db68
push 0x482b10
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40db68
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x40daba
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00401f90
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x298]
call fcn.00401cd0
push ecx
lea edx, [ebp - 0x298]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040d700
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x284]
cmp eax, 8
jb 0x40db04
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.00402340
xor eax, eax
mov dword [ebp - 0x284], 7
test byte [ebp - 0x278], 0x10
mov dword [ebp - 0x288], 0
mov word [ebp - 0x298], ax
je 0x40db43
mov edx, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push eax
push edi
push ebx
push dword [ebp + 8]
call fcn.0040d8e0
add esp, 0x10
jmp 0x40db68
push edi
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040de80
add esp, 0xc
test al, al
jne 0x40db68
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.00401f90
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40da73
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40dbab
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402340
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test bl, bl
je 0x40dc91
cmp dword [esi + 0x14], 8
jb 0x40dbd1
mov eax, dword [esi]
jmp 0x40dbd3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
test cl, 1
je 0x40dc91
test edi, edi
je 0x40dc0d
cmp dword [esi + 0x14], 8
jb 0x40dbf3
mov edx, dword [esi]
jmp 0x40dbf5
mov edx, esi
mov eax, dword [edi]
push ecx
push edx
push str.Directory__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push str.FileUtils
push 0x47fb68
push 0x14
push edi
jmp 0x40dc73
mov edx, dword [0x490788]
test edx, edx
je 0x40dc47
cmp dword [esi + 0x14], 8
jb 0x40dc21
mov eax, dword [esi]
jmp 0x40dc23
mov eax, esi
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 0x47fb68
push 0x47fb68
push str.FileUtils
push str.OOBEUtils
push 0x14
call edx
add esp, 0x20
jmp 0x40dc79
mov edx, dword [0x49078c]
test edx, edx
je 0x40dc79
cmp dword [esi + 0x14], 8
jb 0x40dc5b
mov ebx, dword [esi]
jmp 0x40dc5d
mov ebx, esi
mov eax, dword [edx]
push ecx
push ebx
push str.Directory__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push str.FileUtils
push 0x47fb68
push 0x14
push edx
call dword [eax + 0x34]
add esp, 0x1c
cmp dword [esi + 0x14], 8
jb 0x40dc83
mov eax, dword [esi]
jmp 0x40dc85
mov eax, esi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x40dc9b
mov eax, dword [esi]
jmp 0x40dc9d
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
test bl, bl
je 0x40dd56
cmp byte [ebp + 0x14], 0
je 0x40dd56
test edi, edi
je 0x40dce6
cmp dword [esi + 0x14], 8
jb 0x40dcc8
mov esi, dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
movzx eax, al
push eax
push esi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
push str.FileUtils
push 0x47fb68
push 0x1e
push edi
jmp 0x40dd50
mov ecx, dword [0x490788]
test ecx, ecx
je 0x40dd22
cmp dword [esi + 0x14], 8
jb 0x40dcf8
mov esi, dword [esi]
mov eax, dword [ebp + 8]
movzx eax, al
push eax
push esi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
push 0x47fb68
push 0x47fb68
push str.FileUtils
push str.OOBEUtils
push 0x1e
call ecx
add esp, 0x20
jmp 0x40dd56
mov edx, dword [0x49078c]
test edx, edx
je 0x40dd56
cmp dword [esi + 0x14], 8
jb 0x40dd34
mov esi, dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [edx]
movzx eax, al
push eax
push esi
push str.Successfully_deleted_directory_from_path:__s._Recursive:__d
push str.FileUtils
push 0x47fb68
push 0x1e
push edx
call dword [ecx + 0x34]
add esp, 0x1c
mov al, bl
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.00429e52
mov esp, ebp
pop ebp
ret