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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x278]
sub rsp, 0x360
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1406ca7c8]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov byte [rsp + 0x21], dl
mov rsi, rcx
xor edi, edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
lea eax, [rdi + 7]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
cmp qword [rcx + 0x10], rdi
je 0x140013e29
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
lea r8d, [rdi + 1]
lea rdx, [0x1403ca4e4]
lea rcx, [rsp + 0x38]
call fcn.140009144
nop
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140012940
mov rbx, rax
lea rax, [rsp + 0x78]
cmp rax, rbx
je 0x140013bdb
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x78]
call fcn.140008e38
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140009900
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.140008e38
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140008e38
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x140013e29
mov byte [rsp + 0x20], 1
lea rdx, [rbp]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140013db3
cmp word [rbp + 0x2c], di
jne 0x140013c4a
mov r8, rdi
jmp 0x140013c5c
lea rax, [rbp + 0x2c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140013c52
lea rdx, [rbp + 0x2c]
lea rcx, [rsp + 0x58]
call fcn.140009144
lea rdx, [0x140590d80]
lea rcx, [rsp + 0x58]
call fcn.1400116d8
test eax, eax
je 0x140013dc7
lea rdx, [0x140590d78]
lea rcx, [rsp + 0x58]
call fcn.1400116d8
test eax, eax
je 0x140013dc7
test byte [rbp], 0x10
je 0x140013ce8
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140012940
nop
mov dl, byte [rsp + 0x21]
mov rcx, rax
call fcn.140013af8
test al, al
sete bl
lea rcx, [rbp - 0x68]
xor r8d, r8d
mov dl, 1
call fcn.140008e38
test bl, bl
jne 0x140013dd4
mov rbx, qword [rsp + 0x28]
jmp 0x140013dc7
test byte [rbp], 1
je 0x140013d29
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140012940
nop
cmp qword [rax + 0x18], 8
jb 0x140013d0d
mov rax, qword [rax]
mov edx, 0x80
mov rcx, rax
call fcn.14025ae48
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x48]
call fcn.140008e38
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.140012940
nop
cmp qword [rax + 0x18], 8
jb 0x140013d48
mov rax, qword [rax]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
cmp word [rax], di
jne 0x140013d6f
mov r8, rdi
jmp 0x140013d7d
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140013d73
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140009144
nop
lea rcx, [rsp + 0x38]
call fcn.140014070
test al, al
sete bl
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140008e38
nop
lea rcx, [rbp - 0x28]
jmp 0x140013ccc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x140013e1f
mov al, dil
mov byte [rsp + 0x20], al
jmp 0x140013dcb
mov al, byte [rsp + 0x20]
test al, al
je 0x140013ddb
jmp 0x140013c2a
mov rcx, qword [rsp + 0x28]
jmp 0x140013e22
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rsp + 0x21], dil
je 0x140013e1a
mov ebx, edi
cmp qword [rsi + 0x18], 8
jb 0x140013df9
mov rcx, qword [rsi]
jmp 0x140013dfc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140013e1a
cmp ebx, 2
jg 0x140013e29
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x140013ded
mov dil, 1
jmp 0x140013e29
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.140008e38
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x78]
call fcn.140008e38
mov al, dil
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14024cd60
mov rbx, qword [rsp + 0x390]
add rsp, 0x360
pop rdi
pop rsi
pop rbp
ret