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

Disassembly:
sub esp, 0x404
mov eax, dword [0x447724]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
push ebp
push 0x44c25c
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebp, ebp
cmp dword [0x44e244], ebp
jne 0x4197a9
push esi
push edi
mov dword [0x44e244], 1
mov dword [esp + 0x14], ebp
mov eax, dword fs:[0x18]
mov dword [esp + 0x14], eax
mov eax, dword [0x44e240]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x20], ecx
mov edx, dword [0x44e240]
mov dword [edx + 0x34c], ebx
mov edi, dword [0x44e240]
mov esi, dword [ebx]
add edi, 0x30
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x44e240]
mov esi, dword [ebx + 4]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x44e240]
mov ecx, dword [esp + 0x418]
mov dword [eax + 0x5f4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x44e240]
mov dword [edx + 0x18], eax
push 0x206
lea eax, [esp + 0x20e]
push ebp
push eax
mov word [esp + 0x214], bp
call sub.MSVCR80.dll_memset
push 0x18e
lea ecx, [esp + 0x8a]
push ebp
push ecx
mov word [esp + 0x90], bp
call sub.MSVCR80.dll_memset
add esp, 0x18
push ebp
push ebp
mov ebx, 1
push ebx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x40
mov esi, eax
lea eax, [esp + 0x3c]
push ebp
push eax
mov dword [esp + 0x40], 0x44
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
lea ecx, [esp + 0x20c]
push ecx
push 0x104
push ebp
push str.bugreport.exe
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x78], ebx
mov word [esp + 0x7c], bx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
mov eax, dword [esp + 0x10]
push 2
push ebx
push ebp
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, eax
mov eax, dword [0x44e248]
cmp eax, ebp
je 0x419705
call eax
cmp edi, ebp
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x419787
cmp esi, ebp
je 0x419787
cmp word [esp + 0x208], bp
je 0x419787
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [0x44e240]
push eax
push ecx
push esi
lea edx, [esp + 0x88]
push str.bugreport__buginfo:_p:_p:_p:_lu
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebp
push ebp
push ebp
push ebx
push ebp
push ebp
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x419787
mov ecx, dword [esp + 0x18]
push ecx
call edi
mov edx, dword [esp + 0x1c]
push edx
call edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
mov eax, dword [0x44e24c]
cmp eax, ebp
pop edi
pop esi
je 0x419797
call eax
push 0x1234
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x408]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004351a6
add esp, 0x404
ret