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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x138]
sub rsp, 0x230
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18005d0e0]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rdx, qword [rcx]
mov qword [rsp + 0x50], sendto
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x38]
call fcn.180001660
nop
mov rax, qword [rsp + 0x48]
lea rcx, [rax - 1]
cmp rax, rcx
ja 0x180020db5
lea rcx, str.invalid_string_position
call fcn.18002f578
int3
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
cmp byte [rax + rcx], 0x5c
je 0x180020dd6
lea rcx, [rsp + 0x38]
call fcn.1800237e0
lea r8, [0x18004e32c]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.180023c10
cmp qword [rax + 0x18], 0x10
jb 0x180020df6
mov rax, qword [rax]
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp qword [rsp + 0x78], 0x10
jb 0x180020e18
mov rcx, qword [rsp + 0x60]
call fcn.18002f934
mov qword [rsp + 0x78], sendto
mov qword [rsp + 0x70], 0
mov byte [rsp + 0x60], 0
cmp rdi, 0xffffffffffffffff
jne 0x180020e80
cmp qword [rsp + 0x50], 0x10
jb 0x180020e47
mov rcx, qword [rsp + 0x38]
call fcn.18002f934
mov qword [rsp + 0x50], sendto
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x180020e79
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor al, al
jmp 0x180020f95
test byte [rbp - 0x20], 0x10
je 0x180020ef2
lea rdx, [0x18004e668]
lea rcx, [rbp + 0xc]
call fcn.180031db8
test eax, eax
je 0x180020f27
lea rdx, [0x18004e828]
lea rcx, [rbp + 0xc]
call fcn.180031db8
test eax, eax
je 0x180020f27
lea r8, [rbp + 0xc]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.180023c10
nop
cmp qword [rax + 0x18], 0x10
jb 0x180020ecf
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180001580
mov rcx, rax
call fcn.180020d20
nop
cmp qword [rbp - 0x60], 0x10
jb 0x180020f27
mov rcx, qword [rbp - 0x78]
jmp 0x180020f22
lea r8, [rbp + 0xc]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.180023c10
cmp qword [rax + 0x18], 0x10
jb 0x180020f0e
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp qword [rbp - 0x38], 0x10
jb 0x180020f27
mov rcx, qword [rbp - 0x50]
call fcn.18002f934
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180020e80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
nop
cmp qword [rsp + 0x50], 0x10
jb 0x180020f61
mov rcx, qword [rsp + 0x38]
call fcn.18002f934
mov qword [rsp + 0x50], sendto
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x180020f93
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov al, 1
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.18002f950
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret