Function at 0x4050c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x4f8458]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov esi, ecx
push str.___________________DoBugReport1
push str..CrashHelperCrashHelperFilterInst.cpp
mov edi, 2
mov dword [esp + 0x1c], esi
call fcn.004bc4a0
xor ebx, ebx
add esp, 8
cmp dword [0x4ff878], ebx
jne 0x4053a2
mov dword [0x4ff878], 1
mov dword [esp + 0x10], ebx
mov eax, dword fs:[0x18]
mov dword [esp + 0x10], eax
mov eax, dword [0x4ff874]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov edx, dword [0x4ff874]
mov eax, dword [esp + 0x14]
mov dword [edx + 0x34c], esi
mov edi, dword [0x4ff874]
mov esi, dword [esi]
mov edx, dword [ebp + 8]
add edi, 0x30
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x4ff874]
mov esi, dword [eax + 4]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4ff874]
mov dword [ecx + 0x5f4], edx
call dword [0x4cf304]
mov ecx, dword [0x4ff874]
push 0x206
lea edx, [esp + 0x236]
push ebx
mov dword [ecx + 0x18], eax
push edx
mov word [esp + 0x23c], bx
call fcn.0049d900
add esp, 0xc
push 0x18e
lea eax, [esp + 0xa6]
push ebx
push eax
mov word [esp + 0xac], bx
call fcn.0049d900
add esp, 0xc
push ebx
push ebx
mov edi, 1
push edi
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
call dword [0x4cf31c]
push 0x40
lea edx, [esp + 0x40]
push ebx
push edx
mov esi, eax
mov dword [esp + 0x44], 0x44
call fcn.0049d900
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [0x4cf320]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x64], edi
mov word [esp + 0x68], di
call fcn.004bb1e0
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x405246
lea eax, [esp + 0x88]
push str.bugreport.exe
push eax
push str._s_s
push 0xffffffffffffffff
lea eax, [esp + 0x240]
push 0x104
push eax
call fcn.004945be
add esp, 0x18
cmp dword [esp + 0x9c], 8
jb 0x405282
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00493b60
add esp, 4
mov eax, dword [esp + 0xc]
push 2
push edi
push ebx
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
call dword [0x4cf2e0]
mov edi, eax
mov eax, dword [0x4ff884]
cmp eax, ebx
mov dword [esp + 0x34], edi
je 0x4052a9
call eax
push esi
push edi
push str.___________________DoBugReport2__0x_x__0x_x
push str..CrashHelperCrashHelperFilterInst.cpp
mov edi, 2
call fcn.004bc4a0
mov edi, dword [0x4cf2e8]
add esp, 0x10
cmp dword [esp + 0x34], ebx
je 0x40537a
cmp esi, ebx
je 0x40537a
cmp word [esp + 0x230], bx
je 0x40537a
call dword [0x4cf300]
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [0x4ff874]
push eax
push ecx
push esi
push str.bugreport__buginfo:_p:_p:_p:_lu
push 0xffffffffffffffff
lea edx, [esp + 0xb8]
push 0xc8
push edx
call fcn.004945be
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x254]
push ecx
push str.___________________DoBugReport___s___s
push 2
push str..CrashHelperCrashHelperFilterInst.cpp
call fcn.004bc3d0
add esp, 0x34
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x254]
push edx
call dword [0x4cf2e4]
test eax, eax
je 0x40537a
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
push 0xffffffffffffffff
push esi
call dword [0x4cf2ec]
push esi
call edi
mov eax, dword [0x4ff888]
cmp eax, ebx
je 0x405388
call eax
cmp dword [0x4fa60c], ebx
je 0x4053b9
push 0x1234
call dword [0x4cf320]
push eax
call dword [0x4cf2f0]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.00493b65
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4ff87c]
cmp eax, ebx
je 0x4053a2
mov edx, dword [esp + 0x14]
push edx
call eax
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00493b65
mov esp, ebp
pop ebp
ret