Function at 0x100133800
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.1001331fc
lea r15, [0x1001653b8]
cmp eax, r12d
mov ebx, eax
jl 0x100133b54
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 0x10013389a
movzx eax, word [r8 + rcx]
cmp ax, r12w
je 0x10013389a
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x100133876
cmp rdx, r12
jne 0x1001338a8
sub rcx, 2
mov ebx, 0x8007007a
cmp ebx, r12d
mov word [rcx], r12w
jl 0x100133b54
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x100133975
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10013391c
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100133b45
test byte [rcx + 0x1c], 1
je 0x100133b45
cmp byte [rcx + 0x19], 5
jb 0x100133b45
lea edx, [rsi + 0x1a]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e50]
call fcn.10001c854
jmp 0x100133b3e
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100133b45
test byte [rcx + 0x1c], 1
je 0x100133b45
cmp byte [rcx + 0x19], 2
jb 0x100133b45
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x290]
lea r8, [0x100002e50]
mov edx, 0x1a
mov dword [rsp + 0x20], ebx
call fcn.10001ddb0
jmp 0x100133b3e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x100002934]
lea rcx, [rsp + 0x290]
mov rdx, r13
call fcn.100059424
cmp eax, r12d
mov ebx, eax
jl 0x100133b54
lea r8, [0x100014798]
lea rcx, [rsp + 0x290]
mov rdx, r13
call fcn.100059424
cmp eax, r12d
mov ebx, eax
jl 0x100133b54
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x100133a2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1001653b8]
cmp eax, 2
je 0x100133a04
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
jmp 0x100133b45
cmp rcx, r15
je 0x100133b45
test byte [rcx + 0x1c], 1
je 0x100133b45
cmp byte [rcx + 0x19], 5
jb 0x100133b45
mov edx, 0x1b
jmp 0x100133907
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 0x100133a6c
movzx eax, word [rdi + rcx]
cmp ax, r12w
je 0x100133a6c
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x100133a49
cmp rdx, r12
jne 0x100133a7a
sub rcx, 2
mov ebx, 0x8007007a
cmp ebx, r12d
mov word [rcx], r12w
jl 0x100133b3e
lea r8, [0x100002934]
lea rcx, [rsp + 0x4a0]
mov rdx, r13
call fcn.100059424
cmp eax, r12d
mov ebx, eax
jl 0x100133b3e
lea r8, [rsp + 0x6c]
lea rcx, [rsp + 0x4a0]
mov rdx, r13
call fcn.100059424
cmp eax, r12d
mov ebx, eax
jl 0x100133b3e
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, r12d
jne 0x100133b0d
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100133b0d
test byte [rcx + 0x1c], 1
je 0x100133b0d
cmp byte [rcx + 0x19], 2
jb 0x100133b0d
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x4a0]
lea r8, [0x100002e50]
mov edx, 0x1c
call fcn.10001db08
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r12d
jne 0x100133a3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100133b3e
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
mov rcx, qword [0x1001653b8]
cmp rsi, 0xffffffffffffffff
je 0x100133b5b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x1001653b8]
cmp qword [rsp + 0x30], r12
je 0x100133b74
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp ebx, r12d
jge 0x100133ba2
cmp rcx, r15
je 0x100133ba2
test byte [rcx + 0x1c], 1
je 0x100133ba2
cmp byte [rcx + 0x19], 2
jb 0x100133ba2
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e50]
mov edx, 0x1d
mov r9d, ebx
call fcn.10001c878
mov eax, ebx
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.10014e600
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