Function at 0x1800c6180
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.180007a90
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 0x1800c6224
cmp rcx, rdx
jae 0x1800c61f9
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 0x1800c6215
mov r9d, 0x5c
movzx r8d, byte [rbp + 0x218]
lea edx, [r9 - 0x5b]
lea rcx, [rsp + 0x40]
call fcn.1800c6e10
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 0x1800c64d7
lea r9, [rsp + 0x40]
cmp rdx, 7
cmova r9, r8
mov qword [rsp + 0x30], 3
lea rax, [0x180182018]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.180009f50
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 0x1800c641e
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, 0x2e
jne 0x1800c62cc
test ax, ax
je 0x1800c6399
cmp cx, cx
jne 0x1800c62cc
cmp ax, cx
jne 0x1800c62cc
cmp word [rbp - 0x30], 0
je 0x1800c6399
lea rcx, [rbp - 0x34]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800c62e0
mov rcx, rsi
mov rdx, qword [rsp + 0x50]
sub rcx, rdx
cmp rcx, rax
jb 0x1800c64d1
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.180009f50
nop
lea rcx, [rsp + 0x60]
test byte [rbp - 0x60], 0x10
je 0x1800c6341
call fcn.1800c6180
test al, al
jmp 0x1800c6355
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800c63d2
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1800c6399
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6394
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c64dd
call fcn.1800d9c4c
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800c62a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rdi + 0x18], 7
jbe 0x1800c63c1
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1800c641e
mov bl, 1
jmp 0x1800c6420
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1800c641e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6419
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c64dd
call fcn.1800d9c4c
xor bl, bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x1800c6460
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c645b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c64e3
call fcn.1800d9c4c
movdqa xmm0, xmmword [0x180187330]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1800c64b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c64ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c64cb
call fcn.1800d9c4c
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.1800e5fb0
nop
call fcn.1800035b0
nop
call fcn.1800035b0
nop
call fcn.1800e5fb0
nop
call fcn.1800e5fb0
int3