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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1e8]
sub rsp, 0x2d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rcx
cmp qword [rcx], 0
je 0x14001e917
mov al, 1
jmp 0x14001eb6e
lea rcx, [rsp + 0x70]
call fcn.140006850
nop
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.140189b30
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14001eb5f
lea rax, [rbp - 0x50]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14001e955
mov rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x78]
mov rax, r8
sub rax, rcx
xor r14d, r14d
cmp rdx, rax
ja 0x14001e9a4
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.1401893f0
mov word [rbx + rdi*2], r14w
jmp 0x14001e9b7
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 0x14001e9ff
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.1401893f0
mov word [rbx + rdi*2], r14w
jmp 0x14001ea1e
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 0x14001ea58
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 0x14001eb5f
mov ecx, 0x100
call fcn.140183ec0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001ea7d
mov word [rax], r14w
mov word [rax + 0x80], r14w
jmp 0x14001ea80
mov rbx, r14
lea r8, str.fulldump
mov edx, 0x40
mov rcx, rbx
call fcn.1401b023c
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.1401b0030
lea rcx, [rbx + 0x80]
lea r8, [rbp - 0x70]
mov edx, 0x40
call fcn.1401b023c
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 1
mov ecx, 0x158
call fcn.1401830c8
mov qword [rsp + 0x50], rax
lea rcx, [rsi + 8]
cmp qword [rcx + 0x18], 8
jb 0x14001eafa
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], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.140184a90
nop
mov rbx, qword [rsi]
mov qword [rsi], rax
test rbx, rbx
je 0x14001eb5b
mov rcx, rbx
call fcn.140184c50
mov edx, 0x158
mov rcx, rbx
call fcn.140183104
mov bl, 1
jmp 0x14001eb61
xor bl, bl
lea rcx, [rsp + 0x70]
call fcn.140006760
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401836b0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret