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

Disassembly:
push 0x274
mov eax, 0x47d653
call fcn.00454305
mov esi, ecx
lea ecx, [ebp - 0x264]
xor edi, edi
call fcn.0040aa2d
and dword [ebp - 4], edi
lea ecx, [ebp - 0x270]
call fcn.0040aa2d
mov byte [ebp - 4], 1
test esi, esi
je 0x41ef8f
movzx eax, word [esi]
test ax, ax
je 0x41ef8f
push 0x5c
pop ebx
push esi
cmp ax, bx
jne 0x41ed3a
lea ecx, [ebp - 0x264]
call fcn.0040a5c2
jmp 0x41ed4e
lea eax, [ebp - 0x264]
push str.__s
push eax
call fcn.0040bd93
add esp, 0xc
push ebx
push 0x2f
lea ecx, [ebp - 0x264]
call fcn.00409396
push ecx
lea ecx, [ebp - 0x264]
call fcn.00422d05
push 0x49221c
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x268]
call fcn.00409299
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
push eax
call fcn.0040943e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x280], ebx
cmp ebx, 0xffffffff
je 0x41ef92
push 0x2e
pop esi
test dword [ebp - 0x260], 0x400
jne 0x41ef34
lea ecx, [ebp - 0x268]
call fcn.0040aa2d
mov byte [ebp - 4], 4
test byte [ebp - 0x260], 0x10
je 0x41ee82
cmp word [ebp - 0x234], si
jne 0x41ee1f
cmp word [ebp - 0x232], 0
je 0x41ee1a
cmp word [ebp - 0x232], si
jne 0x41ee1f
cmp word [ebp - 0x230], 0
jne 0x41ee1f
jmp 0x41ef22
push 0x5c
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x278]
call fcn.00422cae
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
push ecx
mov edx, eax
lea ecx, [ebp - 0x274]
call fcn.00409299
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x278]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov ecx, dword [ebp - 0x274]
mov dl, 1
call fcn.0041ece0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x41ef22
push 0x5c
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x27c]
call fcn.00422cae
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x234]
push ecx
mov edx, eax
lea ecx, [ebp - 0x26c]
call fcn.00409299
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
push 0x80
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 9
pop ebx
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41ef07
cmp eax, 0x20
je 0x41eef7
cmp eax, 5
jne 0x41ef07
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x41eed5
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov ebx, dword [ebp - 0x280]
push 0x2e
pop esi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
push 0x250
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.004557e0
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41edc8
push 0x10
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41ef86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41ef92
push 0x57
pop edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov eax, edi
call fcn.004542b4
ret