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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x14c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00401974
xor eax, eax
push ebp
push 0x402b97
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x78]
xor ecx, ecx
mov edx, 0x44
call fcn.00401378
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x48], 5
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00401984
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x402b5b
mov byte [ebp - 6], 0
xor edx, edx
push ebp
push 0x402b54
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x14c]
xor eax, eax
call fcn.00401318
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 0x148]
call fcn.00401c64
mov eax, dword [ebp - 0x148]
call fcn.00401c74
mov ebx, eax
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x154]
mov edx, ebx
call fcn.00401c28
mov eax, dword [ebp - 0x154]
call fcn.00401c74
mov edx, eax
lea eax, [ebp - 0x150]
call fcn.00401c28
mov eax, dword [ebp - 0x150]
call fcn.00401c84
mov word [ebp - 0x20], ax
mov dword [ebp - 0x144], 0x10002
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x402b0d
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xa0]
add eax, 8
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x402b0d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.00402764
test eax, eax
jl 0x402b0d
test esi, esi
je 0x402b0d
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x14], eax
push 4
push 0x3000
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402b0d
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x54]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x402b0d
mov eax, dword [ebp - 0x14]
call fcn.00402758
mov edi, eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jb 0x402abe
inc eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebx + ebx*4]
mov edx, dword [edi + eax*8 + 0x10]
push edx
mov edx, dword [edi + eax*8 + 0x14]
add edx, esi
push edx
mov eax, dword [edi + eax*8 + 0xc]
add eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_WriteProcessMemory
inc ebx
dec dword [ebp - 0x24]
jne 0x402a94
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xa0]
add eax, 8
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x402b0d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_SetThreadContext
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
mov al, byte [ebp - 6]
mov byte [ebp - 5], al
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x34]
call fcn.004025d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402b5b
cmp byte [ebp - 6], 0
jne 0x402b38
push 0
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_TerminateProcess
jmp 0x402b41
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402b9e
lea eax, [ebp - 0x154]
mov edx, 2
call fcn.00401b54
lea eax, [ebp - 0x14c]
call fcn.004016dc
lea eax, [ebp - 0x148]
call fcn.00401b3c
lea eax, [ebp - 4]
call fcn.004016dc
ret