Function at 0x14001e8e0
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 [0x1402be168]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14d, edx
mov rsi, rcx
cmp qword [rcx], 0
je 0x14001e92c
mov al, 1
jmp 0x14001eb89
lea rcx, [rsp + 0x70]
call fcn.140006850
nop
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.140189c40
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14001eb7a
lea rax, [rbp - 0x50]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14001e970
mov rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x78]
mov rax, r8
sub rax, rcx
xor r15d, r15d
cmp rdx, rax
ja 0x14001e9bf
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.140189500
mov word [rbx + rdi*2], r15w
jmp 0x14001e9d2
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 0x14001ea1a
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.140189500
mov word [rbx + rdi*2], r15w
jmp 0x14001ea39
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 0x14001ea73
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 0x14001eb7a
mov ecx, 0x100
call fcn.140183fd0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001ea98
mov word [rax], r15w
mov word [rax + 0x80], r15w
jmp 0x14001ea9b
mov rbx, r15
lea r8, str.fulldump
mov edx, 0x40
mov rcx, rbx
call fcn.1401b034c
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.1401b0140
lea rcx, [rbx + 0x80]
lea r8, [rbp - 0x70]
mov edx, 0x40
call fcn.1401b034c
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 1
mov ecx, 0x158
call fcn.1401831d8
mov qword [rsp + 0x50], rax
lea rcx, [rsi + 8]
cmp qword [rcx + 0x18], 8
jb 0x14001eb15
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.140184ba0
nop
mov rbx, qword [rsi]
mov qword [rsi], rax
test rbx, rbx
je 0x14001eb76
mov rcx, rbx
call fcn.140184d60
mov edx, 0x158
mov rcx, rbx
call fcn.140183214
mov bl, 1
jmp 0x14001eb7c
xor bl, bl
lea rcx, [rsp + 0x70]
call fcn.140006760
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401837c0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret