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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x48f40c
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x48f404], 0
jne 0x40d3e2
push ebx
push edi
mov dword [0x48f404], 1
mov dword [ebp - 0x3a0], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x3a0], eax
mov ecx, dword [0x48f408]
mov eax, dword [ebp - 0x3a0]
mov dword [ecx + 0x20], eax
mov eax, dword [0x48f408]
mov dword [eax + 0x34c], esi
mov eax, dword [esi]
mov ecx, dword [0x48f408]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x40], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x50], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x60], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [ecx + 0x70], xmm0
mov edi, dword [0x48f408]
mov ecx, 0xb3
mov esi, dword [esi + 4]
sub edi, 0xffffff80
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x48f408]
mov dword [eax + 0x5f4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x48f408]
push 0x208
push 0
mov dword [ecx + 0x18], eax
lea eax, [ebp - 0x39c]
push eax
call fcn.00424870
push 0x190
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.00424870
add esp, 0x18
mov dword [ebp - 0x3ac], 0xc
lea eax, [ebp - 0x3ac]
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 1
push 0
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x40
mov edi, eax
mov dword [ebp - 0x400], 0x44
lea eax, [ebp - 0x3fc]
push 0
push eax
call fcn.00424870
add esp, 0xc
mov dword [ebp - 0x3d4], 1
mov eax, 1
xorps xmm0, xmm0
mov word [ebp - 0x3d0], ax
lea eax, [ebp - 0x39c]
movups xmmword [ebp - 0x3bc], xmm0
push 0
push eax
push 0x104
push 0
push str.bugreport.exe
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov eax, dword [0x48f2e8]
test eax, eax
je 0x40d331
call eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x40d3c0
test edi, edi
je 0x40d3c0
cmp word [ebp - 0x39c], 0
je 0x40d3c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x48f408]
lea eax, [ebp - 0x194]
push ebx
push edi
push str.bugreport__buginfo:_p:_p:_p:_lu
push 0xc8
push eax
call fcn.004012f0
add esp, 0x1c
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40d3c0
push dword [ebp - 0x3bc]
call esi
push dword [ebp - 0x3b8]
call esi
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov eax, dword [0x48f2ec]
pop edi
pop ebx
test eax, eax
je 0x40d3d0
call eax
push 0x1234
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00422308
mov esp, ebp
pop ebp
ret