Function at 0x1400b8100
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r13
push r14
mov rbp, rsp
sub rsp, 0x50
mov r14b, dl
mov rdi, rcx
test rcx, rcx
jne 0x1400b813e
lea r8, [0x14000a9c0]
lea rcx, [0x14000a8e0]
mov edx, 0x2b9
call fcn.1400a8be8
mov rcx, qword [0x14017d3a8]
lea r13, [0x14017d3a8]
cmp rcx, r13
je 0x1400b8172
test byte [rcx + 0x1c], 1
je 0x1400b8172
cmp byte [rcx + 0x19], 4
jb 0x1400b8172
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000aa00]
mov edx, 0x27
call fcn.14001dd24
xor ebx, ebx
xor eax, eax
xor esi, esi
and qword [rbp + 0x20], rbx
and dword [rbp - 0x20], ebx
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
test r14b, r14b
je 0x1400b8285
lea r8, [rbp + 0x20]
lea edx, [rbx + 1]
lea rcx, [0x140002620]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x1400b8206
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x1400b8319
test byte [rcx + 0x1c], 1
je 0x1400b8319
cmp byte [rcx + 0x19], 3
jb 0x1400b8319
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x28]
lea r9, [0x140002620]
lea r8, [0x14000aa00]
mov dword [rsp + 0x20], ebx
call fcn.14001ecbc
jmp 0x1400b8312
mov rax, qword [rbp + 0x20]
and dword [rbp - 0x10], ebx
mov rcx, rdi
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], 0x18
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, reloc.ADVAPI32.dll_TraceEvent
je 0x1400b82e6
test al, 0x10
je 0x1400b8285
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400b8388
mov ebx, eax
test eax, eax
jns 0x1400b8285
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x1400b827e
test byte [rcx + 0x1c], 1
je 0x1400b827e
cmp byte [rcx + 0x19], 3
jb 0x1400b827e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000aa00]
mov edx, 0x29
mov r9d, eax
mov qword [rsp + 0x20], rdi
call fcn.14006beb4
mov rcx, qword [0x14017d3a8]
xor ebx, ebx
jmp 0x1400b8319
test sil, 0x10
jne 0x1400b82e6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b82e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x1400b82e4
test byte [rcx + 0x1c], 1
je 0x1400b82e4
cmp byte [rcx + 0x19], 3
jb 0x1400b82e4
mov rcx, qword [rcx + 0x10]
movzx eax, ax
lea r8, [0x14000aa00]
or eax, 0x80070000
test r11d, r11d
mov edx, 0x2a
cmovle eax, r11d
mov r9, rdi
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
xor ebx, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400b8312
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400b8312
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
cmp qword [rbp + 0x20], 0
je 0x1400b833e
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x1400b833e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x18], 0
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x1400b8364
test byte [rcx + 0x1c], 1
je 0x1400b8364
cmp byte [rcx + 0x19], 4
jb 0x1400b8364
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000aa00]
mov edx, 0x2b
call fcn.14001dd24
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret