Function at 0x418290
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push str.Crash_Report_configuration:_r_n
push edi
call fcn.0042efe0
mov ebx, dword [ebp + 0xc]
add esp, 8
cmp dword [ebx + 0x58], 0x10
lea eax, [ebx + 0x44]
jb 0x4182b8
mov eax, dword [eax]
push eax
push str.__App_Name:__s_r_n
push edi
call fcn.0042efe0
lea eax, [ebx + 0x74]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4182d2
mov eax, dword [eax]
push eax
push str.__App_Version:__s_r_n
push edi
call fcn.0042efe0
lea eax, [ebx + 0xbc]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4182ef
mov eax, dword [eax]
push eax
push str.__Mono_DLL:__s_r_n
push edi
call fcn.0042efe0
lea eax, [ebx + 0x14]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x418309
mov eax, dword [eax]
push eax
push str.__Bug_Reporter_App_Path:__s_r_n
push edi
call fcn.0042efe0
lea eax, [ebx + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x418323
mov eax, dword [eax]
push eax
push str.__Crash_Report_Path:__s_r_n
push edi
call fcn.0042efe0
cmp byte [ebx + 0xd5], 0
mov ecx, str.false
mov eax, str.true
cmove eax, ecx
push eax
push str.__Is_Editor:__s_r_n
push edi
call fcn.0042efe0
push str._r_nCrash_Report_metadata:_r_n
push edi
call fcn.0042efe0
mov eax, dword [ebx]
add esp, 0x20
mov esi, dword [eax]
cmp esi, eax
je 0x4183d0
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x418370
mov eax, dword [eax]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x41837b
mov ecx, dword [ecx]
push eax
push ecx
push str.___s___s_r_n
push edi
call fcn.0042efe0
mov eax, dword [esi + 8]
add esp, 0x10
cmp byte [eax + 0xd], 0
je 0x4183b4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4183b0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4183b0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4183a0
mov esi, eax
jmp 0x4183cc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4183cc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4183c0
cmp esi, dword [ebx]
jne 0x418365
push str._r_nAdditional_report_files:_r_n
push edi
call fcn.0042efe0
mov esi, dword [ebx + 8]
add esp, 8
cmp esi, dword [ebx + 0xc]
je 0x41852d
nop word [eax + eax]
mov edi, dword [esi + 0x10]
xor eax, eax
cmp dword [esi + 0x14], 0x10
mov ebx, esi
mov dword [ebp - 8], 0
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
jb 0x418411
mov ebx, dword [esi]
test edi, edi
je 0x41848f
push 0
push 0
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jg 0x418447
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
mov dword [ebp - 8], 0
cmovae eax, dword [ebp - 0x18]
xor ecx, ecx
mov word [eax], cx
jmp 0x41848f
mov eax, dword [ebp - 8]
cmp ecx, eax
ja 0x418464
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
mov dword [ebp - 8], ecx
cmovae eax, dword [ebp - 0x18]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x418471
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x18]
call fcn.00411920
push dword [ebp - 8]
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [esi + 0x2c], 0x10
lea edi, [esi + 0x18]
jb 0x41849a
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
mov ebx, esi
jb 0x4184a4
mov ebx, dword [esi]
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4184c3
test al, 0x10
jne 0x4184c3
mov cl, 1
jmp 0x4184c5
xor cl, cl
push edi
mov edi, dword [ebp + 8]
test cl, cl
mov ecx, str.MISSING:
mov eax, 0x46c43a
push ebx
cmove eax, ecx
push eax
push str.___s__s____s__r_n
push edi
call fcn.0042efe0
mov edx, dword [ebp - 4]
add esp, 0x14
cmp edx, 8
jb 0x41851e
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418514
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418542
push edx
push ecx
call fcn.00433b05
add esp, 8
mov eax, dword [ebp + 0xc]
add esi, 0x30
cmp esi, dword [eax + 0xc]
jne 0x4183f0
push str._r_n_r_n
push edi
call fcn.0042efe0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043f9ea
int3