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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rdi, rcx
xor r14d, r14d
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.180007a70
nop
lea rax, [rsp + 0x40]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
cmova rax, r8
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x1800c61f4
cmp rcx, rdx
jae 0x1800c61c9
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 7
cmova rax, r8
mov dword [rax + rcx*2], 0x5c
jmp 0x1800c61e5
mov r9d, 0x5c
movzx r8d, byte [rbp + 0x218]
lea edx, [r9 - 0x5b]
lea rcx, [rsp + 0x40]
call fcn.1800c6de0
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rcx
cmp rax, 3
jb 0x1800c64a7
lea r9, [rsp + 0x40]
cmp rdx, 7
cmova r9, r8
mov qword [rsp + 0x30], 3
lea rax, [0x180181fc8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.180009f30
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800c63ee
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, 0x2e
jne 0x1800c629c
test ax, ax
je 0x1800c6369
cmp cx, cx
jne 0x1800c629c
cmp ax, cx
jne 0x1800c629c
cmp word [rbp - 0x30], 0
je 0x1800c6369
lea rcx, [rbp - 0x34]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800c62b0
mov rcx, rsi
mov rdx, qword [rsp + 0x50]
sub rcx, rdx
cmp rcx, rax
jb 0x1800c64a1
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x60]
call fcn.180009f30
nop
lea rcx, [rsp + 0x60]
test byte [rbp - 0x60], 0x10
je 0x1800c6311
call fcn.1800c6150
test al, al
jmp 0x1800c6325
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800c63a2
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1800c6369
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6364
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c64ad
call fcn.1800d9c1c
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800c6270
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rdi + 0x18], 7
jbe 0x1800c6391
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1800c63ee
mov bl, 1
jmp 0x1800c63f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1800c63ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c63e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c64ad
call fcn.1800d9c1c
xor bl, bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x1800c6430
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c642b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c64b3
call fcn.1800d9c1c
movdqa xmm0, xmmword [0x1801872a0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1800c6480
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c647b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c649b
call fcn.1800d9c1c
movzx eax, bl
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800e5f80
nop
call fcn.180003590
nop
call fcn.180003590
nop
call fcn.1800e5f80
nop
call fcn.1800e5f80
int3