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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3db9
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x6d5760]
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 dword [ebp - 0x2a4], ecx
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
call fcn.00407830
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
push 4
push str..
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.0042e710
cmp dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x29c]
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x56be7a
xor esi, esi
jmp 0x56c173
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, byte [ebp - 0x29d]
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x144]
call fcn.00407830
call esi
cmp byte [ebp - 0x270], 0x2e
je 0x56c12b
mov eax, dword [ebp - 0x29c]
cmp eax, 0x2010
je 0x56bf59
cmp eax, 0x10
je 0x56bf59
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00407830
push 1
push 0x5f5f54
lea ecx, [ebp - 0x12c]
call fcn.0042e710
cmp byte [ebp - 0x270], 0
jne 0x56bef7
xor ecx, ecx
jmp 0x56bf09
lea ecx, [ebp - 0x270]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x56bf00
sub ecx, edx
push ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0042e710
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0xfffffffffffffffe
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x56c126
cmp dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x144]
mov eax, dword [ebp - 0x134]
cmovae ecx, dword [ebp - 0x144]
cmp byte [eax + ecx - 1], 0x5c
jne 0x56c094
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
mov dword [ebp - 0x148], 0xf
push eax
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
call fcn.00407830
cmp byte [ebp - 0x270], 0
mov byte [ebp - 4], 3
jne 0x56bfc0
xor ecx, ecx
jmp 0x56bfd9
lea ecx, [ebp - 0x270]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x56bfd0
sub ecx, edx
push ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x15c]
call fcn.0042e710
push 1
push 0x5f5f54
lea ecx, [ebp - 0x15c]
call fcn.0042e710
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x114], 0
jne 0x56c043
xor ecx, ecx
jmp 0x56c05f
lea ecx, [ebp - 0x114]
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x56c050
sub ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea eax, [ebp - 0x114]
mov ecx, edx
push eax
call fcn.00407960
mov ecx, dword [ebp - 0x2a4]
call fcn.0056bdb0
cmp dword [ebp - 0x148], 0x10
mov byte [ebp - 4], 2
jb 0x56c094
push dword [ebp - 0x15c]
call fcn.005b62e5
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00407830
push 1
push 0x5f5f54
lea ecx, [ebp - 0x12c]
call fcn.0042e710
cmp byte [ebp - 0x270], 0
jne 0x56c0c9
xor ecx, ecx
jmp 0x56c0db
lea ecx, [ebp - 0x270]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x56c0d2
sub ecx, edx
push ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0042e710
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0xfffffffffffffffe
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne bl
lea eax, [ebp - 0x29c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x56be86
call esi
cmp eax, 0x12
jne 0x56c165
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov bl, 1
test edi, edi
je 0x56c170
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx esi, bl
cmp dword [ebp - 0x118], 0x10
jb 0x56c18a
push dword [ebp - 0x12c]
call fcn.005b62e5
add esp, 4
cmp dword [ebp - 0x130], 0x10
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jb 0x56c1bc
push dword [ebp - 0x144]
call fcn.005b62e5
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
jb 0x56c1e8
push dword [ebp + 8]
call fcn.005b62e5
add esp, 4
mov eax, esi
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.005b6a74
mov esp, ebp
pop ebp
ret 0x18