Function at 0x40e970
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x432150]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov ebx, ecx
push str.___________________DoBugReport1
push str..CrashHelperCrashHelperFilterInst.cpp
mov edi, 2
mov dword [esp + 0x30], ebx
call fcn.00420160
add esp, 8
cmp dword [0x433e44], 0
jne 0x40ec4b
mov dword [0x433e44], 1
mov dword [esp + 0x14], 0
mov eax, dword fs:[0x18]
mov dword [esp + 0x14], eax
mov eax, dword [0x433b94]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x20], ecx
mov edx, dword [0x433b94]
mov dword [edx + 0x34c], ebx
mov edi, dword [0x433b94]
mov esi, dword [ebx]
add edi, 0x30
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x433b94]
mov esi, dword [ebx + 4]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x433b94]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x5f4], ecx
call dword [0x425108]
mov edx, dword [0x433b94]
mov dword [edx + 0x18], eax
xor esi, esi
push 0x206
lea eax, [esp + 0x236]
push esi
push eax
mov word [esp + 0x23c], si
call fcn.0041c8b6
add esp, 0xc
push 0x18e
lea ecx, [esp + 0xa6]
push esi
push ecx
mov word [esp + 0xac], si
call fcn.0041c8b6
add esp, 0xc
push esi
push esi
push 1
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 1
call dword [0x4251b0]
push 0x40
mov ebx, eax
lea eax, [esp + 0x40]
push esi
push eax
mov dword [esp + 0x44], 0x44
call fcn.0041c8b6
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [0x42520c]
mov edi, 1
lea esi, [esp + 0x84]
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], edi
mov word [esp + 0x68], di
call fcn.0041d4c0
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x40eaf9
lea eax, [esp + 0x88]
push str.bugreport.exe
push eax
push str._s_s
push 0xffffffffffffffff
lea ecx, [esp + 0x240]
push 0x104
push ecx
call dword [0x4253f8]
add esp, 0x18
lea ecx, [esp + 0x84]
call dword [0x4252f0]
mov eax, dword [esp + 0x10]
push 2
push edi
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
call dword [0x425118]
mov esi, eax
mov eax, dword [0x433e50]
test eax, eax
je 0x40eb4d
call eax
push ebx
push esi
push str.___________________DoBugReport2__0x_x__0x_x
push str..CrashHelperCrashHelperFilterInst.cpp
mov edi, 2
call fcn.00420160
add esp, 0x10
test esi, esi
mov esi, dword [0x425218]
je 0x40ec22
test ebx, ebx
je 0x40ec22
cmp word [esp + 0x230], 0
je 0x40ec22
call dword [0x4250e8]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [0x433b94]
push eax
push ecx
push ebx
push str.bugreport__buginfo:_p:_p:_p:_lu
push 0xffffffffffffffff
lea edx, [esp + 0xb8]
push 0xc8
push edx
call dword [0x4253f8]
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x254]
push ecx
push str.___________________DoBugReport___s___s
push edi
push str..CrashHelperCrashHelperFilterInst.cpp
call fcn.00420090
add esp, 0x34
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x254]
push edx
call dword [0x42511c]
test eax, eax
je 0x40ec22
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
push 0xffffffffffffffff
push ebx
call dword [0x42521c]
push ebx
call esi
mov eax, dword [0x433e54]
test eax, eax
je 0x40ec30
call eax
cmp dword [0x432c04], 0
je 0x40ec62
push 0x1234
call dword [0x42520c]
push eax
call dword [0x4250dc]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.0041b911
mov esp, ebp
pop ebp
ret
mov eax, dword [0x433e48]
test eax, eax
je 0x40ec4b
mov edx, dword [esp + 0x28]
push edx
call eax
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041b911
mov esp, ebp
pop ebp
ret