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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1149
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x695e80]
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.00403dc0
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.004568f0
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 0x53b3da
xor esi, esi
jmp 0x53b6d3
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.00403dc0
call esi
cmp byte [ebp - 0x270], 0x2e
je 0x53b68b
mov eax, dword [ebp - 0x29c]
cmp eax, 0x2010
je 0x53b4b9
cmp eax, 0x10
je 0x53b4b9
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00403dc0
push 1
push 0x5ba858
lea ecx, [ebp - 0x12c]
call fcn.004568f0
cmp byte [ebp - 0x270], 0
jne 0x53b457
xor ecx, ecx
jmp 0x53b469
lea ecx, [ebp - 0x270]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x53b460
sub ecx, edx
push ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004568f0
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 0x53b686
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 0x53b5f4
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.00403dc0
cmp byte [ebp - 0x270], 0
mov byte [ebp - 4], 3
jne 0x53b520
xor ecx, ecx
jmp 0x53b539
lea ecx, [ebp - 0x270]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x53b530
sub ecx, edx
push ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x15c]
call fcn.004568f0
push 1
push 0x5ba858
lea ecx, [ebp - 0x15c]
call fcn.004568f0
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 0x53b5a3
xor ecx, ecx
jmp 0x53b5bf
lea ecx, [ebp - 0x114]
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x53b5b0
sub ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea eax, [ebp - 0x114]
mov ecx, edx
push eax
call fcn.00403ef0
mov ecx, dword [ebp - 0x2a4]
call fcn.0053b310
cmp dword [ebp - 0x148], 0x10
mov byte [ebp - 4], 2
jb 0x53b5f4
push dword [ebp - 0x15c]
call fcn.0058559d
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00403dc0
push 1
push 0x5ba858
lea ecx, [ebp - 0x12c]
call fcn.004568f0
cmp byte [ebp - 0x270], 0
jne 0x53b629
xor ecx, ecx
jmp 0x53b63b
lea ecx, [ebp - 0x270]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x53b632
sub ecx, edx
push ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004568f0
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 0x53b3e6
call esi
cmp eax, 0x12
jne 0x53b6c5
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 0x53b6d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx esi, bl
cmp dword [ebp - 0x118], 0x10
jb 0x53b6ea
push dword [ebp - 0x12c]
call fcn.0058559d
add esp, 4
cmp dword [ebp - 0x130], 0x10
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jb 0x53b71c
push dword [ebp - 0x144]
call fcn.0058559d
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
jb 0x53b748
push dword [ebp + 8]
call fcn.0058559d
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.00585d34
mov esp, ebp
pop ebp
ret 0x18