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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4141f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x41c090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x40129a
mov eax, dword [edi]
jmp 0x40129c
mov eax, edi
xor ebx, ebx
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4012b3
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.00401620
mov dword [ebp - 4], ebx
xor edx, edx
push 1
mov eax, 0x417178
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00401620
mov eax, esi
push eax
lea ebx, [ebp - 0x64]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
push 0
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401a70
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x401327
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0040a147
add esp, 4
xor edx, edx
mov byte [ebp - 4], dl
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x34], esi
jb 0x40134f
mov eax, dword [ebp - 0x48]
push eax
call fcn.0040a147
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x40135a
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2b8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2bc], eax
cmp eax, 0xffffffff
je 0x4014ba
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x41717c
lea edx, [ebp - 0x28c]
push edx
call esi
test eax, eax
je 0x401492
push 0x417180
lea eax, [ebp - 0x28c]
push eax
call esi
test eax, eax
je 0x401492
xor ecx, ecx
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4013c6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x28c]
lea esi, [ebp - 0x48]
call fcn.00401620
mov edx, esi
push edx
lea ebx, [ebp - 0x64]
mov eax, edi
mov byte [ebp - 4], 3
call fcn.00401070
xor ebx, ebx
push ebx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401a70
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x40141e
mov eax, dword [ebp - 0x64]
push eax
call fcn.0040a147
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], esi
jb 0x401442
mov edx, dword [ebp - 0x48]
push edx
call fcn.0040a147
add esp, 4
test byte [ebp - 0x2b8], 0x10
je 0x401455
lea ecx, [ebp - 0x2c]
call fcn.00401260
jmp 0x401492
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x401460
lea eax, [ebp - 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
test eax, eax
jne 0x401492
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x401478
lea eax, [ebp - 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x40148f
lea eax, [ebp - 0x2c]
push eax
call ebx
mov esi, dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401377
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 8
cmp dword [edi + 0x14], esi
jb 0x4014c3
mov eax, dword [edi]
jmp 0x4014c5
mov eax, edi
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push eax
call esi
cmp eax, 1
sete bl
test bl, bl
jne 0x401513
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x401513
mov ebx, 8
cmp dword [edi + 0x14], ebx
jb 0x4014f1
mov eax, dword [edi]
jmp 0x4014f3
mov eax, edi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x14], ebx
jb 0x401508
mov eax, dword [edi]
jmp 0x40150a
mov eax, edi
push eax
call esi
cmp eax, 1
sete bl
cmp dword [ebp - 0x18], 8
jb 0x401525
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040a147
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a138
mov esp, ebp
pop ebp
ret