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

Disassembly:
push 0x274
mov eax, 0x47ef55
call fcn.004569c5
mov esi, ecx
lea ecx, [ebp - 0x264]
xor edi, edi
call fcn.0040aaed
and dword [ebp - 4], edi
lea ecx, [ebp - 0x270]
call fcn.0040aaed
mov byte [ebp - 4], 1
test esi, esi
je 0x41f2bb
movzx eax, word [esi]
test ax, ax
je 0x41f2bb
push 0x5c
pop ebx
push esi
cmp ax, bx
jne 0x41f066
lea ecx, [ebp - 0x264]
call fcn.0040a676
jmp 0x41f07a
lea eax, [ebp - 0x264]
push str.__s
push eax
call fcn.0040bead
add esp, 0xc
push ebx
push 0x2f
lea ecx, [ebp - 0x264]
call fcn.00409476
push ecx
lea ecx, [ebp - 0x264]
call fcn.00423166
push 0x4acb78
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x268]
call fcn.00409379
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
push eax
call fcn.0040951e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
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 0x41f2be
push 0x2e
pop esi
test dword [ebp - 0x260], 0x400
jne 0x41f260
lea ecx, [ebp - 0x268]
call fcn.0040aaed
mov byte [ebp - 4], 4
test byte [ebp - 0x260], 0x10
je 0x41f1ae
cmp word [ebp - 0x234], si
jne 0x41f14b
cmp word [ebp - 0x232], 0
je 0x41f146
cmp word [ebp - 0x232], si
jne 0x41f14b
cmp word [ebp - 0x230], 0
jne 0x41f14b
jmp 0x41f24e
push 0x5c
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x278]
call fcn.0042310f
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
push ecx
mov edx, eax
lea ecx, [ebp - 0x274]
call fcn.00409379
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x278]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov ecx, dword [ebp - 0x274]
mov dl, 1
call fcn.0041f00c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x41f24e
push 0x5c
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x27c]
call fcn.0042310f
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x234]
push ecx
mov edx, eax
lea ecx, [ebp - 0x26c]
call fcn.00409379
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
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 0x41f233
cmp eax, 0x20
je 0x41f223
cmp eax, 5
jne 0x41f233
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x41f201
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
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.0040aacb
push 0x250
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00457e10
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41f0f4
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 0x41f2b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41f2be
push 0x57
pop edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov eax, edi
call fcn.00456974
ret