Function at 0x140006410
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 r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14000d010]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movabs r14, 0x7fffffffffffffff
mov rax, r14
sub rax, rcx
cmp rax, 2
jb 0x1400066f8
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140006474
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
lea rax, [0x140009438]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.140005d80
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400064f6
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400064f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006dbc
movdqa xmm0, xmmword [0x1400097b0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], sil
cmp rdi, 0xffffffffffffffff
jne 0x14000653d
xor al, al
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140006c40
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r15, [0x1400088d0]
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 1
jb 0x1400066fe
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140006571
mov r9, qword [rbx]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x68]
call fcn.140005d80
nop
lea rax, [rbp - 0x24]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400065a0
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x68]
call fcn.1400050e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140006621
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000661c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400066ea
call fcn.140006dbc
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
test byte [rbp - 0x50], 0x10
je 0x140006663
movzx ecx, byte [rbp - 0x24]
movzx eax, byte [rbp - 0x23]
cmp cl, 0x2e
jne 0x140006658
test al, al
je 0x140006678
cmp cl, cl
jne 0x140006658
cmp al, cl
jne 0x140006658
cmp byte [rbp - 0x22], 0
je 0x140006678
lea rcx, [rbp - 0x78]
call fcn.140006410
jmp 0x140006678
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400066af
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400066f1
call fcn.140006dbc
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140006550
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbx + 0x18], 0x10
jb 0x1400066d7
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
jmp 0x140006511
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400011b0
int3
call fcn.1400011b0
int3