Function at 0x100052d0
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x4a8]
sub esp, 0x4a8
push 0xffffffffffffffff
push 0x1000b3e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1000f014]
xor eax, ebp
mov dword [ebp + 0x4a4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x4b0]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
push eax
lea eax, [ebp + 0x238]
push 0x104
push eax
call ebx
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp + 0x238]
push 0x1000c3a4
push 0x104
push eax
call esi
push str.ErrorReportConfig.xml
lea eax, [ebp + 0x238]
push 0x104
push eax
call esi
add esp, 0x24
lea eax, [ebp + 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005381
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10005616
movzx eax, ax
or eax, 0x80070000
jmp 0x10005616
lea eax, [ebp + 0x238]
mov ecx, edi
push eax
call fcn.100080c0
mov dword [ebp - 0x18], eax
test eax, eax
js 0x10005616
push str._error_report_runtime
mov ecx, edi
call fcn.10008370
push 0
push 0
push str.enabled
mov ecx, edi
call fcn.100086c0
push 0
push 0x40
push str.messagelogSize
mov ecx, edi
mov byte [0x1000f318], al
call fcn.100087e0
push 0
push 0x32
push str.supplementfileSize
mov ecx, edi
mov dword [0x1000f31c], eax
call fcn.100087e0
push 0
push 1
push str.frontstopTrapper
mov ecx, edi
mov dword [0x1000f320], eax
call fcn.100086c0
push 0
push 1
push str.backstopTrapper
mov ecx, edi
mov byte [0x1000f324], al
call fcn.100086c0
push 0
push 1
push str.unhandledTrapper
mov ecx, edi
mov byte [0x1000f325], al
call fcn.100086c0
push 0
push 1
push str.useUILauncher
mov ecx, edi
mov byte [0x1000f326], al
call fcn.100086c0
push 0
push 0
push str.stackOverflowOnly
mov ecx, edi
mov byte [0x1000f327], al
call fcn.100086c0
push 0
push str.ErrorReportClient.exe
mov byte [0x1000f53c], al
mov ecx, edi
push 0x104
lea eax, [ebp + 0x30]
push eax
push str.userinterfaceExe
call fcn.10008b00
push eax
push 0x104
push 0x1000f328
call ebx
add esp, 0xc
xor ebx, ebx
nop dword [eax]
xor esi, esi
test ebx, ebx
sete byte [ebp - 0xd]
nop dword [eax + eax]
push 0x30
lea eax, [ebp]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov al, byte [ebp - 0xd]
add esp, 0xc
mov byte [ebp], al
mov ecx, edi
test ebx, ebx
jne 0x100054ba
push str._error_report_runtime_excludeExceptions
jmp 0x100054bf
push str._error_report_runtime_includeExceptions
call fcn.10008370
inc esi
lea eax, [ebp + 0x440]
push esi
push str.unmanaged__d_
push 0x32
push eax
call fcn.10007d80
add esp, 0x10
lea eax, [ebp + 0x440]
mov ecx, edi
push eax
call fcn.10008370
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push str._first
mov ecx, edi
call fcn.100088e0
test edx, edx
jl 0x100055f3
jg 0x1000550e
test eax, eax
jb 0x100055f3
push 0
push edx
push eax
push str._last
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.100088e0
push 0
push 2
push str.frontbackboth
push str._where
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.10007df0
push 0
push 0x1000c660
mov dword [ebp + 4], eax
mov ecx, edi
push 0x32
lea eax, [ebp + 0x440]
push eax
push 0x1000c664
call fcn.10008b00
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x14], edx
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10005560
sub ecx, dword [ebp - 0x14]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x10]
call fcn.100072d0
push 0
push 0
push 0
push str._from
mov ecx, edi
call fcn.100088e0
push 0
push pe_overlay
push 0xffffffffffffffff
push 0x1000c680
mov ecx, edi
mov dword [ebp + 0x28], eax
call fcn.100088e0
lea ecx, [ebp]
mov dword [ebp + 0x2c], eax
mov eax, dword [0x1000f534]
push ecx
push eax
cmp dword [0x1000f538], eax
je 0x100055cc
push 0x1000f530
call fcn.10005e60
add dword [0x1000f534], 0x30
jmp 0x100055d6
mov ecx, 0x1000f530
call fcn.100058f0
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.100070d0
cmp esi, 0x270f
jl 0x10005490
jmp 0x10005602
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.100070d0
inc ebx
cmp ebx, 2
jl 0x10005480
mov ecx, edi
call fcn.10008350
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4a4]
xor ecx, ebp
call fcn.10009768
lea esp, [ebp + 0x4a8]
pop ebp
ret 4