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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x3b8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov rdx, qword [rsp + 0x3c0]
lea rcx, [rsp + 0xd0]
call fcn.140015150
nop
lea rcx, [rsp + 0xd0]
call fcn.14002a240
lea rdx, [0x14030c7b8]
lea rcx, [rsp + 0xd0]
call fcn.14001efd0
lea rcx, [rsp + 0xd0]
call fcn.14000c690
lea rdx, [rsp + 0x150]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400f47cf
lea rdx, [rsp + 0x17c]
lea rcx, [rsp + 0x90]
call fcn.1400179b0
nop
lea rdx, [0x14030c7bc]
lea rcx, [rsp + 0x90]
call fcn.14003a7a0
movzx eax, al
test eax, eax
jne 0x1400f4535
lea rdx, [0x14030c7c0]
lea rcx, [rsp + 0x90]
call fcn.14003a7a0
movzx eax, al
test eax, eax
je 0x1400f4547
lea rcx, [rsp + 0x90]
call fcn.14000a800
jmp 0x1400f47a9
cmp dword [rsp + 0x150], 0x10
je 0x1400f465c
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x3c0]
lea rcx, [rsp + 0xf0]
call fcn.140025010
nop
lea rcx, [rsp + 0xf0]
call fcn.14000c690
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400f464a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.1400f1950
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001e490
lea rcx, [rsp + 0xf0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001e490
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
lea rdx, [0x14030c7c8]
mov rcx, qword [rsp + 0x3c8]
call fcn.14001d950
nop
lea rcx, [rsp + 0x110]
call fcn.14000a800
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0xf0]
call fcn.14000a800
nop
lea rcx, [rsp + 0x90]
call fcn.14000a800
nop
lea rcx, [rsp + 0xd0]
call fcn.14000a800
movzx eax, byte [rsp + 0x20]
jmp 0x1400f47e6
lea rcx, [rsp + 0xf0]
call fcn.14000a800
jmp 0x1400f479c
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x3c0]
lea rcx, [rsp + 0xb0]
call fcn.140025010
nop
lea rcx, [rsp + 0xb0]
call fcn.14002a240
mov rdx, qword [rsp + 0x3c8]
lea rcx, [rsp + 0xb0]
call fcn.1400f4460
mov rcx, qword [rsp + 0x3c8]
call fcn.1400165c0
movzx eax, al
test eax, eax
je 0x1400f478e
lea rcx, [rsp + 0xb0]
call fcn.14000c690
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400f478e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x130]
call fcn.1400f1950
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001e490
lea rcx, [rsp + 0xb0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14001e490
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x80]
lea rdx, str.Failed_to_delete___S____S_
mov rcx, qword [rsp + 0x3c8]
call fcn.14001d950
nop
lea rcx, [rsp + 0x130]
call fcn.14000a800
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0xb0]
call fcn.14000a800
nop
lea rcx, [rsp + 0x90]
call fcn.14000a800
nop
lea rcx, [rsp + 0xd0]
call fcn.14000a800
movzx eax, byte [rsp + 0x21]
jmp 0x1400f47e6
lea rcx, [rsp + 0xb0]
call fcn.14000a800
nop
lea rcx, [rsp + 0x90]
call fcn.14000a800
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400f44e9
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0xd0]
call fcn.14000a800
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x3b8
ret