Function at 0x40acf0
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x274]
xor ebp, ebp
xor ebx, ebx
cmp edi, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
je 0x40ad28
lea eax, [esp + 0x16c]
push str..inv
push eax
call fcn.00402e10
add esp, 8
jmp 0x40ad58
mov edi, str..inv
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x16c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x274]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x16c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x40ae70
xor ebp, ebp
test byte [esp + 0x2c], 0x10
jne 0x40ae4a
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x40ada3
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40ada3
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
push ecx
jmp 0x40adad
lea edx, [esp + 0x1c]
lea eax, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
and edx, 0xffff
and eax, 0xffff
imul edx, edx, 0x1f
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x10]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x22]
add esi, edx
and eax, 0xffff
add esi, eax
mov eax, dword [esp + 0x14]
cmp ecx, eax
jl 0x40ae12
lea edx, [ebp + 0x7000]
push edx
push ebx
call dword [sym.imp.MSVCRT.dll_realloc]
mov ebx, eax
mov ecx, 0x1c00
xor eax, eax
add esp, 8
lea edi, [ebx + ebp]
rep stosd dword es:[edi], eax
add dword [esp + 0x14], 0x400
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + ebp], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + ebp + 4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
inc ecx
add ebp, 0x1c
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ad7c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x274]
push 0x40af10
push 0x1c
push ebp
push ebx
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
cmp ebp, edi
jle 0x40af05
test edi, edi
je 0x40aed9
cmp edi, ebp
jge 0x40aefb
lea edx, [edi*8]
sub edx, edi
sub ebp, edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea esi, [ebx + edx*4 + 4]
lea eax, [esp + 0x16c]
push esi
push eax
call fcn.00402e10
add esp, 8
lea ecx, [esp + 0x16c]
push 0x80
push ecx
call edi
lea edx, [esp + 0x16c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esi, 0x1c
dec ebp
jne 0x40aea3
jmp 0x40aefb
test ebp, ebp
jle 0x40aefb
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea esi, [ebx + 4]
push 0x80
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esi, 0x1c
dec ebp
jne 0x40aee6
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret