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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x408
mov qword [rsp + 0x3b0], 0xfffffffffffffffe
mov rax, qword [0x14002e260]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x410]
call fcn.140006a00
movzx eax, al
cmp eax, 1
jne 0x140006657
mov dword [rsp + 0x20], 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140009950
mov r9, qword [0x1400256b8]
xor r8d, r8d
mov rdx, qword [rsp + 0x410]
lea rcx, [rsp + 0x30]
call fcn.140009160
nop
lea rcx, str..
call fcn.140015fd0
mov qword [rsp + 0x258], rax
mov r8, qword [rsp + 0x258]
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.140008f00
cmp qword [rsp + 0x50], 0x10
jb 0x1400066c7
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x3b8], rax
jmp 0x1400066d4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x3b8], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x3b8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + 0x1a0], 0xffffffffffffffff
jne 0x140006720
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x1a8], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140009950
mov eax, dword [rsp + 0x1a8]
jmp 0x1400069db
cmp dword [rsp + 0x58], 0
je 0x14000684d
mov eax, dword [rsp + 0x60]
and eax, 0x10
test eax, eax
je 0x140006831
lea rdx, [0x140025f8c]
lea rcx, [rsp + 0x8c]
call fcn.140016e20
test eax, eax
je 0x140006831
lea rdx, [0x140025f90]
lea rcx, [rsp + 0x8c]
call fcn.140016e20
test eax, eax
je 0x140006831
lea rcx, [rsp + 0x30]
call fcn.140008040
lea r8, [0x14002570c]
mov rdx, qword [rsp + 0x410]
lea rcx, [rsp + 0x1b0]
call fcn.14000da00
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x3c8], rax
lea r8, [rsp + 0x8c]
mov rdx, qword [rsp + 0x3c8]
lea rcx, [rsp + 0x1d8]
call fcn.14000da00
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x3d0]
mov qword [rsp + 0x2d8], rax
mov r9, qword [0x1400256b8]
xor r8d, r8d
mov rdx, qword [rsp + 0x2d8]
lea rcx, [rsp + 0x30]
call fcn.140009160
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1d8]
call fcn.140009950
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1b0]
call fcn.140009950
lea rcx, [rsp + 0x30]
call fcn.140006600
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x58], eax
jmp 0x140006720
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r11, qword [rsp + 0x410]
cmp qword [r11 + 0x20], 0x10
jb 0x140006880
mov rax, qword [rsp + 0x410]
mov rax, qword [rax + 8]
mov qword [rsp + 0x3d8], rax
jmp 0x140006894
mov rax, qword [rsp + 0x410]
add rax, 8
mov qword [rsp + 0x3d8], rax
mov rcx, qword [rsp + 0x3d8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 1
jne 0x140006906
mov r8, qword [rsp + 0x410]
lea rdx, str.__del_dir_:
lea rcx, [rsp + 0x200]
call fcn.14000d8f0
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x3e8], rax
mov rcx, qword [rsp + 0x3e8]
call fcn.1400019b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x200]
call fcn.140009950
jmp 0x1400069ba
mov rax, qword [rsp + 0x410]
cmp qword [rax + 0x20], 0x10
jb 0x14000692b
mov rax, qword [rsp + 0x410]
mov rax, qword [rax + 8]
mov qword [rsp + 0x358], rax
jmp 0x14000693f
mov rax, qword [rsp + 0x410]
add rax, 8
mov qword [rsp + 0x358], rax
lea rax, [rsp + 0x320]
mov qword [rsp + 0x328], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x228]
call fcn.140009950
mov rcx, qword [rsp + 0x358]
call fcn.140015fd0
mov qword [rsp + 0x350], rax
mov r8, qword [rsp + 0x350]
mov rdx, qword [rsp + 0x358]
lea rcx, [rsp + 0x228]
call fcn.14000a980
nop
lea rcx, [rsp + 0x228]
call fcn.140006f40
movzx eax, al
mov dword [rsp + 0x20], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x228]
call fcn.140009950
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x250], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140009950
mov eax, dword [rsp + 0x250]
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.140016780
add rsp, 0x408
ret