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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r13
push r15
sub rsp, 0x6c0
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
lea rcx, [rsp + 0x30]
xor r12d, r12d
mov qword [rsp + 0x30], r12
call fcn.1001331b0
lea r15, [0x1001653b8]
cmp eax, r12d
mov ebx, eax
jl 0x100133b08
mov r8, qword [rsp + 0x30]
lea rax, [rsp + 0x290]
mov r13d, 0x104
mov rdx, r13
lea rcx, [rsp + 0x290]
mov ebx, r12d
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, r12
je 0x10013384e
movzx eax, word [r8 + rcx]
cmp ax, r12w
je 0x10013384e
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x10013382a
cmp rdx, r12
jne 0x10013385c
sub rcx, 2
mov ebx, 0x8007007a
cmp ebx, r12d
mov word [rcx], r12w
jl 0x100133b08
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x100133929
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1001338d0
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100133af9
test byte [rcx + 0x1c], 1
je 0x100133af9
cmp byte [rcx + 0x19], 5
jb 0x100133af9
lea edx, [rsi + 0x1a]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e90]
call fcn.10001c7b8
jmp 0x100133af2
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100133af9
test byte [rcx + 0x1c], 1
je 0x100133af9
cmp byte [rcx + 0x19], 2
jb 0x100133af9
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x290]
lea r8, [0x100002e90]
mov edx, 0x1a
mov dword [rsp + 0x20], ebx
call fcn.10001daa4
jmp 0x100133af2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x100002954]
lea rcx, [rsp + 0x290]
mov rdx, r13
call fcn.1000590dc
cmp eax, r12d
mov ebx, eax
jl 0x100133b08
lea r8, [0x100014730]
lea rcx, [rsp + 0x290]
mov rdx, r13
call fcn.1000590dc
cmp eax, r12d
mov ebx, eax
jl 0x100133b08
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1001339df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1001653b8]
cmp eax, 2
je 0x1001339b8
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
jmp 0x100133af9
cmp rcx, r15
je 0x100133af9
test byte [rcx + 0x1c], 1
je 0x100133af9
cmp byte [rcx + 0x19], 5
jb 0x100133af9
mov edx, 0x1b
jmp 0x1001338bb
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x4a0]
sub rdi, rax
mov rdx, r13
lea rcx, [rsp + 0x4a0]
mov ebx, r12d
lea rax, [rdx + 0x7ffffefa]
cmp rax, r12
je 0x100133a20
movzx eax, word [rdi + rcx]
cmp ax, r12w
je 0x100133a20
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1001339fd
cmp rdx, r12
jne 0x100133a2e
sub rcx, 2
mov ebx, 0x8007007a
cmp ebx, r12d
mov word [rcx], r12w
jl 0x100133af2
lea r8, [0x100002954]
lea rcx, [rsp + 0x4a0]
mov rdx, r13
call fcn.1000590dc
cmp eax, r12d
mov ebx, eax
jl 0x100133af2
lea r8, [rsp + 0x6c]
lea rcx, [rsp + 0x4a0]
mov rdx, r13
call fcn.1000590dc
cmp eax, r12d
mov ebx, eax
jl 0x100133af2
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, r12d
jne 0x100133ac1
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100133ac1
test byte [rcx + 0x1c], 1
je 0x100133ac1
cmp byte [rcx + 0x19], 2
jb 0x100133ac1
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x4a0]
lea r8, [0x100002e90]
mov edx, 0x1c
call fcn.10001da24
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r12d
jne 0x1001339ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100133af2
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
mov rcx, qword [0x1001653b8]
cmp rsi, 0xffffffffffffffff
je 0x100133b0f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x1001653b8]
cmp qword [rsp + 0x30], r12
je 0x100133b28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp ebx, r12d
jge 0x100133b56
cmp rcx, r15
je 0x100133b56
test byte [rcx + 0x1c], 1
je 0x100133b56
cmp byte [rcx + 0x19], 2
jb 0x100133b56
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e90]
mov edx, 0x1d
mov r9d, ebx
call fcn.10001c7dc
mov eax, ebx
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.10014e480
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r13
pop r12
ret