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

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x6d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
mov rsi, rcx
lea rdx, [r11 - 0x228]
sub rdx, rcx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005e230
lea rcx, [rsp + 0x4b0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005e250
mov eax, dword [0x1400996c0]
mov dword [rcx], eax
movzx eax, word [0x1400996c4]
mov word [rcx + 4], ax
mov rcx, rsi
lea rdx, [rsp + 0x2a0]
sub rdx, rsi
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005e280
lea rcx, [rsp + 0x2a0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005e2a0
mov eax, dword [0x14009a110]
mov dword [rcx], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14005e2d5
xor eax, eax
jmp 0x14005e54f
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x2a0]
mov word [rsp + rcx + 0x4b0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005e2e0
mov dil, 1
mov byte [rsp + 0x20], dil
mov rcx, r14
test dil, dil
je 0x14005e53c
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14005e4ce
lea rcx, [rsp + 0x7c]
call fcn.14005e580
test eax, eax
je 0x14005e330
jmp 0x14005e301
mov rcx, rsi
lea rdx, [rsp + 0x2a0]
sub rdx, rsi
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005e340
lea rcx, [rsp + 0x2a0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005e360
mov eax, dword [0x14009a110]
mov dword [rcx], eax
lea rax, [rsp + 0x2a0]
sub rax, 2
nop
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x14005e380
lea r8, [rsp + 0x7c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x14005e3a0
lea rcx, [rsp + 0x2a0]
test byte [rsp + 0x50], 0x10
je 0x14005e3fe
lea rdx, [0x14009a114]
call fcn.14005e1f0
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor ecx, ecx
nop dword [rax]
movzx eax, word [rsp + rcx + 0x4b0]
mov word [rsp + rcx + 0x2a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005e3e0
jmp 0x14005e537
lea rdx, [0x1400a3ee0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e4ae
lea rdx, str..exd
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e4ae
lea rdx, str..xls
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e4ae
lea rdx, str..xlsx
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e4ae
lea rdx, str..xlsm
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e4ae
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
movzx eax, word [rsp + rcx + 0x4b0]
mov word [rsp + rcx + 0x2a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005e490
jmp 0x14005e537
xor ecx, ecx
movzx eax, word [rsp + rcx + 0x4b0]
mov word [rsp + rcx + 0x2a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005e4b0
jmp 0x14005e301
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14005e4e3
xor dil, dil
mov byte [rsp + 0x20], dil
jmp 0x14005e537
lea rax, [rsp + 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, [0x140099090]
lea rcx, [rsp + 0x28]
call fcn.14000c8e0
mov rbx, rax
lea rdx, str.deleteDirectory_Error:_deleteDirectory_some_error_occured
lea rcx, [rsp + 0x30]
call fcn.14000c8e0
nop
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rax
call fcn.14005c860
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14005e301
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14005e54f
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.1400693e0
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret