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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov r9, qword [rcx]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov r10, qword [r9]
lea rax, [r10 + 1]
mov qword [r9], rax
test r10, r10
jne 0x1400989c3
mov rax, qword [rdx]
movzx ecx, word [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswalpha]
test eax, eax
je 0x1400989c3
mov rax, qword [rsi]
add rax, 2
cmp word [rax], 0x3a
je 0x140098aee
mov rax, qword [rdi]
xor esi, esi
mov word [rax], si
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
cmp si, word [rcx]
je 0x140098b27
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400989ee
test al, 0x10
jne 0x140098ae3
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
cmp si, word [rcx]
je 0x140098b48
xor edx, edx
mov qword [rsp + 0x80], r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r14, [0x140240680]
mov ebx, eax
mov r8, r14
lea rdx, [0x14007d6c0]
lea rcx, [0x140240678]
call sub.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_
test ebx, ebx
je 0x140098a42
mov dword [rbp - 0x50], esi
test eax, eax
je 0x140098a46
mov qword [rbp - 0x48], r14
lea rax, [rbp - 0x50]
jmp 0x140098a5e
test eax, eax
jne 0x140098a4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], r14
movups xmm0, xmmword [rax]
movd eax, xmm0
movups xmmword [rbp - 0x30], xmm0
test eax, eax
je 0x140098adb
lea rbx, [0x140240668]
mov dword [rbp - 0x50], esi
mov r8, rbx
mov qword [rbp - 0x48], rsi
lea rdx, [0x14007d6a0]
lea rcx, [0x140240660]
call sub.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_
test eax, eax
jne 0x140098a9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, qword [rbp - 0x28]
lea r8, [rbp - 0x50]
mov edx, dword [rbp - 0x30]
mov dword [rbp - 0x50], send
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov rax, qword [rcx]
call qword [rax + 0x28]
test al, al
jne 0x140098adb
mov rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x30]
mov r8d, dword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x20]
test al, al
je 0x140098b06
mov r14, qword [rsp + 0x80]
mov rax, qword [rdi]
mov ecx, 0x5c
mov word [rax], cx
lea r11, [rsp + 0x70]
mov al, 1
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, str.DirectoryCreateRecursively:_cannot_create_directory
lea rcx, [rbp - 0x18]
call fcn.140096730
lea rdx, [0x140233d78]
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryExists:_empty_path
lea rcx, [rbp - 0x30]
call fcn.140096730
lea rdx, [0x140233d78]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.DirectoryCreate:_empty_path
lea rcx, [rbp - 0x50]
call fcn.140096730
lea rdx, [0x140233d78]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3