Function at 0x14001e8a0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x310], rbx
mov rax, qword [0x1402c4148]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14d, edx
mov rsi, rcx
cmp qword [rcx], 0
je 0x14001e8ec
mov al, 1
jmp 0x14001eb49
lea rcx, [rsp + 0x70]
call fcn.140006820
nop
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.14018da90
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14001eb3a
lea rax, [rbp - 0x50]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14001e930
mov rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x78]
mov rax, r8
sub rax, rcx
xor r15d, r15d
cmp rdx, rax
ja 0x14001e97f
lea rdi, [rcx + rdx]
mov qword [rbp - 0x80], rdi
lea rbx, [rsp + 0x70]
cmp r8, 8
cmovae rbx, qword [rsp + 0x70]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
lea rdx, [rbp - 0x50]
call fcn.14018d350
mov word [rbx + rdi*2], r15w
jmp 0x14001e992
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140007480
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0x12
jb 0x14001e9da
lea rdi, [rcx + 0x12]
mov qword [rbp - 0x80], rdi
lea rbx, [rsp + 0x70]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x70]
lea rcx, [rbx + rcx*2]
mov r8d, 0x24
lea rdx, str.Temp2345_Crashes
call fcn.14018d350
mov word [rbx + rdi*2], r15w
jmp 0x14001e9f9
mov qword [rsp + 0x20], 0x12
lea r9, str.Temp2345_Crashes
mov edx, 0x12
lea rcx, [rsp + 0x70]
call fcn.140007480
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001ea33
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14001eb3a
mov ecx, 0x100
call fcn.140187e20
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001ea58
mov word [rax], r15w
mov word [rax + 0x80], r15w
jmp 0x14001ea5b
mov rbx, r15
lea r8, str.fulldump
mov edx, 0x40
mov rcx, rbx
call fcn.1401b419c
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
lea r9d, [rax + 0xa]
lea r8d, [rax + 0x10]
lea rdx, [rbp - 0x70]
mov ecx, dword [rsi + 0x28]
call fcn.1401b3f90
lea rcx, [rbx + 0x80]
lea r8, [rbp - 0x70]
mov edx, 0x40
call fcn.1401b419c
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 1
mov ecx, 0x158
call fcn.140187028
mov qword [rsp + 0x50], rax
lea rcx, [rsi + 8]
cmp qword [rcx + 0x18], 8
jb 0x14001ead5
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
lea rcx, str..pipe2345SafeCenterBreakpad
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 7
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1401889f0
nop
mov rbx, qword [rsi]
mov qword [rsi], rax
test rbx, rbx
je 0x14001eb36
mov rcx, rbx
call fcn.140188bb0
mov edx, 0x158
mov rcx, rbx
call fcn.140187064
mov bl, 1
jmp 0x14001eb3c
xor bl, bl
lea rcx, [rsp + 0x70]
call fcn.140006730
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140187610
mov rbx, qword [rsp + 0x310]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret