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

Disassembly:
sub esp, 0x86c
push ebx
mov ebx, dword [esp + 0x874]
push ebp
xor ebp, ebp
cmp ebx, ebp
push esi
je 0x11dcb0b4
push ebx
call fcn.11e67d05
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x11dcb0b4
cmp esi, 0x104
jae 0x11dcb0b4
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46e]
mov word [esp + 0x46c], bp
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x470]
push ebx
push eax
call fcn.11e674bf
lea eax, [esp + esi*2 + 0x478]
add esp, 0xc
cmp word [eax - 2], 0x5c
je 0x11dcaea9
mov word [eax], 0x5c
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x676]
mov word [esp + 0x674], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x46c]
push 0x104
lea edx, [esp + 0x678]
push ecx
push edx
stosw word es:[edi], ax
call fcn.11e674bf
lea eax, [esp + 0x680]
push 0x12023d48
push eax
call fcn.11e67470
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], ebp
rep stosd dword es:[edi], eax
add esp, 0x14
lea ecx, [esp + 0x14]
lea edx, [esp + 0x674]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x11dcb0a2
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x266]
mov word [esp + 0x264], bp
mov ebx, dword [esp + 0x88c]
mov esi, dword [esp + 0x884]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x264]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x470]
lea ecx, [esp + 0x268]
push eax
push ecx
call fcn.11e674bf
lea edx, [esp + 0x4c]
lea eax, [esp + 0x270]
push edx
push eax
call fcn.11e67470
mov eax, dword [esp + 0x28]
add esp, 0x14
test al, 0x10
je 0x11dcb00f
lea ecx, [esp + 0x40]
push 0x1207c188
push ecx
call fcn.11e67d22
add esp, 8
test eax, eax
je 0x11dcb078
lea edx, [esp + 0x40]
push 0x12098764
push edx
call fcn.11e67d22
add esp, 8
test eax, eax
je 0x11dcb078
mov eax, dword [esp + 0x888]
test eax, eax
je 0x11dcaff9
test al, 1
jne 0x11dcb078
test al, 2
je 0x11dcb078
lea eax, [esp + 0x264]
push eax
call fcn.11ea08a0
add esp, 4
jmp 0x11dcb078
push ebx
push 0
lea ecx, [esp + 0x26c]
push esi
push ecx
call fcn.11dcae30
add esp, 0x10
jmp 0x11dcb078
test ebx, ebx
je 0x11dcb055
test bl, 1
je 0x11dcb034
push 7
lea edx, [esp + 0x44]
push str.Backup_
push edx
call fcn.11e68a1f
add esp, 0xc
test eax, eax
je 0x11dcb078
mov eax, dword [esp + 0x14]
test bl, 2
je 0x11dcb055
push 7
lea eax, [esp + 0x44]
push 0x1204baec
push eax
call fcn.11e68a1f
add esp, 0xc
test eax, eax
je 0x11dcb078
mov eax, dword [esp + 0x14]
test esi, esi
je 0x11dcb06a
test al, 1
je 0x11dcb06a
and al, 0xfe
lea ecx, [esp + 0x264]
push eax
push ecx
call ebp
lea edx, [esp + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x11dcaf51
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x880]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x86c
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x86c
ret