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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x130
movaps xmmword [rsp + 0x120], xmm6
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x140117028]
xor rax, rsp
mov qword [rsp + 0x118], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x50], r15
movaps xmm6, xmmword [0x1400fdb10]
movaps xmmword [rbx + 0x40], xmm6
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea rbp, [rsp + 0xc0]
mov rcx, rbp
mov r9d, 0x288
call fcn.140069480
mov rcx, rbx
mov rdx, rbp
xor r8d, r8d
call fcn.1400694b0
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x14002e39c
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002e3ea
mov bl, 1
test al, 0x10
je 0x14002e500
lea rcx, [rsp + 0x60]
call fcn.140069510
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140081fb0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x10], r15
movaps xmmword [rbp], xmm6
mov rcx, rdi
mov rdx, rbp
call fcn.14005dce0
movzx ecx, byte [rbp + 0x17]
test cl, cl
jns 0x14002e411
mov rax, qword [rsp + 0x28]
jmp 0x14002e416
mov eax, ecx
and eax, 0x7f
movzx esi, byte [rdi + 0x17]
test sil, sil
jns 0x14002e425
mov rdx, qword [rdi + 8]
jmp 0x14002e42a
mov edx, esi
and edx, 0x7f
cmp rax, rdx
je 0x14002e51f
lea rcx, [rsp + 0x20]
mov rdx, r12
call fcn.14002e300
test al, al
je 0x14002e56e
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x14002e468
lea rcx, [rsp + 0x20]
call fcn.14005dc20
jmp 0x14002e3b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0xb7
jne 0x14002e4f1
lea rbp, [rsp + 0xc0]
mov qword [rbp + 0x50], r15
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x1fb
call fcn.140069480
mov rcx, rbp
mov rdx, r15
xor r8d, r8d
call fcn.1400694b0
cmp byte [rdi + 0x17], 0
jns 0x14002e4d0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbp
call fcn.140069510
cmp edi, 0xffffffff
je 0x14002e4f1
and edi, 0x10
jne 0x14002e459
test r12, r12
je 0x14002e565
mov ecx, r14d
call fcn.14003aa40
jmp 0x14002e561
test r12, r12
je 0x14002e50d
mov dword [r12], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14002e3b4
test rax, rax
je 0x14002e551
test cl, cl
jns 0x14002e52d
mov rbp, qword [rsp + 0x20]
mov rcx, rdi
test sil, sil
jns 0x14002e538
mov rcx, qword [rdi]
xor edx, edx
movzx esi, word [rbp + rdx*2]
cmp si, word [rcx + rdx*2]
jne 0x14002e433
inc rdx
cmp rax, rdx
jne 0x14002e53a
mov eax, 0xfffffffc
mov r14d, 2
test r12, r12
je 0x14002e565
mov dword [r12], eax
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14002e459