Function at 0x21011dc1
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0x104
call fcn.21058728
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x21011e1b
cmp dword [ebp + 0xc], 0
jne 0x21011e16
push str.could_not_allocate_MAX_PATH_buffer
call fcn.2100df3d
jmp 0x210120f0
push 0x140
call fcn.21058728
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x21011e4c
cmp dword [ebp + 0xc], 0
jne 0x21011e47
push str.could_not_allocate_WIN32_FIND_DATA
call fcn.2100df3d
jmp 0x210120ee
mov edx, dword [ebp - 0xc]
push edx
push 0x21071ecc
mov eax, dword [ebp + 8]
push eax
call fcn.21010b3d
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x21011e7a
jmp 0x210120ec
push 0x21071ed0
mov eax, dword [ebp - 0x14]
add eax, 0x2c
push eax
call fcn.210496f0
add esp, 8
test eax, eax
je 0x21011eb6
push 0x21071ed4
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
push ecx
call fcn.210496f0
add esp, 8
test eax, eax
je 0x21011eb6
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
and eax, 0x10
test eax, eax
je 0x21011ebb
jmp 0x21011f47
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x2c
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.21010b3d
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.21011c82
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x21011f16
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 0x130]
test eax, eax
je 0x21011f16
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x130
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.21010b3d
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.21011c82
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x21011f47
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp + 0xc], 0
jne 0x21011f47
call fcn.2100ee2b
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x2721
call fcn.2100de6e
add esp, 0xc
jmp 0x210120ea
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x21011f7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x21011f66
jmp 0x21011f80
cmp dword [ebp + 0xc], 0
jne 0x21011f76
push 0x21071ed8
call fcn.2100dfb1
jmp 0x210120e8
jmp 0x21011e7a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 8], 0xffffffff
mov ecx, dword [ebp - 0xc]
push ecx
push 0x21071ee8
mov edx, dword [ebp + 8]
push edx
call fcn.21010b3d
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x21011fbf
jmp 0x210120e6
push 0x21071eec
mov edx, dword [ebp - 0x14]
add edx, 0x2c
push edx
call fcn.210496f0
add esp, 8
test eax, eax
jne 0x21011fdc
jmp 0x210120e1
push 0x21071ef0
mov eax, dword [ebp - 0x14]
add eax, 0x2c
push eax
call fcn.210496f0
add esp, 8
test eax, eax
jne 0x21011ff9
jmp 0x210120dc
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x2c
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.21010b3d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
and edx, 0x10
test edx, edx
jne 0x2101201e
jmp 0x210120d7
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.21011dc1
test eax, eax
jne 0x21012032
jmp 0x210120d5
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x21012063
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x21012051
jmp 0x21012068
cmp dword [ebp + 0xc], 0
jne 0x21012061
push str.FindNextFile
call fcn.2100dfb1
jmp 0x210120d3
jmp 0x21011fbf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp - 4], 0
je 0x21012081
jmp 0x210120d1
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0xffffffff
je 0x21012098
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x10], 0
je 0x210120a8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.21058751
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.21058751
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x210120f2
jmp 0x21012088
jmp 0x21012088
jmp 0x21012088
jmp 0x21012032
jmp 0x21012032
jmp 0x21012032
jmp 0x21012088
jmp 0x21012088
jmp 0x21012088
jmp 0x21012088
jmp 0x21012088
jmp 0x21012088
mov esp, ebp
pop ebp
ret 8