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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x42d030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x42ddb0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
cmp dword [0x42ddf8], edx
je 0x4014f7
push 0x42ddb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e838
mov esp, ebp
pop ebp
ret
push esi
push edi
mov dword [0x42ddf8], 1
mov dword [ebp - 0x3a0], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x3a0], eax
mov eax, dword [0x42ddf4]
mov ecx, dword [ebp - 0x3a0]
mov dword [eax + 0x20], ecx
mov eax, dword [0x42ddf4]
mov dword [eax + 0x34c], ebx
mov edi, dword [0x42ddf4]
mov esi, dword [ebx]
add edi, 0x30
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x42ddf4]
mov esi, dword [ebx + 4]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x42ddf4]
mov dword [ecx + 0x5f4], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x42ddf4]
mov dword [edx + 0x18], eax
xor edi, edi
push 0x206
lea eax, [ebp - 0x39a]
push edi
push eax
mov word [ebp - 0x39c], di
call fcn.0041ecbc
push 0x18e
lea ecx, [ebp - 0x192]
push edi
push ecx
mov word [ebp - 0x194], di
call fcn.0041ecbc
add esp, 0x18
push edi
push edi
mov ebx, 1
push ebx
lea edx, [ebp - 0x3bc]
push edx
mov dword [ebp - 0x3bc], 0xc
mov dword [ebp - 0x3b8], edi
mov dword [ebp - 0x3b4], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x40
mov esi, eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x408], 0x44
call fcn.0041ecbc
add esp, 0xc
push edi
lea ecx, [ebp - 0x39c]
push ecx
push 0x104
push edi
xor eax, eax
push str.bugreport.exe
push edi
mov dword [ebp - 0x3b0], edi
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x3dc], 0x81
mov word [ebp - 0x3d8], bx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov eax, dword [0x42ddfc]
cmp eax, edi
je 0x401656
call eax
cmp ebx, edi
je 0x401715
cmp esi, edi
je 0x401715
cmp word [ebp - 0x39c], di
je 0x401715
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [0x42ddf4]
push eax
push edx
push ebx
push esi
push str.bugreport__buginfo:_p:_p:_p:_lu
lea eax, [ebp - 0x194]
push 0xc8
push eax
call dword [sym.imp.MSVCR80.dll__snwprintf]
add esp, 0x1c
lea ecx, [ebp - 0x3b0]
push ecx
lea edx, [ebp - 0x408]
push edx
push edi
push edi
push edi
push 1
push edi
push edi
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x39c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40170e
mov edx, dword [ebp - 0x3b0]
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x3c4]
push eax
mov dword [ebp - 0x3c0], edi
push 2
mov dword [ebp - 0x3c4], esi
mov dword [ebp - 0x3c0], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, dword [ebp - 0x3b0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3ac]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x42de00]
cmp eax, edi
pop edi
pop esi
je 0x401729
call eax
push 0x42ddb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1234
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041e838
mov esp, ebp
pop ebp
ret