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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1540
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c8], esi
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 0x250
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.005b9c20
push 0x61413c
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.004145e0
add esp, 0x10
push 3
push 0x61d800
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00409220
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x2d0], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.00408ff0
movups xmm0, xmmword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x58], ax
movq xmm0, qword [ebp - 0x2d0]
movq qword [ebp - 0x30], xmm0
call fcn.00408ff0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.00408ff0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ff83
mov byte [ebp - 0x2c1], 0
jmp 0x410182
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
mov ecx, 0x61e338
lea eax, [ebp - 0x294]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ffc6
test dx, dx
je 0x40ffc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ffc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ffa0
xor eax, eax
jmp 0x40ffcb
sbb eax, eax
or eax, 1
test eax, eax
je 0x410162
mov ecx, 0x61e33c
lea eax, [ebp - 0x294]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410006
test dx, dx
je 0x410002
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410006
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ffe0
xor eax, eax
jmp 0x41000b
sbb eax, eax
or eax, 1
test eax, eax
je 0x410162
mov ecx, str.desktop.ini
lea eax, [ebp - 0x294]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410046
test dx, dx
je 0x410042
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410046
add eax, 4
add ecx, 4
test dx, dx
jne 0x410020
xor eax, eax
jmp 0x41004b
sbb eax, eax
or eax, 1
test eax, eax
je 0x410162
mov ecx, str.counters.dat
lea eax, [ebp - 0x294]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410086
test dx, dx
je 0x410082
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410086
add eax, 4
add ecx, 4
test dx, dx
jne 0x410060
xor eax, eax
jmp 0x41008b
sbb eax, eax
or eax, 1
test eax, eax
je 0x410162
mov eax, str.index.dat
lea ecx, [ebp - 0x294]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4100c6
test dx, dx
je 0x4100c2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4100c6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4100a0
xor eax, eax
jmp 0x4100cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x410162
mov edx, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x70]
push 0x61413c
call fcn.004145e0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004094d0
add esp, 8
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00408ff0
test byte [ebp - 0x2c0], 0x10
je 0x41012d
lea ecx, [ebp - 0x28]
call fcn.0040fe60
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x80
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00408ff0
lea eax, [ebp - 0x2c0]
push eax
push esi
call edi
test eax, eax
jne 0x40ff90
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2c1], 1
lea ecx, [ebp - 0x40]
call fcn.00408ff0
mov al, byte [ebp - 0x2c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b75ab
mov esp, ebp
pop ebp
ret