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

Disassembly:
push 0xffffffffffffffff
push 0x42569c
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x42f4ec]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42f4ec]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2d0]
xor ebp, ebp
cmp ecx, ebp
je 0x40be61
cmp byte [ecx], 0
je 0x40be61
mov edi, 0xf
mov eax, ecx
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebp
mov byte [esp + 0x164], 0
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40bd35
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x168]
call fcn.00401830
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x164]
mov dword [esp + 0x2cc], ebp
call fcn.0040bb90
mov ecx, eax
call fcn.0040bb30
cmp byte [eax], 0x5c
je 0x40bd82
push 0x5c
push 1
lea ecx, [esp + 0x168]
call fcn.00407280
push 1
push 2
lea ecx, [esp + 0xe8]
call fcn.00408d30
push 0x426750
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0xe8]
push edx
mov byte [esp + 0x2d4], 1
call fcn.0040af60
add esp, 8
push eax
call fcn.004089c0
add esp, 8
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xe4]
call fcn.00406c00
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
jb 0x40bde0
mov eax, dword [eax + 4]
jmp 0x40bde3
add eax, 4
lea ecx, [esp + 0x17c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [esp + 0x50], ebx
mov esi, eax
jb 0x40be07
mov edx, dword [esp + 0x3c]
push edx
call fcn.0040e776
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
jne 0x40be8e
lea ecx, [esp + 0x12c]
mov byte [esp + 0x2c8], 0
call fcn.00405f00
lea eax, [esp + 0x12c]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040e519
add esp, 4
cmp dword [esp + 0x178], ebx
jb 0x40be61
mov ecx, dword [esp + 0x164]
push ecx
call fcn.0040e776
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0040ea08
add esp, 0x2b8
ret
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ebx, [ebx]
push 1
call edi
push 1
push 2
lea ecx, [esp + 0x68]
call fcn.00408d30
lea edx, [esp + 0x1a8]
push edx
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x2d4], 2
call fcn.0040af60
add esp, 8
push eax
call fcn.004089c0
mov edx, dword [esp + 0x184]
and edx, ebx
add esp, 8
cmp dl, bl
jne 0x40bf50
cmp byte [esp + 0x1a8], 0x2e
jne 0x40bf17
lea ecx, [esp + 0xac]
mov byte [esp + 0x2c8], 1
call fcn.00405f00
lea eax, [esp + 0xac]
push eax
jmp 0x40bfd4
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x64]
call fcn.00406c00
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x2c8], 3
jb 0x40bf37
mov eax, dword [eax + 4]
jmp 0x40bf3a
add eax, 4
push eax
call fcn.0040bcc0
add esp, 4
cmp dword [esp + 0x34], ebx
jb 0x40bfb8
mov edx, dword [esp + 0x20]
push edx
jmp 0x40bfb0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x64]
call fcn.00406c00
cmp dword [eax + 0x18], ebx
jb 0x40bf68
mov eax, dword [eax + 4]
jmp 0x40bf6b
add eax, 4
push 0
push eax
call ebp
cmp dword [esp + 0x34], ebx
jb 0x40bf83
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040e776
add esp, 4
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x64]
call fcn.00406c00
cmp dword [eax + 0x18], ebx
jb 0x40bf9b
mov eax, dword [eax + 4]
jmp 0x40bf9e
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x34], ebx
jb 0x40bfb8
mov eax, dword [esp + 0x20]
push eax
call fcn.0040e776
add esp, 4
lea ecx, [esp + 0xac]
mov byte [esp + 0x2c8], 1
call fcn.00405f00
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0xb0], vtable.std::ios_base.0
call fcn.0040e519
add esp, 4
lea edx, [esp + 0x17c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40bea0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x178]
cmp ecx, ebx
mov edi, dword [esp + 0x164]
mov eax, edi
jae 0x40c020
lea eax, [esp + 0x164]
mov edx, dword [esp + 0x174]
lea esi, [eax + edx]
test esi, esi
je 0x40c052
cmp ecx, ebx
mov eax, edi
jae 0x40c03b
lea eax, [esp + 0x164]
cmp eax, esi
ja 0x40c052
cmp ecx, ebx
mov eax, edi
jae 0x40c04c
lea eax, [esp + 0x164]
add eax, edx
cmp esi, eax
jbe 0x40c057
call fcn.0040f8fb
push 1
lea ecx, [esp + 0x58]
lea eax, [esp + 0x164]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
call fcn.0040bbf0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x16c]
call fcn.0040bc30
cmp dword [esp + 0x178], ebx
mov eax, dword [esp + 0x164]
jae 0x40c0a5
lea eax, [esp + 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x12c]
mov esi, eax
mov byte [esp + 0x2c8], 0
call fcn.00405f00
lea edx, [esp + 0x12c]
push edx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040e519
add esp, 4
cmp dword [esp + 0x178], ebx
jb 0x40c0f6
mov eax, dword [esp + 0x164]
push eax
call fcn.0040e776
add esp, 4
mov eax, esi
jmp 0x40be66