Function at 0x14001e8d0
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 [0x1402c5168]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14d, edx
mov rsi, rcx
cmp qword [rcx], 0
je 0x14001e91c
mov al, 1
jmp 0x14001eb79
lea rcx, [rsp + 0x70]
call fcn.140006850
nop
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.14018d8d0
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14001eb6a
lea rax, [rbp - 0x50]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14001e960
mov rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x78]
mov rax, r8
sub rax, rcx
xor r15d, r15d
cmp rdx, rax
ja 0x14001e9af
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.14018d190
mov word [rbx + rdi*2], r15w
jmp 0x14001e9c2
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400074b0
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0x12
jb 0x14001ea0a
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.14018d190
mov word [rbx + rdi*2], r15w
jmp 0x14001ea29
mov qword [rsp + 0x20], 0x12
lea r9, str.Temp2345_Crashes
mov edx, 0x12
lea rcx, [rsp + 0x70]
call fcn.1400074b0
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 0x14001ea63
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 0x14001eb6a
mov ecx, 0x100
call fcn.140187c60
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001ea88
mov word [rax], r15w
mov word [rax + 0x80], r15w
jmp 0x14001ea8b
mov rbx, r15
lea r8, str.fulldump
mov edx, 0x40
mov rcx, rbx
call fcn.1401b3fdc
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.1401b3dd0
lea rcx, [rbx + 0x80]
lea r8, [rbp - 0x70]
mov edx, 0x40
call fcn.1401b3fdc
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 1
mov ecx, 0x158
call fcn.140186e68
mov qword [rsp + 0x50], rax
lea rcx, [rsi + 8]
cmp qword [rcx + 0x18], 8
jb 0x14001eb05
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.140188830
nop
mov rbx, qword [rsi]
mov qword [rsi], rax
test rbx, rbx
je 0x14001eb66
mov rcx, rbx
call fcn.1401889f0
mov edx, 0x158
mov rcx, rbx
call fcn.140186ea4
mov bl, 1
jmp 0x14001eb6c
xor bl, bl
lea rcx, [rsp + 0x70]
call fcn.140006760
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140187450
mov rbx, qword [rsp + 0x310]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret