Function at 0x1400065f0
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.1400069f0
movzx eax, al
cmp eax, 1
jne 0x140006647
mov dword [rsp + 0x20], 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140009910
mov r9, qword [0x1400256b8]
xor r8d, r8d
mov rdx, qword [rsp + 0x410]
lea rcx, [rsp + 0x30]
call fcn.140009120
nop
lea rcx, str..
call fcn.140015f90
mov qword [rsp + 0x258], rax
mov r8, qword [rsp + 0x258]
lea rdx, str..
lea rcx, [rsp + 0x30]
call fcn.140008ec0
cmp qword [rsp + 0x50], 0x10
jb 0x1400066b7
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x3b8], rax
jmp 0x1400066c4
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 0x140006710
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x1a8], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140009910
mov eax, dword [rsp + 0x1a8]
jmp 0x1400069cb
cmp dword [rsp + 0x58], 0
je 0x14000683d
mov eax, dword [rsp + 0x60]
and eax, 0x10
test eax, eax
je 0x140006821
lea rdx, [0x140025f8c]
lea rcx, [rsp + 0x8c]
call fcn.140016de0
test eax, eax
je 0x140006821
lea rdx, [0x140025f90]
lea rcx, [rsp + 0x8c]
call fcn.140016de0
test eax, eax
je 0x140006821
lea rcx, [rsp + 0x30]
call fcn.140008000
lea r8, [0x14002570c]
mov rdx, qword [rsp + 0x410]
lea rcx, [rsp + 0x1b0]
call fcn.14000d9c0
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.14000d9c0
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.140009120
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1d8]
call fcn.140009910
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1b0]
call fcn.140009910
lea rcx, [rsp + 0x30]
call fcn.1400065f0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x58], eax
jmp 0x140006710
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r11, qword [rsp + 0x410]
cmp qword [r11 + 0x20], 0x10
jb 0x140006870
mov rax, qword [rsp + 0x410]
mov rax, qword [rax + 8]
mov qword [rsp + 0x3d8], rax
jmp 0x140006884
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 0x1400068f6
mov r8, qword [rsp + 0x410]
lea rdx, str.__del_dir_:
lea rcx, [rsp + 0x200]
call fcn.14000d8b0
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.140009910
jmp 0x1400069aa
mov rax, qword [rsp + 0x410]
cmp qword [rax + 0x20], 0x10
jb 0x14000691b
mov rax, qword [rsp + 0x410]
mov rax, qword [rax + 8]
mov qword [rsp + 0x358], rax
jmp 0x14000692f
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.140009910
mov rcx, qword [rsp + 0x358]
call fcn.140015f90
mov qword [rsp + 0x350], rax
mov r8, qword [rsp + 0x350]
mov rdx, qword [rsp + 0x358]
lea rcx, [rsp + 0x228]
call fcn.14000a940
nop
lea rcx, [rsp + 0x228]
call fcn.140006f30
movzx eax, al
mov dword [rsp + 0x20], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x228]
call fcn.140009910
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x250], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140009910
mov eax, dword [rsp + 0x250]
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.140016740
add rsp, 0x408
ret