Function at 0x2101485f
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 0x104
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x210148b9
cmp dword [ebp + 0x10], 0
jne 0x210148b4
push str.could_not_allocate_MAX_PATH_buffer
call fcn.21010778
jmp 0x21014bc1
push 0x140
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x210148ea
cmp dword [ebp + 0x10], 0
jne 0x210148e5
push str.could_not_allocate_WIN32_FIND_DATA
call fcn.21010778
jmp 0x21014bbf
push 0x104
mov edx, dword [ebp - 0xc]
push edx
push 0x21080020
mov eax, dword [ebp + 8]
push eax
call fcn.210134f1
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 0x2101491d
jmp 0x21014bbd
push 0x21080024
mov eax, dword [ebp - 0x14]
add eax, 0x2c
push eax
call fcn.21053d00
add esp, 8
test eax, eax
je 0x21014959
push 0x21080028
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
push ecx
call fcn.21053d00
add esp, 8
test eax, eax
je 0x21014959
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
and eax, 0x10
test eax, eax
je 0x2101495e
jmp 0x210149f4
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.210134f1
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.210146fc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x210149c3
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 0x130]
test eax, eax
je 0x210149c3
push 0x104
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.210134f1
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.210146fc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x210149f4
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp + 0x10], 0
jne 0x210149f4
call fcn.21011695
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x2721
call fcn.210106a9
add esp, 0xc
jmp 0x21014bbb
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 0x21014a28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x21014a13
jmp 0x21014a2d
cmp dword [ebp + 0x10], 0
jne 0x21014a23
push 0x2108002c
call fcn.210107ec
jmp 0x21014bb9
jmp 0x2101491d
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 0x21014a50
mov dword [ebp - 0x10], 1
jmp 0x21014bb7
push 0x104
mov ecx, dword [ebp - 0xc]
push ecx
push 0x2108003c
mov edx, dword [ebp + 8]
push edx
call fcn.210134f1
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 0x21014a83
jmp 0x21014bb5
push 0x21080040
mov edx, dword [ebp - 0x14]
add edx, 0x2c
push edx
call fcn.21053d00
add esp, 8
test eax, eax
jne 0x21014aa0
jmp 0x21014bb0
push 0x21080044
mov eax, dword [ebp - 0x14]
add eax, 0x2c
push eax
call fcn.21053d00
add esp, 8
test eax, eax
jne 0x21014abd
jmp 0x21014bab
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.210134f1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
and edx, 0x10
test edx, edx
jne 0x21014ae7
jmp 0x21014ba6
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.21014849
test eax, eax
jne 0x21014afb
jmp 0x21014ba4
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 0x21014b2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x21014b1a
jmp 0x21014b31
cmp dword [ebp + 0x10], 0
jne 0x21014b2a
push str.FindNextFile
call fcn.210107ec
jmp 0x21014ba2
jmp 0x21014a83
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 0x21014b4a
jmp 0x21014ba0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0xffffffff
je 0x21014b61
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x10], 0
je 0x21014b77
cmp dword [ebp + 0xc], 0
jne 0x21014b77
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.210636ec
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.210636ec
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x21014bc3
jmp 0x21014b51
jmp 0x21014b51
jmp 0x21014b51
jmp 0x21014afb
jmp 0x21014afb
jmp 0x21014afb
jmp 0x21014b51
jmp 0x21014b51
jmp 0x21014b51
jmp 0x21014b51
jmp 0x21014b51
jmp 0x21014b51
jmp 0x21014b51
mov esp, ebp
pop ebp
ret 0xc