Function at 0x14005e000
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 0x14005e040
lea rcx, [rsp + 0x4b0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005e060
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 0x14005e090
lea rcx, [rsp + 0x2a0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005e0b0
mov eax, dword [0x14009a100]
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 0x14005e0e5
xor eax, eax
jmp 0x14005e35f
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 0x14005e0f0
mov dil, 1
mov byte [rsp + 0x20], dil
mov rcx, r14
test dil, dil
je 0x14005e34c
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14005e2de
lea rcx, [rsp + 0x7c]
call fcn.14005e390
test eax, eax
je 0x14005e140
jmp 0x14005e111
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 0x14005e150
lea rcx, [rsp + 0x2a0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005e170
mov eax, dword [0x14009a100]
mov dword [rcx], eax
lea rax, [rsp + 0x2a0]
sub rax, 2
nop
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x14005e190
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 0x14005e1b0
lea rcx, [rsp + 0x2a0]
test byte [rsp + 0x50], 0x10
je 0x14005e20e
lea rdx, [0x14009a104]
call fcn.14005e000
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 0x14005e1f0
jmp 0x14005e347
lea rdx, [0x1400a3ee0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e2be
lea rdx, str..exd
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e2be
lea rdx, str..xls
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e2be
lea rdx, str..xlsx
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e2be
lea rdx, str..xlsm
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14005e2be
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 0x14005e2a0
jmp 0x14005e347
xor ecx, ecx
movzx eax, word [rsp + rcx + 0x4b0]
mov word [rsp + rcx + 0x2a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005e2c0
jmp 0x14005e111
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14005e2f3
xor dil, dil
mov byte [rsp + 0x20], dil
jmp 0x14005e347
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.14000c6f0
mov rbx, rax
lea rdx, str.deleteDirectory_Error:_deleteDirectory_some_error_occured
lea rcx, [rsp + 0x30]
call fcn.14000c6f0
nop
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rax
call fcn.14005c670
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14005e111
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14005e35f
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.1400691f0
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