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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r14, r8
mov rbx, rdx
mov r8, rcx
mov r12, rcx
lea rcx, [rbp + 0x380]
mov edx, 0x104
mov r15d, r9d
call fcn.14002d4b4
lea r8, [0x14005e660]
mov edx, 0x104
lea rcx, [rbp + 0x380]
call fcn.14002d51c
mov r8, r12
lea rcx, [rbp + 0x170]
mov edx, 0x104
call fcn.14002d4b4
lea r8, [0x14005e674]
mov edx, 0x104
lea rcx, [rbp + 0x170]
call fcn.14002d51c
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140014380
lea r8, [rbp + 0x170]
mov edx, 0x104
lea rcx, [rbp + 0x380]
call fcn.14002d4b4
mov edi, 1
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400142e2
movzx ecx, word [rsp + 0x4c]
cmp cx, word [0x14005e668]
movzx eax, word [rsp + 0x4e]
jne 0x1400141b2
cmp ax, word [0x14005e66a]
je 0x140014180
cmp cx, word [0x14005e66c]
jne 0x1400141d2
cmp ax, word [0x14005e66e]
jne 0x1400141d2
movzx eax, word [rsp + 0x50]
cmp ax, word [0x14005e670]
je 0x140014180
lea r8, [rsp + 0x4c]
mov edx, 0x104
lea rcx, [rbp + 0x170]
call fcn.14002d51c
test byte [rsp + 0x20], 0x10
lea rcx, [rbp + 0x170]
je 0x140014295
lea r9d, [r15 + 1]
mov r8, r14
mov rdx, rbx
call fcn.1400140b0
test eax, eax
jne 0x14001422e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x14001422a
lea rdx, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edi, edi
jmp 0x14001429f
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001429f
xor edx, edx
lea rcx, [rbp + 0x590]
mov r8d, 0x208
call fcn.140026cc0
lea r9, [rbp + 0x170]
lea r8, str.RemoveDirectory_fail__s
lea rdx, [rbp + 0x590]
lea rcx, [0x140077e88]
call fcn.1400049f0
mov rcx, rbx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x14001429f
lea rdx, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x14001429f
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400142bc
lea r8, [rbp + 0x380]
mov edx, 0x104
lea rcx, [rbp + 0x170]
call fcn.14002d4b4
jmp 0x140014180
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1400142d9
lea rdx, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [r14], 1
jmp 0x140014377
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x140014364
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x140014380
test r15d, r15d
jne 0x140014360
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
jne 0x140014360
xor edx, edx
lea rcx, [rbp + 0x590]
mov r8d, 0x208
call fcn.140026cc0
lea r9, [rbp + 0x170]
lea r8, str.RemoveDirectory_fail__s
lea rdx, [rbp + 0x590]
lea rcx, [0x140077e88]
call fcn.1400049f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x140014360
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, edi
jmp 0x140014382
lea rdx, str.__DeleteFile_fail
lea rcx, [0x140077e88]
call fcn.140004ef0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140023e40
add rsp, 0x8b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret