Function at 0x14001c3e0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov r14, rdx
mov rbp, rcx
lea rdx, str.Crash_Report_configuration:_r_n
call fcn.1400390e0
lea r8, [r14 + 0x68]
cmp qword [r8 + 0x18], 0x10
jb 0x14001c409
mov r8, qword [r8]
lea rdx, str.__App_Name:__s_r_n
mov rcx, rbp
call fcn.1400390e0
lea r8, [r14 + 0xa8]
cmp qword [r8 + 0x18], 0x10
jb 0x14001c429
mov r8, qword [r8]
lea rdx, str.__App_Version:__s_r_n
mov rcx, rbp
call fcn.1400390e0
lea r8, [r14 + 0x108]
cmp qword [r8 + 0x18], 0x10
jb 0x14001c449
mov r8, qword [r8]
lea rdx, str.__Mono_DLL:__s_r_n
mov rcx, rbp
call fcn.1400390e0
cmp qword [r14 + 0x40], 0x10
lea r8, [r14 + 0x28]
jb 0x14001c466
mov r8, qword [r8]
lea rdx, str.__Bug_Reporter_App_Path:__s_r_n
mov rcx, rbp
call fcn.1400390e0
cmp qword [r14 + 0x60], 0x10
lea r8, [r14 + 0x48]
jb 0x14001c483
mov r8, qword [r8]
lea rdx, str.__Crash_Report_Path:__s_r_n
mov rcx, rbp
call fcn.1400390e0
cmp byte [r14 + 0x129], 0
lea rax, str.true
lea r8, str.false
mov rcx, rbp
cmovne r8, rax
lea rdx, str.__Is_Editor:__s_r_n
call fcn.1400390e0
lea rdx, str._r_nCrash_Report_metadata:_r_n
mov rcx, rbp
call fcn.1400390e0
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14001c554
cmp qword [rbx + 0x58], 0x10
lea r9, [rbx + 0x40]
jb 0x14001c4e3
mov r9, qword [r9]
cmp qword [rbx + 0x38], 0x10
lea r8, [rbx + 0x20]
jb 0x14001c4f1
mov r8, qword [r8]
lea rdx, str.___s___s_r_n
mov rcx, rbp
call fcn.1400390e0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14001c52c
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14001c527
cmp rbx, qword [rax + 0x10]
jne 0x14001c527
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14001c514
mov rbx, rax
jmp 0x14001c54f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x14001c54f
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14001c540
cmp rbx, qword [r14]
jne 0x14001c4d5
mov qword [rsp + 0x70], rsi
lea rdx, str._r_nAdditional_report_files:_r_n
mov qword [rsp + 0x78], rdi
mov rcx, rbp
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], r15
call fcn.1400390e0
mov rbx, qword [r14 + 0x10]
cmp rbx, qword [r14 + 0x18]
je 0x14001c727
xor r15d, r15d
lea r12, [0x1400828aa]
nop word [rax + rax]
cmp qword [rbx + 0x18], 0x10
mov rsi, rbx
mov rdi, qword [rbx + 0x10]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
jb 0x14001c5c5
mov rsi, qword [rbx]
test rdi, rdi
je 0x14001c676
mov dword [rsp + 0x28], r15d
mov r9d, edi
mov r8, rsi
mov qword [rsp + 0x20], r15
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x14001c60b
cmp qword [rsp + 0x48], 8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], r15
cmovae rax, qword [rsp + 0x30]
mov word [rax], r15w
jmp 0x14001c676
movsxd rdx, eax
mov rax, qword [rsp + 0x40]
cmp rdx, rax
ja 0x14001c635
cmp qword [rsp + 0x48], 8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rdx
cmovae rax, qword [rsp + 0x30]
mov word [rax + rdx*2], r15w
jmp 0x14001c645
xor r8d, r8d
lea rcx, [rsp + 0x30]
sub rdx, rax
call fcn.1400147e0
cmp qword [rsp + 0x48], 8
lea rcx, [rsp + 0x30]
mov eax, dword [rsp + 0x40]
mov r9d, edi
cmovae rcx, qword [rsp + 0x30]
mov r8, rsi
mov dword [rsp + 0x28], eax
xor edx, edx
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp qword [rbx + 0x38], 0x10
lea rdi, [rbx + 0x20]
jb 0x14001c684
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 0x10
mov rsi, rbx
jb 0x14001c691
mov rsi, qword [rbx]
cmp qword [rsp + 0x48], 8
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001c6b5
test al, 0x10
jne 0x14001c6b5
mov al, 1
jmp 0x14001c6b7
xor al, al
test al, al
mov qword [rsp + 0x20], rdi
lea r8, str.MISSING:
mov r9, rsi
cmovne r8, r12
lea rdx, str.___s__s____s__r_n
mov rcx, rbp
call fcn.1400390e0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14001c719
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c714
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c758
call fcn.14003f840
add rbx, 0x40
cmp rbx, qword [r14 + 0x18]
jne 0x14001c5a0
lea rdx, str._r_n_r_n
mov rcx, rbp
mov r15, qword [rsp + 0x88]
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rbp
pop rbx
jmp fcn.1400390e0
int3