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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffff5c
push ebx
xor ecx, ecx
mov dword [ebp - 0x10a4], ecx
mov dword [ebp - 0x10a0], ecx
mov dword [ebp - 0x109c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040489c
mov eax, dword [ebp - 8]
call fcn.0040489c
xor eax, eax
push ebp
push 0x42e150
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x42df56
lea eax, [ebp - 4]
call fcn.0042ccd0
mov eax, 0x42d98c
mov edx, 0x42d3f4
sub eax, edx
lea ecx, [ebp - 0x28]
xchg ecx, eax
call fcn.004044dc
lea eax, [ebp - 0x109c]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov ecx, eax
mov edx, 0x357
mov eax, dword [ebp - 0x28]
call fcn.0042da60
mov edx, dword [ebp - 0x109c]
lea eax, [ebp - 0x28]
call fcn.00404484
lea eax, [ebp - 0x10a0]
push eax
mov eax, dword [ebp - 8]
call fcn.004048ac
mov ecx, eax
mov edx, 0x372
mov eax, dword [ebp - 0x28]
call fcn.0042da60
mov edx, dword [ebp - 0x10a0]
lea eax, [ebp - 0x28]
call fcn.00404484
lea eax, [ebp - 0x10a4]
push eax
mov eax, dword [ebp - 8]
call fcn.004046ac
mov ecx, eax
mov edx, 0x343
mov eax, dword [ebp - 0x28]
call fcn.0042da60
mov edx, dword [ebp - 0x10a4]
lea eax, [ebp - 0x28]
call fcn.00404484
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x80]
mov edx, 0x44
call fcn.00406ed4
lea eax, [ebp - 0x38]
mov edx, 0x10
call fcn.00406ed4
mov dword [ebp - 0x80], 0x44
mov word [ebp - 0x50], 0
mov dword [ebp - 0x54], 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004048ac
mov ebx, eax
push ebx
push ebx
call sub.kernel32.dll_CreateProcessA_1
lea eax, [ebp - 0xc]
push eax
push 0x18
lea eax, [ebp - 0x98]
push eax
push 0
mov eax, dword [ebp - 0x38]
push eax
call sub.ntdll.dll_NtQueryInformationProcess
mov eax, dword [ebp - 0x94]
add eax, 8
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_ReadProcessMemory
lea eax, [ebp - 0x1098]
xor ecx, ecx
mov edx, 0x1000
call fcn.004030cc
lea eax, [ebp - 0x24]
push eax
push 0x1000
lea eax, [ebp - 0x1098]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_ReadProcessMemory
lea ecx, [ebp - 0x1098]
mov dword [ebp - 0x14], ecx
mov eax, ecx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
call fcn.004046ac
push eax
lea eax, [ebp - 0x28]
call fcn.00404904
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_WriteProcessMemory
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_ResumeThread
push 0x1f4
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e157
lea eax, [ebp - 0x10a4]
mov edx, 3
call fcn.00404410
lea eax, [ebp - 0x28]
call fcn.004043ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404410
ret