Function at 0x100300ae
Capabilities:
Create process on windows
Get process heap flags
Get process heap force flags
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
mov esi, 0x100610d8
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp dword [0x10061104], ebx
je 0x100300db
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10030350
push edi
mov dword [0x10061104], 1
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov dword [ebp - 4], eax
mov eax, dword [0x10061100]
mov ecx, dword [ebp - 4]
push 0x14
mov dword [eax + 0x20], ecx
mov ecx, dword [0x10061100]
mov eax, dword [ebp + 8]
mov dword [ecx + 0x34c], eax
mov ecx, dword [0x10061100]
mov esi, dword [eax]
lea edi, [ecx + 0x30]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10061100]
mov esi, dword [eax + 4]
lea edi, [ecx + 0x80]
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x10061100]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x5f4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x10061100]
mov esi, 0x81
lea edi, [ebp - 0x3fe]
push 0x63
mov dword [ecx + 0x18], eax
mov ecx, esi
xor eax, eax
mov word [ebp - 0x400], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x1f6]
mov word [ebp - 0x1f8], bx
rep stosd dword es:[edi], eax
push 1
mov dword [ebp - 0x24], 0xc
stosw word es:[edi], ax
pop eax
mov dword [ebp - 0x20], ebx
push ebx
push ebx
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x10
mov dword [ebp + 8], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x64]
mov dword [ebp - 0x68], 0x44
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x38], 1
call fcn.1001544d
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.10030a93
push dword [eax]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x10
lea ecx, [ebp + 0xc]
call sub.MFC42u.DLL_CString::CString
lea eax, [ebp - 0x400]
push str._bugreport.exe
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
pop ecx
pop ecx
call edi
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 0xc], eax
mov eax, dword [0x10061110]
cmp eax, ebx
je 0x10030223
call eax
cmp dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10030322
cmp dword [ebp + 8], ebx
je 0x10030322
cmp word [ebp - 0x400], bx
je 0x10030322
cmp dword [0x100610f8], ebx
je 0x1003028f
mov eax, dword [0x100610f4]
cmp eax, ebx
jne 0x1003025e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov dword [ebp - 4], eax
call edi
push eax
lea eax, [ebp - 0x1f8]
push dword [0x10061100]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push str.bugreport__version:_s__buginfo:_p:_p:_p:_lu
push 0xc8
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x20
jmp 0x100302b8
call edi
push eax
lea eax, [ebp - 0x1f8]
push dword [0x10061100]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.bugreport__buginfo:_p:_p:_p:_lu
push 0xc8
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x400]
push eax
call edi
lea eax, [ebp - 0x1f8]
push eax
call edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
lea eax, [ebp - 0x1f8]
push ebx
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10030322
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push ebx
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp + 8]
call esi
mov eax, dword [0x10061114]
pop edi
cmp eax, ebx
je 0x10030333
call eax
push 0x100610d8
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]
pop esi
xor eax, eax
pop ebx
leave
ret