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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb68]
sub rsp, 0xc68
mov rax, qword [0x1800a11a0]
xor rax, rsp
mov qword [rbp + 0xb50], rax
mov r12, r9
mov rsi, r8
mov r15, rdx
mov r14, rcx
movzx r13d, byte [rbp + 0xbd0]
test r8, r8
je 0x18002da33
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [r8 + rax*2], 0
jne 0x18002d364
test rax, rax
je 0x18002da33
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.180051b50
mov r9, rsi
lea r8, [0x18008fc14]
mov edx, 0x104
lea rcx, [rbp + 0x160]
call fcn.18002d250
mov edx, 0x5c
lea rcx, [rbp + 0x160]
call fcn.180052094
test rax, rax
je 0x18002d94d
mov edx, 0x5c
lea rcx, [rbp + 0x160]
call fcn.180052094
xor edi, edi
mov word [rax], di
lea rcx, [rbp + 0x160]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18002d416
xor edx, edx
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18002d416
lea r8, [rbp + 0x160]
lea rdx, str.Failed_to_CreateDirectory__s
lea ecx, [rdi + 0x10]
call fcn.18001f390
jmp 0x18002db14
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rbp + 0x370]
call fcn.180051b50
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, ebx
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x370]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rbp + 0x760]
call fcn.180051b50
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, ebx
mov r8, r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x760]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [0x18008fc78]
jmp 0x18011def8
lea rbx, vtable.el::base::Writer.0
mov qword [rsp + 0x40], rbx
xor edi, edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], 0x10
lea rax, str.D:ProjectVSDataStorageSaveTokenDataHandleData.cpp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x38
lea rax, str.bool___cdecl__SavePassToken_const_wchar_t__const_wchar_t__const_wchar_t__const_wchar_t__bool_
mov qword [rsp + 0x68], rax
mov word [rsp + 0x70], di
mov qword [rsp + 0x78], rdi
mov byte [rbp - 0x80], dil
mov qword [rbp - 0x78], rdi
lea rax, [0x18008f025]
mov qword [rbp - 0x70], rax
mov eax, 2
mov dword [rbp - 0x68], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
lea r8, str.default
lea edx, [rdi + 1]
lea rcx, [rsp + 0x40]
call fcn.18000f200
mov rdi, rax
cmp byte [rax + 0x40], 0
je 0x18002da15
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 0x18002da15
mov rcx, qword [rdi + 0x48]
add rcx, 0x98
lea rdx, [0x18008d328]
call fcn.1800176b0
nop
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x40]
call fcn.18000f810
lea rcx, [rbp - 0x60]
call fcn.180012460
nop
jmp 0x18002db14
lea rbx, vtable.el::base::Writer.0
mov qword [rsp + 0x40], rbx
xor edi, edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], 0x10
lea rax, str.D:ProjectVSDataStorageSaveTokenDataHandleData.cpp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x2d
lea rax, str.bool___cdecl__SavePassToken_const_wchar_t__const_wchar_t__const_wchar_t__const_wchar_t__bool_
mov qword [rsp + 0x68], rax
mov word [rsp + 0x70], di
mov qword [rsp + 0x78], rdi
mov byte [rbp - 0x80], dil
mov qword [rbp - 0x78], rdi
lea rax, [0x18008f025]
mov qword [rbp - 0x70], rax
mov eax, 2
mov dword [rbp - 0x68], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
lea r8, str.default
lea edx, [rdi + 1]
lea rcx, [rsp + 0x40]
call fcn.18000f200
mov rdi, rax
cmp byte [rax + 0x40], 0
je 0x18002dafb
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 0x18002dafb
mov rcx, qword [rdi + 0x48]
add rcx, 0x98
lea rdx, [0x18008d328]
call fcn.1800176b0
nop
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x40]
call fcn.18000f810
lea rcx, [rbp - 0x60]
call fcn.180012460
nop
xor al, al
mov rcx, qword [rbp + 0xb50]
xor rcx, rsp
call fcn.180032aa0
add rsp, 0xc68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret