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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
mov esi, edi
mov rcx, qword [0x14009b020]
lea r12, [0x14009b020]
lea r15d, [rdi + 2]
cmp rcx, r12
je 0x14006b2dd
test byte [rcx + 0x1c], r15b
je 0x14006b2dd
cmp byte [rcx + 0x19], 5
jb 0x14006b2dd
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x12]
lea r8, [0x14008e478]
call fcn.1400042fc
mov rcx, rbx
call fcn.14006acd0
mov rbx, rax
mov r14, rax
test rax, rax
jne 0x14006b33e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14006b5ae
test byte [rcx + 0x1c], r15b
je 0x14006b5ae
cmp byte [rcx + 0x19], r15b
jb 0x14006b5ae
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x13]
mov r9d, eax
lea r8, [0x14008e478]
call fcn.1400046fc
jmp 0x14006b5ae
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14006b35a
test al, 0x10
jne 0x14006b5ae
or rbp, 0xffffffffffffffff
mov rax, rbp
inc rax
cmp word [rbx + rax*2], di
jne 0x14006b361
mov r13d, 0x5c
cmp rax, r15
jbe 0x14006b3d2
mov r8, r15
lea rdx, [0x14008e368]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
jne 0x14006b3d2
mov edx, r13d
lea rcx, [rbx + 4]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14006b459
mov edx, r13d
lea rcx, [rax + 2]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14006b459
jmp 0x14006b403
mov rax, rbp
inc rax
cmp word [rbx + rax*2], di
jne 0x14006b3d5
mov r8d, 1
cmp rax, r8
jbe 0x14006b408
lea rdx, [0x14008e278]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
jne 0x14006b408
add rbx, r15
jmp 0x14006b454
inc rbp
cmp word [rbx + rbp*2], di
jne 0x14006b408
cmp rbp, 3
jbe 0x14006b4ba
movzx ecx, word [rbx]
call qword [sym.imp.msvcrt.dll_iswalpha]
nop dword [rax + rax]
test eax, eax
je 0x14006b4ba
lea rcx, [rbx + 2]
mov r8, r15
lea rdx, [0x14008e370]
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
jne 0x14006b4ba
add rbx, 6
test rbx, rbx
jne 0x14006b4ba
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14006b4ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebp, 0xb7
mov esi, eax
cmp eax, ebp
je 0x14006b4b3
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14006b5ae
test byte [rcx + 0x1c], r15b
je 0x14006b5ae
cmp byte [rcx + 0x19], r15b
jb 0x14006b5ae
mov edx, 0x14
jmp 0x14006b597
mov esi, edi
jmp 0x14006b5ae
add rbx, r15
cmp word [rbx], di
je 0x14006b5ae
mov ebp, 0xb7
mov edx, r13d
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
xor edx, edx
mov rcx, r14
mov rbx, rax
test rax, rax
je 0x14006b54c
mov word [rax], di
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14006b50d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, ebp
jne 0x14006b51f
mov word [rbx], r13w
add rbx, r15
cmp word [rbx], di
je 0x14006b5ae
jmp 0x14006b4cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14006b5ae
test byte [rcx + 0x1c], r15b
je 0x14006b5ae
cmp byte [rcx + 0x19], r15b
jb 0x14006b5ae
mov edx, 0x16
jmp 0x14006b597
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14006b5ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, ebp
je 0x14006b5ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14006b5ae
test byte [rcx + 0x1c], r15b
je 0x14006b5ae
cmp byte [rcx + 0x19], r15b
jb 0x14006b5ae
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008e478]
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.1400045e8
mov rcx, r14
call fcn.140069d30
test esi, esi
je 0x14006b5ca
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test esi, esi
mov rbx, qword [rsp + 0x60]
sete dil
mov rbp, qword [rsp + 0x68]
mov eax, edi
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret