Function at 0x408ec0
Capabilities:
Create process on windows
Get process heap flags
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x4e7180
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4e737c], 0
je 0x408ef0
xor eax, eax
jmp 0x40917d
mov dword [0x4e737c], 1
mov dword [ebp - 0x218], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x218], eax
mov eax, dword [0x4e7378]
mov ecx, dword [ebp - 0x218]
mov dword [eax + 0x20], ecx
mov edx, dword [0x4e7378]
mov eax, dword [ebp + 8]
mov dword [edx + 0x34c], eax
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov edi, dword [0x4e7378]
add edi, 0x30
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 4]
mov edi, dword [0x4e7378]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4e7378]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x5f4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x4e7378]
mov dword [edx + 0x18], eax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0049d120
add esp, 0xc
mov word [ebp - 0x3c8], 0
push 0x18e
push 0
lea ecx, [ebp - 0x3c6]
push ecx
call fcn.0049d120
add esp, 0xc
mov dword [ebp - 0x234], 0xc
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 1
push 0
push 0
push 1
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], 0x44
push 0x40
push 0
lea eax, [ebp - 0x40c]
push eax
call fcn.0049d120
add esp, 0xc
mov dword [ebp - 0x228], 0
xor ecx, ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x3e4], 1
mov word [ebp - 0x3e0], 1
push 0
lea edx, [ebp - 0x210]
push edx
push 0x104
push 0
push str.bugreport.exe
mov ecx, 0x4e74d8
call fcn.004683f0
push eax
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 dword [ebp - 0x214], eax
cmp dword [0x4e7380], 0
je 0x409094
call dword [0x4e7380]
cmp dword [ebp - 0x214], 0
je 0x40914d
cmp dword [ebp - 0x414], 0
je 0x40914d
movzx eax, word [ebp - 0x210]
test eax, eax
je 0x40914d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, dword [0x4e7378]
push ecx
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 0x414]
push eax
push str.bugreport__buginfo:_p:_p:_p:_lu
push 0xc8
lea ecx, [ebp - 0x3c8]
push ecx
call fcn.0049fbe2
add esp, 0x1c
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x3c8]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40914d
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4e7384], 0
je 0x409169
call dword [0x4e7384]
push 0x1234
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret