Function at 0x180005d70
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x570], rbx
mov rax, qword [0x180012018]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rbx, rcx
mov r8, rdx
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x18000d65c]
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.ErrorReportConfig.xml
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180005e17
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180006136
movzx eax, ax
or eax, 0x80070000
jmp 0x180006136
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.180008c80
mov r15d, eax
test eax, eax
js 0x180006136
lea rdx, str._error_report_runtime
mov rcx, rbx
call fcn.180008f70
xor r9d, r9d
xor r8d, r8d
lea rdx, str.enabled
mov rcx, rbx
call fcn.180009310
mov byte [0x180012398], al
xor r9d, r9d
lea r8d, [r9 + 0x40]
lea rdx, str.messagelogSize
mov rcx, rbx
call fcn.180009410
mov dword [0x18001239c], eax
xor r9d, r9d
lea r8d, [r9 + 0x32]
lea rdx, str.supplementfileSize
mov rcx, rbx
call fcn.180009410
mov dword [0x1800123a0], eax
xor r9d, r9d
mov r8b, 1
lea rdx, str.frontstopTrapper
mov rcx, rbx
call fcn.180009310
mov byte [0x1800123a4], al
xor r9d, r9d
mov r8b, 1
lea rdx, str.backstopTrapper
mov rcx, rbx
call fcn.180009310
mov byte [0x1800123a5], al
xor r9d, r9d
mov r8b, 1
lea rdx, str.unhandledTrapper
mov rcx, rbx
call fcn.180009310
mov byte [0x1800123a6], al
xor r9d, r9d
mov r8b, 1
lea rdx, str.useUILauncher
mov rcx, rbx
call fcn.180009310
mov byte [0x1800123a7], al
xor r9d, r9d
xor r8d, r8d
lea rdx, str.stackOverflowOnly
mov rcx, rbx
call fcn.180009310
mov byte [0x1800125c8], al
xor r12d, r12d
mov qword [rsp + 0x28], r12
lea rax, str.ErrorReportClient.exe
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x200]
lea rdx, str.userinterfaceExe
mov rcx, rbx
call fcn.180009720
mov r8, rax
mov edx, 0x104
lea rcx, [0x1800123a8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov esi, r12d
movabs r13, 0xffffffffffff
nop dword [rax]
mov edi, r12d
test esi, esi
sete r14b
nop dword [rax]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x40], r14b
mov rcx, rbx
test esi, esi
lea rdx, str._error_report_runtime_excludeExceptions
je 0x180005fc4
lea rdx, str._error_report_runtime_includeExceptions
call fcn.180008f70
inc edi
mov r9d, edi
lea r8, str.unmanaged__d_
mov edx, 0x32
lea rcx, [rbp - 0x80]
call fcn.1800088c0
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180008f70
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str._first
mov rcx, rbx
call fcn.180009510
test rax, rax
js 0x180006116
mov dword [rsp + 0x48], eax
xor r9d, r9d
mov r8, rax
lea rdx, str._last
mov rcx, rbx
call fcn.180009510
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x20], r12
mov r9d, 2
lea r8, str.frontbackboth
lea rdx, str._where
mov rcx, rbx
call fcn.180008970
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x28], r12
lea rax, [0x18000d950]
mov qword [rsp + 0x20], rax
mov r9d, 0x32
lea r8, [rbp - 0x80]
lea rdx, str._module
mov rcx, rbx
call fcn.180009720
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180006081
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180007fd0
xor r9d, r9d
xor r8d, r8d
lea rdx, str._from
mov rcx, rbx
call fcn.180009510
mov qword [rsp + 0x70], rax
xor r9d, r9d
mov r8, r13
lea rdx, [0x18000d978]
mov rcx, rbx
call fcn.180009510
mov qword [rsp + 0x78], rax
mov rdx, qword [0x1800125b8]
lea r8, [rsp + 0x40]
lea rcx, [0x1800125b0]
cmp qword [0x1800125c0], rdx
je 0x1800060f8
call fcn.180006930
add qword [0x1800125b8], 0x40
jmp 0x1800060fe
call fcn.1800063d0
nop
lea rcx, [rsp + 0x50]
call fcn.180007d70
cmp edi, 0x270f
jl 0x180005f80
jmp 0x180006120
lea rcx, [rsp + 0x50]
call fcn.180007d70
inc esi
cmp esi, 2
jl 0x180005f70
mov rcx, rbx
call fcn.180008f40
mov eax, r15d
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.18000a740
mov rbx, qword [rsp + 0x570]
add rsp, 0x520
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret