Function at 0x18002e380
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x1800a11a0]
xor rax, rsp
mov qword [rbp + 0x340], rax
movzx r12d, r9b
mov r15, r8
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x18002e857
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x18002e3d0
test rax, rax
je 0x18002e857
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x130]
call fcn.180051b50
mov r9, rsi
lea r8, [0x18008fc14]
mov edx, 0x104
lea rcx, [rbp + 0x130]
call fcn.18002d250
mov edx, 0x5c
lea rcx, [rbp + 0x130]
call fcn.180052094
test rax, rax
je 0x18002e76f
mov edx, 0x5c
lea rcx, [rbp + 0x130]
call fcn.180052094
xor edi, edi
mov word [rax], di
lea rcx, [rbp + 0x130]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18002e481
xor edx, edx
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18002e481
lea r8, [rbp + 0x130]
lea rdx, str.Failed_to_CreateDirectory__s
lea ecx, [rdi + 0x10]
call fcn.18001f390
jmp 0x18002e93a
lea rcx, [0x18008fed0]
jmp 0x180111060
lea rbx, vtable.el::base::Writer.0
mov qword [rsp + 0x30], rbx
xor edi, edi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], 0x10
lea rax, str.D:ProjectVSDataStorageSaveTokenDataHandleData.cpp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x136
lea rax, str.bool___cdecl__SaveData_const_char__const_wchar_t__const_wchar_t__bool_
mov qword [rsp + 0x58], rax
mov word [rsp + 0x60], di
mov qword [rsp + 0x68], rdi
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x78], rdi
lea rax, [0x18008f025]
mov qword [rbp - 0x80], rax
mov eax, 2
mov dword [rbp - 0x78], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
lea r8, str.default
lea edx, [rdi + 1]
lea rcx, [rsp + 0x30]
call fcn.18000f200
mov rdi, rax
cmp byte [rax + 0x40], 0
je 0x18002e839
mov rcx, qword [rax + 0x48]
add rcx, 0x98
lea rdx, str.datPath_is_illegal
call fcn.1800176b0
mov rcx, qword [0x1800a6f08]
test dword [rcx + 0x68], 0x2000
jbe 0x18002e839
mov rcx, qword [rdi + 0x48]
add rcx, 0x98
lea rdx, [0x18008d328]
call fcn.1800176b0
nop
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
call fcn.18000f810
lea rcx, [rbp - 0x70]
call fcn.180012460
nop
jmp 0x18002e93a
lea rbx, vtable.el::base::Writer.0
mov qword [rsp + 0x30], rbx
xor edi, edi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], 0x10
lea rax, str.D:ProjectVSDataStorageSaveTokenDataHandleData.cpp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x12b
lea rax, str.bool___cdecl__SaveData_const_char__const_wchar_t__const_wchar_t__bool_
mov qword [rsp + 0x58], rax
mov word [rsp + 0x60], di
mov qword [rsp + 0x68], rdi
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x78], rdi
lea rax, [0x18008f025]
mov qword [rbp - 0x80], rax
mov eax, 2
mov dword [rbp - 0x78], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
lea r8, str.default
lea edx, [rdi + 1]
lea rcx, [rsp + 0x30]
call fcn.18000f200
mov rdi, rax
cmp byte [rax + 0x40], 0
je 0x18002e921
mov rcx, qword [rax + 0x48]
add rcx, 0x98
lea rdx, str.datPath_is_empty
call fcn.1800176b0
mov rcx, qword [0x1800a6f08]
test dword [rcx + 0x68], 0x2000
jbe 0x18002e921
mov rcx, qword [rdi + 0x48]
add rcx, 0x98
lea rdx, [0x18008d328]
call fcn.1800176b0
nop
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
call fcn.18000f810
lea rcx, [rbp - 0x70]
call fcn.180012460
nop
xor al, al
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.180032aa0
add rsp, 0x450
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret