Function at 0x210167e2
Capabilities:
Delete directory
Enumerate files on windows

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 0x208
call fcn.2106e07d
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x2101683f
cmp dword [ebp + 0x10], 0
jne 0x2101683a
push str.could_not_allocate_MAX_PATH_buffer
call fcn.2101235d
add esp, 4
jmp 0x21016b6a
push 0x250
call fcn.2106e07d
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x21016873
cmp dword [ebp + 0x10], 0
jne 0x2101686e
push str.could_not_allocate_WIN32_FIND_DATA
call fcn.2101235d
add esp, 4
jmp 0x21016b68
push 0x104
mov edx, dword [ebp - 0xc]
push edx
push 0x2108be08
mov eax, dword [ebp + 8]
push eax
call fcn.210153c3
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x210168a9
jmp 0x21016b66
push 0x2108be10
mov eax, dword [ebp - 0x14]
add eax, 0x2c
push eax
call fcn.2105e83a
add esp, 8
test eax, eax
je 0x210168e5
push 0x2108be14
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
push ecx
call fcn.2105e83a
add esp, 8
test eax, eax
je 0x210168e5
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
and eax, 0x10
test eax, eax
je 0x210168ea
jmp 0x2101698e
push 0x104
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.210153c3
add esp, 0x10
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.2101666b
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x2101695d
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ax, word [edx + 0x234]
test eax, eax
je 0x2101695d
push 0x104
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x234
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.210153c3
add esp, 0x10
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.2101666b
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x2101698e
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp + 0x10], 0
jne 0x2101698e
call fcn.21013303
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x2721
call fcn.21012222
add esp, 0xc
jmp 0x21016b64
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x210169c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x210169ad
jmp 0x210169ca
cmp dword [ebp + 0x10], 0
jne 0x210169c0
push 0x2108be1c
call fcn.210123d5
add esp, 4
jmp 0x21016b62
jmp 0x210168a9
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x210169ed
mov dword [ebp - 0x10], 1
jmp 0x21016b60
push 0x104
mov ecx, dword [ebp - 0xc]
push ecx
push 0x2108be38
mov edx, dword [ebp + 8]
push edx
call fcn.210153c3
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x21016a23
jmp 0x21016b5e
push 0x2108be40
mov edx, dword [ebp - 0x14]
add edx, 0x2c
push edx
call fcn.2105e83a
add esp, 8
test eax, eax
jne 0x21016a40
jmp 0x21016b59
push 0x2108be44
mov eax, dword [ebp - 0x14]
add eax, 0x2c
push eax
call fcn.2105e83a
add esp, 8
test eax, eax
jne 0x21016a5d
jmp 0x21016b54
push 0x104
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.210153c3
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
and edx, 0x10
test edx, edx
jne 0x21016a8a
jmp 0x21016b4f
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.210167cb
add esp, 8
test eax, eax
jne 0x21016aa1
jmp 0x21016b4d
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x21016ad5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x21016ac0
jmp 0x21016ada
cmp dword [ebp + 0x10], 0
jne 0x21016ad3
push str.FindNextFile
call fcn.210123d5
add esp, 4
jmp 0x21016b4b
jmp 0x21016a23
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 0x21016af3
jmp 0x21016b49
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0xffffffff
je 0x21016b0a
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x10], 0
je 0x21016b20
cmp dword [ebp + 0xc], 0
jne 0x21016b20
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.2106e0a6
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.2106e0a6
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x21016b6c
jmp 0x21016afa
jmp 0x21016afa
jmp 0x21016afa
jmp 0x21016aa1
jmp 0x21016aa1
jmp 0x21016aa1
jmp 0x21016afa
jmp 0x21016afa
jmp 0x21016afa
jmp 0x21016afa
jmp 0x21016afa
jmp 0x21016afa
jmp 0x21016afa
mov esp, ebp
pop ebp
ret