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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x5155a0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5153cc], 0
jne 0x49a4a6
push ebx
push edi
mov dword [0x5153cc], 1
mov dword [ebp - 0x3a0], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x3a0], eax
mov ecx, dword [0x5153c8]
mov eax, dword [ebp - 0x3a0]
mov dword [ecx + 0x20], eax
mov eax, dword [0x5153c8]
mov dword [eax + 0x34c], esi
mov eax, dword [esi]
mov ecx, dword [0x5153c8]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x40], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x50], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x60], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [ecx + 0x70], xmm0
mov edi, dword [0x5153c8]
mov ecx, 0xb3
mov esi, dword [esi + 4]
sub edi, 0xffffff80
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x5153c8]
mov dword [eax + 0x5f4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5153c8]
push 0x208
push 0
mov dword [ecx + 0x18], eax
lea eax, [ebp - 0x39c]
push eax
call fcn.004a83c0
push 0x190
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.004a83c0
add esp, 0x18
mov dword [ebp - 0x3ac], 0xc
lea eax, [ebp - 0x3ac]
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 1
push 0
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x40
mov edi, eax
mov dword [ebp - 0x400], 0x44
lea eax, [ebp - 0x3fc]
push 0
push eax
call fcn.004a83c0
add esp, 0xc
mov dword [ebp - 0x3d4], 1
mov eax, 1
xorps xmm0, xmm0
mov word [ebp - 0x3d0], ax
lea eax, [ebp - 0x39c]
movups xmmword [ebp - 0x3bc], xmm0
push 0
push eax
push 0x104
push 0
push str.bugreport.exe
push dword [0x5154d8]
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 [0x5153c0]
test eax, eax
je 0x49a3f5
call eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x49a484
test edi, edi
je 0x49a484
cmp word [ebp - 0x39c], 0
je 0x49a484
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x5153c8]
lea eax, [ebp - 0x194]
push ebx
push edi
push str.bugreport__buginfo:_p:_p:_p:_lu
push 0xc8
push eax
call fcn.004385e0
add esp, 0x1c
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x49a484
push dword [ebp - 0x3bc]
call esi
push dword [ebp - 0x3b8]
call esi
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov eax, dword [0x5153c4]
pop edi
pop ebx
test eax, eax
je 0x49a494
call eax
push 0x1234
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004a578d
mov esp, ebp
pop ebp
ret