Function at 0x140130ae4
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push rbp
push r13
push r14
lea rbp, [rax - 0x5d8]
sub rsp, 0x6c0
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14013134c
lea r12, [0x140173048]
mov ebx, eax
lea r13, [0x140161e08]
test eax, eax
js 0x140130dda
mov r8, qword [rsp + 0x30]
lea rcx, [rbp + 0x190]
mov r14d, 0x104
mov edx, r14d
call fcn.140006530
mov ebx, eax
test eax, eax
js 0x140130dda
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
cmp rax, 0xffffffffffffffff
jne 0x140130c24
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x140130bce
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x140130de1
test byte [rcx + 0x1c], 1
je 0x140130de1
cmp byte [rcx + 0x19], 5
jb 0x140130de1
lea edx, [rax + 0x17]
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.14000c328
jmp 0x140130dda
test eax, eax
jg 0x140130bd6
mov ebx, eax
jmp 0x140130bdf
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x140130de1
test byte [rcx + 0x1c], 1
je 0x140130de1
cmp byte [rcx + 0x19], 2
jb 0x140130de1
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x190]
mov edx, 0x1a
mov dword [rsp + 0x20], ebx
mov r8, r13
call fcn.1400151b8
jmp 0x140130dda
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
lea r8, [0x14014ff70]
mov rdx, r14
lea rcx, [rbp + 0x190]
call fcn.14005655c
mov ebx, eax
test eax, eax
js 0x140130dda
lea r8, str.WsbMountedVolumeFile
mov rdx, r14
lea rcx, [rbp + 0x190]
call fcn.14005655c
mov ebx, eax
test eax, eax
js 0x140130dda
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140130cec
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
cmp eax, 2
je 0x140130cc5
test eax, eax
jg 0x140130cb7
mov ebx, eax
jmp 0x140130de1
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140130de1
cmp rcx, r12
je 0x140130de1
test byte [rcx + 0x1c], 1
je 0x140130de1
cmp byte [rcx + 0x19], 5
jb 0x140130de1
mov edx, 0x1b
jmp 0x140130bbd
mov r8, qword [rsp + 0x30]
lea rcx, [rbp + 0x3a0]
mov rdx, r14
call fcn.140006530
mov ebx, eax
test eax, eax
js 0x140130dcb
lea r8, [0x14014ff70]
mov rdx, r14
lea rcx, [rbp + 0x3a0]
call fcn.14005655c
mov ebx, eax
test eax, eax
js 0x140130dcb
lea r8, [rsp + 0x6c]
mov rdx, r14
lea rcx, [rbp + 0x3a0]
call fcn.14005655c
mov ebx, eax
test eax, eax
js 0x140130dcb
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140130d8d
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x140130d8d
test byte [rcx + 0x1c], 1
je 0x140130d8d
cmp byte [rcx + 0x19], 2
jb 0x140130d8d
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1c]
lea r9, [rbp + 0x3a0]
mov r8, r13
call fcn.140015150
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140130cec
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140130dcb
test eax, eax
jg 0x140130dc2
mov ebx, eax
jmp 0x140130dcb
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
cmp qword [rsp + 0x30], 0
je 0x140130e01
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test ebx, ebx
jns 0x140130e2a
cmp rcx, r12
je 0x140130e2a
test byte [rcx + 0x1c], 1
je 0x140130e2a
cmp byte [rcx + 0x19], 2
jb 0x140130e2a
mov rcx, qword [rcx + 0x10]
mov edx, 0x1d
mov r9d, ebx
mov r8, r13
call fcn.14000c354
mov eax, ebx
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140007410
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop rbp
ret