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

Disassembly:
push rbp
push rbx
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x50
mov r15, rdx
mov r12, rcx
lea rdx, str.Crash_Report_configuration:_r_n
call fcn.140030480
lea r8, [r15 + 0x68]
cmp qword [r8 + 0x18], 0x10
jb 0x140014bcf
mov r8, qword [r8]
lea rdx, str.__App_Name:__s_r_n
mov rcx, r12
call fcn.140030480
lea r8, [r15 + 0xa8]
cmp qword [r8 + 0x18], 0x10
jb 0x140014bef
mov r8, qword [r8]
lea rdx, str.__App_Version:__s_r_n
mov rcx, r12
call fcn.140030480
lea r8, [r15 + 0x108]
cmp qword [r8 + 0x18], 0x10
jb 0x140014c0f
mov r8, qword [r8]
lea rdx, str.__Mono_DLL:__s_r_n
mov rcx, r12
call fcn.140030480
cmp qword [r15 + 0x40], 0x10
lea r8, [r15 + 0x28]
jb 0x140014c2c
mov r8, qword [r8]
lea rdx, str.__Bug_Reporter_App_Path:__s_r_n
mov rcx, r12
call fcn.140030480
cmp qword [r15 + 0x60], 0x10
lea r8, [r15 + 0x48]
jb 0x140014c49
mov r8, qword [r8]
lea rdx, str.__Crash_Report_Path:__s_r_n
mov rcx, r12
call fcn.140030480
cmp byte [r15 + 0x129], 0
lea rax, str.true
lea r8, str.false
mov rcx, r12
cmovne r8, rax
lea rdx, str.__Is_Editor:__s_r_n
call fcn.140030480
lea rdx, str._r_nCrash_Report_metadata:_r_n
mov rcx, r12
call fcn.140030480
mov rax, qword [r15]
mov rdi, qword [rax]
cmp rdi, rax
je 0x140014d2f
nop
cmp qword [rdi + 0x58], 0x10
lea r9, [rdi + 0x40]
jb 0x140014cae
mov r9, qword [r9]
cmp qword [rdi + 0x38], 0x10
lea r8, [rdi + 0x20]
jb 0x140014cbc
mov r8, qword [r8]
lea rdx, str.___s___s_r_n
mov rcx, r12
call fcn.140030480
cmp byte [rdi + 0x19], 0
jne 0x140014d26
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140014d01
mov rcx, qword [rax]
mov rdi, rax
cmp byte [rcx + 0x19], 0
jne 0x140014d26
nop word [rax + rax]
mov rax, qword [rcx]
mov rdi, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140014cf0
jmp 0x140014d26
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x140014d23
nop dword [rax + rax]
cmp rdi, qword [rax + 0x10]
jne 0x140014d23
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140014d10
mov rdi, rax
cmp rdi, qword [r15]
jne 0x140014ca0
mov qword [rsp + 0x80], rsi
lea rdx, str._r_nAdditional_report_files:_r_n
mov qword [rsp + 0x88], r13
mov rcx, r12
mov qword [rsp + 0x90], r14
call fcn.140030480
mov rbx, qword [r15 + 0x10]
cmp rbx, qword [r15 + 0x18]
je 0x140014f60
xor r13d, r13d
nop word [rax + rax]
cmp qword [rbx + 0x18], 0x10
mov rsi, rbx
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r13w
jb 0x140014d8e
mov rsi, qword [rbx]
mov r14, qword [rbx + 0x10]
test r14, r14
jne 0x140014da5
mov qword [rbp - 0x10], r13
mov word [rbp - 0x20], r13w
jmp 0x140014e8f
mov dword [rsp + 0x28], r13d
mov r9d, r14d
mov r8, rsi
mov qword [rsp + 0x20], r13
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x140014de1
cmp qword [rbp - 8], 8
lea rax, [rbp - 0x20]
mov qword [rbp - 0x10], r13
cmovae rax, qword [rbp - 0x20]
mov word [rax], r13w
jmp 0x140014e8f
mov r8, qword [rbp - 0x10]
movsxd rcx, eax
cmp rcx, r8
ja 0x140014e06
cmp qword [rbp - 8], 8
lea rax, [rbp - 0x20]
mov qword [rbp - 0x10], rcx
cmovae rax, qword [rbp - 0x20]
mov word [rax + rcx*2], r13w
jmp 0x140014e62
mov rdi, qword [rbp - 8]
mov rdx, rcx
mov rax, rdi
sub rdx, r8
sub rax, r8
cmp rdx, rax
ja 0x140014e4a
cmp rdi, 8
mov qword [rbp - 0x10], rcx
lea r9, [rbp - 0x20]
cmovae r9, qword [rbp - 0x20]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140014e3f
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], r13w
jmp 0x140014e62
xor eax, eax
mov word [rsp + 0x20], r13w
movzx r8d, al
lea rcx, [rbp - 0x20]
mov r9, rdx
call fcn.14000e050
cmp qword [rbp - 8], 8
lea rcx, [rbp - 0x20]
mov eax, dword [rbp - 0x10]
mov r9d, r14d
cmovae rcx, qword [rbp - 0x20]
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 0x140014e9d
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 0x10
mov rsi, rbx
jb 0x140014eaa
mov rsi, qword [rbx]
cmp qword [rbp - 8], 8
lea rcx, [rbp - 0x20]
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140014ecb
test al, 0x10
jne 0x140014ecb
mov al, 1
jmp 0x140014ecd
xor al, al
test al, al
mov qword [rsp + 0x20], rdi
lea rax, [0x140056732]
mov r9, rsi
lea r8, str.MISSING:
mov rcx, r12
cmovne r8, rax
lea rdx, str.___s__s____s__r_n
call fcn.140030480
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140014f52
mov rcx, qword [rbp - 0x20]
inc rdx
movabs rdi, 0x7fffffffffffffff
mov rax, rcx
cmp rdx, rdi
ja 0x140014f92
add rdx, rdx
cmp rdx, 0x1000
jb 0x140014f4d
lea rdi, [rdx + 0x27]
cmp rdi, rdx
jbe 0x140014f92
mov rdx, rdi
test al, 0x1f
jne 0x140014f92
mov rcx, qword [rcx - 8]
cmp rcx, rax
jae 0x140014f92
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
ja 0x140014f92
call fcn.14003068c
add rbx, 0x40
cmp rbx, qword [r15 + 0x18]
jne 0x140014d70
lea rdx, str._r_n_r_n
mov rcx, r12
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r12
pop rdi
pop rbx
pop rbp
jmp fcn.140030480
call fcn.14003ecdc
int3