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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14005a4a8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, rcx
xor esi, esi
mov r14d, esi
mov dword [rsp + 0x30], esi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], si
mov r9, rcx
cmp qword [rcx + 0x18], 8
jb 0x140013081
mov r9, qword [rcx]
mov rbx, qword [rcx + 0x10]
lea rcx, [rbp - 0x68]
cmp rbx, 7
ja 0x1400130a6
mov qword [rbp - 0x58], rbx
lea r8, [rbx + rbx]
mov rdx, r9
call fcn.140024d40
mov word [rbp + rbx*2 - 0x68], si
jmp 0x1400130b6
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rbx
call fcn.14000ec90
mov rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x50]
mov rax, r8
sub rax, rdx
mov ecx, 2
cmp rax, rcx
jb 0x1400130f0
lea rcx, [rdx + 2]
mov qword [rbp - 0x58], rcx
lea rax, [rbp - 0x68]
cmp r8, 8
cmovae rax, qword [rbp - 0x68]
mov dword [rax + rdx*2], 0x2a005c
mov word [rax + rcx*2], si
jmp 0x14001310b
mov qword [rsp + 0x20], rcx
lea r9, [0x140043458]
xor r8d, r8d
mov rdx, rcx
lea rcx, [rbp - 0x68]
call fcn.14000ec90
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1400134c5
mov r12d, 1
mov edi, 0x5c
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], si
mov r9, r15
cmp qword [r15 + 0x18], 8
jb 0x140013159
mov r9, qword [r15]
mov rbx, qword [r15 + 0x10]
lea rcx, [rsp + 0x78]
cmp rbx, 7
ja 0x14001317f
mov qword [rbp - 0x78], rbx
lea r8, [rbx + rbx]
mov rdx, r9
call fcn.140024d40
mov word [rsp + rbx*2 + 0x78], si
jmp 0x14001318f
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rbx
call fcn.14000ec90
mov rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x70]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x1400131c4
lea rcx, [rdx + 1]
mov qword [rbp - 0x78], rcx
lea rax, [rsp + 0x78]
cmp r8, 8
cmovae rax, qword [rsp + 0x78]
mov word [rax + rdx*2], di
mov word [rax + rcx*2], si
jmp 0x1400131e0
mov qword [rsp + 0x20], r12
lea r9, [0x140042f84]
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.14000ec90
lea rax, [rbp - 0x14]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400131f0
mov rcx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x70]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x14001323b
lea rdi, [rcx + rdx]
mov qword [rbp - 0x78], rdi
lea rbx, [rsp + 0x78]
cmp r8, 8
cmovae rbx, qword [rsp + 0x78]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
lea rdx, [rbp - 0x14]
call fcn.140024d40
mov word [rbx + rdi*2], si
jmp 0x140013251
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x14]
xor r8d, r8d
lea rcx, [rsp + 0x78]
call fcn.14000ec90
test byte [rbp - 0x40], 0x10
je 0x140013534
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
lea rax, [rbp - 0x14]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140013280
lea rdx, [rbp - 0x14]
lea rcx, [rsp + 0x58]
call fcn.1400015f0
nop
or r14d, 1
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x58]
mov rdi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x70]
cmp r12, 8
cmovae r8, rdi
mov r9, qword [rsp + 0x68]
mov rdx, r9
cmp r9, 1
mov eax, 1
cmova rdx, rax
lea rax, [0x14004318c]
mov rcx, rax
test rdx, rdx
je 0x1400132f5
sub r8, rax
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1400132ff
add rcx, 2
sub rdx, 1
jne 0x1400132e1
cmp r9, 1
je 0x14001339e
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], si
lea rax, [rbp - 0x14]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140013320
lea rdx, [rbp - 0x14]
lea rcx, [rsp + 0x38]
call fcn.1400015f0
or r14d, 2
lea r8, [rsp + 0x38]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x50]
cmp r10, 8
cmovae r8, r9
mov r11, qword [rsp + 0x48]
mov rdx, r11
cmp r11, 2
mov eax, 2
cmova rdx, rax
lea rax, [0x140043460]
mov rcx, rax
test rdx, rdx
je 0x140013394
sub r8, rax
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14001339a
add rcx, 2
sub rdx, 1
jne 0x140013380
cmp r11, 2
je 0x1400133a8
mov bl, 1
jmp 0x1400133aa
mov r10, qword [rsp + 0x50]
mov r9, qword [rsp + 0x38]
xor bl, bl
test r14b, 2
je 0x1400133f5
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
cmp r10, 8
jb 0x1400133f5
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400133ec
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001355b
mov rcx, r9
call fcn.1400229fc
nop
test r14b, 1
je 0x14001343b
and r14d, 0xfffffffe
cmp r12, 8
jb 0x14001343b
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140013432
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013561
mov rcx, rdi
call fcn.1400229fc
nop
test bl, bl
je 0x140013449
lea rcx, [rsp + 0x78]
call fcn.140013020
mov r12d, 1
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140013491
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001348b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001354f
call fcn.1400229fc
nop
lea rdx, [rbp - 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140013136
cmp qword [r15 + 0x18], 8
jb 0x1400134b0
mov r15, qword [r15]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov esi, r12d
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140013502
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400134fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013555
call fcn.1400229fc
nop
mov eax, esi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140022dc0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001344f
call fcn.1400294dc
nop
call fcn.1400294dc
nop
call fcn.1400294dc
nop
call fcn.1400294dc
int3