Function at 0x140073308
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 [str.___t_]
lea r12, str.___t_
lea r15d, [rdi + 2]
cmp rcx, r12
je 0x140073361
test byte [rcx + 0x1c], r15b
je 0x140073361
cmp byte [rcx + 0x19], 5
jb 0x140073361
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x12]
lea r8, [0x140005358]
call fcn.14000e618
mov rcx, rbx
call fcn.14007365c
mov rbx, rax
mov r14, rax
test rax, rax
jne 0x1400733bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400735bc
test byte [rcx + 0x1c], r15b
je 0x1400735bc
cmp byte [rcx + 0x19], r15b
jb 0x1400735bc
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x13]
lea r8, [0x140005358]
mov r9d, eax
call fcn.14000e63c
jmp 0x1400735bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400733d2
test al, 0x10
jne 0x1400735bc
or rbp, 0xffffffffffffffff
mov rax, rbp
inc rax
cmp word [rbx + rax*2], di
jne 0x1400733d9
mov r13d, 0x5c
cmp rax, r15
jbe 0x140073434
lea rdx, [0x140005248]
mov r8, r15
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
jne 0x140073434
lea rcx, [rbx + 4]
mov edx, r13d
call qword [sym.imp.msvcrt.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x1400734a1
lea rcx, [rax + 2]
mov edx, r13d
call qword [sym.imp.msvcrt.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x1400734a1
jmp 0x14007345f
mov rax, rbp
inc rax
cmp word [rbx + rax*2], di
jne 0x140073437
mov r8d, 1
cmp rax, r8
jbe 0x140073464
lea rdx, [0x140005158]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
jne 0x140073464
add rbx, r15
jmp 0x14007349c
inc rbp
cmp word [rbx + rbp*2], di
jne 0x140073464
cmp rbp, 3
jbe 0x14007349c
movzx ecx, word [rbx]
call qword [sym.imp.msvcrt.dll_iswalpha]
test eax, eax
je 0x14007349c
lea rcx, [rbx + 2]
lea rdx, [0x140005250]
mov r8, r15
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
jne 0x14007349c
add rbx, 6
test rbx, rbx
jne 0x1400734f6
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400734f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, 0xb7
mov esi, eax
cmp eax, ebp
je 0x1400734ef
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400735bc
test byte [rcx + 0x1c], r15b
je 0x1400735bc
cmp byte [rcx + 0x19], r15b
jb 0x1400735bc
mov edx, 0x14
jmp 0x1400735a5
mov esi, edi
jmp 0x1400735bc
add rbx, r15
cmp word [rbx], di
je 0x1400735bc
mov ebp, 0xb7
mov edx, r13d
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcschr]
xor edx, edx
mov rcx, r14
mov rbx, rax
test rax, rax
je 0x14007356c
mov word [rax], di
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140073537
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
jne 0x140073545
mov word [rbx], r13w
add rbx, r15
cmp word [rbx], di
je 0x1400735bc
jmp 0x140073507
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400735bc
test byte [rcx + 0x1c], r15b
je 0x1400735bc
cmp byte [rcx + 0x19], r15b
jb 0x1400735bc
mov edx, 0x16
jmp 0x1400735a5
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400735bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
je 0x1400735bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400735bc
test byte [rcx + 0x1c], r15b
je 0x1400735bc
cmp byte [rcx + 0x19], r15b
jb 0x1400735bc
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
lea r8, [0x140005358]
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.14000e8e4
mov rcx, r14
call fcn.140072328
test esi, esi
je 0x1400735d2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
sete dil
mov eax, edi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret