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

Disassembly:
push 0x274
mov eax, 0x4676ba
call fcn.00463b54
mov esi, ecx
and dword [ebp - 0x274], 0
call fcn.004068d0
push eax
lea ecx, [ebp - 0x264]
call fcn.00405f99
mov dword [ebp - 4], 1
call fcn.004068d0
push eax
lea ecx, [ebp - 0x268]
call fcn.00405f99
mov byte [ebp - 4], 3
or ebx, 0xffffffff
test esi, esi
je 0x41c66f
movzx eax, word [esi]
test ax, ax
je 0x41c66f
push 0x5c
pop ebx
cmp ax, bx
jne 0x41c417
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x264]
call fcn.00408222
jmp 0x41c42c
push esi
lea eax, [ebp - 0x264]
push str.__s
push eax
call fcn.00406215
add esp, 0xc
push ebx
push 0x2f
lea ecx, [ebp - 0x264]
call fcn.004075aa
push ecx
lea ecx, [ebp - 0x264]
call fcn.00405e2a
push 0x47b124
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x26c]
call fcn.004074c4
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
push eax
call fcn.0040764f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov edi, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c667
push 0x2e
pop esi
test dword [ebp - 0x260], 0x400
jne 0x41c60d
call fcn.004068d0
push eax
lea ecx, [ebp - 0x26c]
call fcn.00405f99
mov byte [ebp - 4], 7
test byte [ebp - 0x260], 0x10
je 0x41c561
cmp word [ebp - 0x234], si
jne 0x41c4fe
cmp word [ebp - 0x232], 0
je 0x41c4f9
cmp word [ebp - 0x232], si
jne 0x41c4fe
cmp word [ebp - 0x230], 0
jne 0x41c4fe
jmp 0x41c5fb
push 0x5c
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x27c]
call fcn.0041fe3f
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x234]
push ecx
mov edx, eax
lea ecx, [ebp - 0x278]
call fcn.004074c4
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov ecx, dword [ebp - 0x278]
mov dl, 1
call fcn.0041c39d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x278]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x41c5fb
push 0x5c
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x280]
call fcn.0041fe3f
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x234]
push ecx
mov edx, eax
lea ecx, [ebp - 0x270]
call fcn.004074c4
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00406985
push 0x80
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 9
pop edi
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41c5e6
cmp eax, 0x20
je 0x41c5d6
cmp eax, 5
jne 0x41c5e6
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x41c5b4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00406985
push 0x2e
pop esi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.00406985
push 0x250
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00441660
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41c4a1
mov esi, dword [ebp - 0x264]
push 0x10
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, dword [ebp - 0x268]
test eax, eax
jne 0x41c685
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x274], eax
jmp 0x41c685
mov esi, dword [ebp - 0x264]
jmp 0x41c691
mov esi, dword [ebp - 0x264]
mov edi, dword [ebp - 0x268]
mov dword [ebp - 0x274], 0x57
cmp ebx, 0xffffffff
je 0x41c691
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
lea ecx, [edi - 0x10]
call fcn.00406985
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406985
mov eax, dword [ebp - 0x274]
call fcn.00463afe
ret