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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xabc
push ebx
push esi
push edi
push 0x452098
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4520b4], 0
je 0x428667
xor eax, eax
jmp 0x428a77
mov dword [0x4520b4], 1
mov dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 4], eax
mov eax, dword [0x4520b0]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x20], ecx
mov edx, dword [0x4520b0]
mov eax, dword [ebp + 8]
mov dword [edx + 0x34c], eax
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov edi, dword [0x4520b0]
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 [0x4520b0]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4520b0]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x5f4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x4520b0]
mov dword [edx + 0x18], eax
mov word [ebp - 0x20c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x39c], 0
mov ecx, 0x63
xor eax, eax
lea edi, [ebp - 0x39a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x3a8], 0xc
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x3a0], 1
push 0
push 0
push 1
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3f0], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x3ec]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3f0], 0x44
mov dword [ebp - 0x400], 0
xor ecx, ecx
mov dword [ebp - 0x3fc], ecx
mov dword [ebp - 0x3f8], ecx
mov dword [ebp - 0x3f4], ecx
mov dword [ebp - 0x444], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x440]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x444], 0x44
mov dword [ebp - 0x454], 0
xor edx, edx
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x44c], edx
mov dword [ebp - 0x448], edx
mov dword [ebp - 0x418], 1
mov word [ebp - 0x414], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x3c4], 1
mov word [ebp - 0x3c0], 1
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0
push str.bugreport.exe
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 2
push 1
push 0
lea ecx, [ebp - 0x458]
push ecx
mov edx, dword [ebp - 0x458]
push edx
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [ebp - 0x458]
push ecx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [ebp - 0x45c], eax
cmp dword [0x4520bc], 0
je 0x42885f
call dword [0x4520bc]
cmp dword [ebp - 0x45c], 0
je 0x428a47
cmp dword [ebp - 0x3ac], 0
je 0x428a47
mov edx, dword [ebp - 0x20c]
and edx, 0xffff
test edx, edx
je 0x428a47
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [0x4520b0]
push eax
mov ecx, dword [ebp - 0x458]
push ecx
mov edx, dword [ebp - 0x3ac]
push edx
push str.bugreport__buginfo:_p:_p:_p:_lu
lea eax, [ebp - 0x39c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov word [ebp - 0x664], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x662]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x86c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x86a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x870], eax
push 0x104
lea ecx, [ebp - 0x664]
push ecx
mov edx, dword [ebp - 0x870]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
lea eax, [ebp - 0x86c]
push eax
mov ecx, dword [ebp - 0x870]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x86c]
push edx
call fcn.00401226
add esp, 8
mov dword [ebp - 0x874], eax
cmp dword [ebp - 0x874], 0
je 0x42895c
mov eax, dword [ebp - 0x874]
mov word [eax], 0
mov word [ebp - 0xa7c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa7a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [0x4520b0], 0
je 0x4289b0
mov ecx, dword [0x4520b0]
mov edx, dword [ecx + 0x40]
push edx
mov eax, dword [0x4520b0]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [0x4520b0]
mov eax, dword [edx + 0x30]
push eax
push str._d:ExceptionCode_d_ExceptionAddress_p_NumberParameters_d_
lea ecx, [ebp - 0xa7c]
push ecx
call fcn.0042907d
add esp, 0x14
cmp dword [0x4520b8], 0
jne 0x4289ec
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x86c]
push ecx
push 0
push 0
push 1
push 0
push 0
lea edx, [ebp - 0xa7c]
push edx
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x400]
push ecx
lea edx, [ebp - 0x3f0]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x428a47
mov edx, dword [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3ac]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x3ac]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4520c0], 0
je 0x428a63
call dword [0x4520c0]
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
pop ebx
mov esp, ebp
pop ebp
ret