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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r15
lea rbp, [rax - 0x5d8]
sub rsp, 0x6c0
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
xor r15d, r15d
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r15
call fcn.14013631c
lea r13, [0x14017a048]
mov ebx, eax
test eax, eax
js 0x140135d9c
mov r8, qword [rsp + 0x30]
lea rax, [rbp + 0x190]
mov r12d, 0x104
lea rcx, [rbp + 0x190]
mov edx, r12d
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140135aac
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140135aac
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140135a89
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test rdx, rdx
je 0x140135d9c
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
cmp rax, 0xffffffffffffffff
jne 0x140135b9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x140135b43
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140135da3
test byte [rcx + 0x1c], 1
je 0x140135da3
cmp byte [rcx + 0x19], 5
jb 0x140135da3
lea edx, [rax + 0x17]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169608]
call fcn.140006b98
jmp 0x140135d9c
test eax, eax
jg 0x140135b4b
mov ebx, eax
jmp 0x140135b54
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140135da3
test byte [rcx + 0x1c], 1
je 0x140135da3
cmp byte [rcx + 0x19], 2
jb 0x140135da3
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x190]
mov edx, 0x1a
mov dword [rsp + 0x20], ebx
lea r8, [0x140169608]
call fcn.140011330
jmp 0x140135d9c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
lea r8, [0x140157a78]
mov rdx, r12
lea rcx, [rbp + 0x190]
call fcn.14005485c
mov ebx, eax
test eax, eax
js 0x140135d9c
lea r8, str.WsbMountedVolumeFile
mov rdx, r12
lea rcx, [rbp + 0x190]
call fcn.14005485c
mov ebx, eax
test eax, eax
js 0x140135d9c
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140135c65
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp eax, 2
je 0x140135c3e
test eax, eax
jg 0x140135c30
mov ebx, eax
jmp 0x140135da3
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140135da3
cmp rcx, r13
je 0x140135da3
test byte [rcx + 0x1c], 1
je 0x140135da3
cmp byte [rcx + 0x19], 5
jb 0x140135da3
mov edx, 0x1b
jmp 0x140135b2e
mov rdi, qword [rsp + 0x30]
lea rax, [rbp + 0x3a0]
sub rdi, rax
mov rdx, r12
lea rcx, [rbp + 0x3a0]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140135ca0
movzx eax, word [rdi + rcx]
test ax, ax
je 0x140135ca0
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140135c7e
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test rdx, rdx
je 0x140135d8d
lea r8, [0x140157a78]
mov rdx, r12
lea rcx, [rbp + 0x3a0]
call fcn.14005485c
mov ebx, eax
test eax, eax
js 0x140135d8d
lea r8, [rsp + 0x6c]
mov rdx, r12
lea rcx, [rbp + 0x3a0]
call fcn.14005485c
mov ebx, eax
test eax, eax
js 0x140135d8d
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140135d4f
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140135d4f
test byte [rcx + 0x1c], 1
je 0x140135d4f
cmp byte [rcx + 0x19], 2
jb 0x140135d4f
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1c]
lea r9, [rbp + 0x3a0]
lea r8, [0x140169608]
call fcn.1400112c8
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140135c74
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140135d8d
test eax, eax
jg 0x140135d84
mov ebx, eax
jmp 0x140135d8d
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp qword [rsp + 0x30], r15
je 0x140135dc2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test ebx, ebx
jns 0x140135def
cmp rcx, r13
je 0x140135def
test byte [rcx + 0x1c], 1
je 0x140135def
cmp byte [rcx + 0x19], 2
jb 0x140135def
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169608]
mov edx, 0x1d
mov r9d, ebx
call fcn.140006bc4
mov eax, ebx
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140001d90
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret