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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x427070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x428b50
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x428b70], 0
je 0x420f70
xor eax, eax
jmp 0x42123d
mov dword [0x428b70], 1
mov dword [ebp - 0x21c], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x21c], eax
mov eax, dword [0x428b6c]
mov ecx, dword [ebp - 0x21c]
mov dword [eax + 0x20], ecx
mov edx, dword [0x428b6c]
mov eax, dword [ebp + 8]
mov dword [edx + 0x34c], eax
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov edi, dword [0x428b6c]
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 [0x428b6c]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x428b6c]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x5f4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x428b6c]
mov dword [edx + 0x18], eax
call fcn.00401030
mov dword [ebp - 0x3d8], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00401f70
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3d0], dx
push 0x18e
push 0
lea eax, [ebp - 0x3ce]
push eax
call fcn.00401f70
add esp, 0xc
mov dword [ebp - 0x23c], 0xc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 1
push 0
push 0
push 1
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], 0x44
push 0x40
push 0
lea edx, [ebp - 0x41c]
push edx
call fcn.00401f70
add esp, 0xc
mov dword [ebp - 0x230], 0
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x3f4], 1
mov ecx, 1
mov word [ebp - 0x3f0], cx
mov dword [ebp - 0x42c], 0
push 0x428b78
call fcn.00401f47
add esp, 4
test eax, eax
jbe 0x4210fa
mov dword [ebp - 0x42c], 0x428b78
push 0
lea edx, [ebp - 0x210]
push edx
push 0x104
push 0
push str.bugreport.exe
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 2
push 1
push 0
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [ebp - 0x3d4], eax
cmp dword [0x428b74], 0
je 0x421159
call dword [0x428b74]
cmp dword [ebp - 0x3d4], 0
je 0x42120d
cmp dword [ebp - 0x424], 0
je 0x42120d
movzx edx, word [ebp - 0x210]
test edx, edx
je 0x42120d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [0x428b6c]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x424]
push edx
push str.bugreport__buginfo:_p:_p:_p:_lu
lea eax, [ebp - 0x3d0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x420]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42120d
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x428d80], 0
je 0x421229
call dword [0x428d80]
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.00401ade
mov esp, ebp
pop ebp
ret