Function at 0x4015e0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3cc
mov eax, dword [0x432024]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
push edi
push 0x433220
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
cmp dword [0x43325c], edx
je 0x401636
push 0x433220
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.0041f808
mov esp, ebp
pop ebp
ret
mov dword [0x43325c], 1
mov dword [esp + 0x10], edx
mov eax, dword fs:[0x18]
mov dword [esp + 0x10], eax
mov eax, dword [0x433258]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov eax, dword [0x433258]
mov dword [eax + 0x34c], ebx
mov edi, dword [0x433258]
mov esi, dword [ebx]
add edi, 0x30
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x433258]
mov esi, dword [ebx + 4]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x433258]
mov dword [ecx + 0x5f4], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x433258]
mov dword [edx + 0x18], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x1ce]
push edi
push eax
mov word [esp + 0x1d4], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x18e
lea ecx, [esp + 0x3e]
push edi
push ecx
mov word [esp + 0x44], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
push edi
push 1
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
xor eax, eax
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1cc]
push eax
push 0x104
push edi
push str.bugreport.exe
push edi
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov eax, dword [0x433260]
cmp eax, edi
je 0x401753
call eax
cmp ebx, edi
je 0x4017e3
cmp esi, edi
je 0x4017e3
cmp word [esp + 0x1c8], di
je 0x4017e3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x433258]
push eax
push ecx
push ebx
push esi
push str.bugreport__buginfo:_p:_p:_p:_lu
lea edx, [esp + 0x4c]
push 0xc8
push edx
call dword [sym.imp.MSVCR80.dll__snwprintf]
lea eax, [esp + 0x1e4]
add esp, 0x1c
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x3c]
call section..text
add esp, 4
test eax, eax
je 0x4017e3
mov ebx, dword [esp + 0x28]
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], edi
push 2
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov edx, dword [esp + 0x2c]
push edx
call ebx
jmp 0x4017e9
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
mov eax, dword [0x433264]
cmp eax, edi
je 0x4017f7
call eax
push 0x433220
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1234
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x3d4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0041f808
mov esp, ebp
pop ebp
ret