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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
xor ebx, ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404bd8
mov eax, dword [ebp - 0xc]
call fcn.00404bd8
mov eax, dword [ebp + 8]
call fcn.00404bd8
xor eax, eax
push ebp
push 0x4e6714
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ee084]
call fcn.00409378
test al, al
jne 0x4e644c
push 0
push 0x4e672c
push dword [0x4ee084]
push 0x4e6760
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00404aa8
mov eax, dword [ebp - 0x80]
mov cx, word [0x4e677c]
mov dl, 1
call fcn.00432c28
mov eax, dword [ebp - 4]
call fcn.0045dc48
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004e0e10
mov eax, dword [0x4ee084]
call fcn.00409378
test al, al
jne 0x4e6495
push 0
push 0x4e6788
push dword [0x4ee084]
push 0x4e67c0
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.00404aa8
mov eax, dword [ebp - 0x84]
mov cx, word [0x4e677c]
mov dl, 1
call fcn.00432c28
jmp 0x4e66b9
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403178
lea eax, [ebp - 0x7c]
xor ecx, ecx
mov edx, 0x10
call fcn.00403178
mov dword [ebp - 0x6c], 0x44
push 0x4e67e0
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
call fcn.0045734c
push dword [ebp - 0x88]
push 0x4e67f0
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 8]
call fcn.004e0c14
push dword [ebp - 0x8c]
push 0x4e6800
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00404aa8
cmp dword [ebp + 8], 0
je 0x4e6525
push dword [ebp - 0x24]
push 0x4e6810
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404aa8
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x90]
mov eax, dword [0x4ee084]
call fcn.0040942c
mov eax, dword [ebp - 0x90]
call fcn.00404be8
push eax
push 0
push 0x224
push 0
push 0
push 0
push 0x4e6820
push dword [0x4ee084]
push 0x4e6820
push dword [ebp - 0x24]
lea eax, [ebp - 0x94]
mov edx, 4
call fcn.00404aa8
mov eax, dword [ebp - 0x94]
call fcn.00404be8
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4e65b5
push 0
mov cx, word [0x4e677c]
mov dl, 1
mov eax, 0x4e682c
call fcn.00432c28
jmp 0x4e66b9
push 0
call fcn.004e807b
shr eax, 0x1f
jne 0x4e65c8
push ebp
call fcn.004e632c
pop ecx
lea edx, [ebp - 0x98]
mov eax, dword [0x4ee084]
call fcn.0040942c
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x28]
mov ecx, 0x4e6848
call fcn.00404a34
mov eax, dword [ebp - 0x28]
call fcn.004049e8
mov edx, eax
inc edx
lea eax, [ebp - 0x28]
call fcn.00404d74
mov eax, dword [ebp - 0x28]
call fcn.004049e8
mov ebx, eax
lea eax, [ebp - 0x28]
call fcn.00404c40
mov byte [eax + ebx - 1], 0
push 4
push 0x1000
push 0x104
push 0
mov eax, dword [ebp - 0x7c]
push eax
call fcn.004e8085
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x28]
call fcn.004049e8
push eax
mov eax, dword [ebp - 0x28]
call fcn.00404be8
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0x4e6854
push 0x4e6864
call sub.KERNEL32.DLL_GetModuleHandleA
push eax
call sub.KERNEL32.DLL_GetProcAddress
push eax
push 0
push 0
mov eax, dword [ebp - 0x7c]
push eax
call fcn.004e834d
mov dword [ebp - 0x14], eax
push 0x7d0
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_CloseHandle
push 0x8000
push 0x104
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.KERNEL32.DLL_VirtualFreeEx
mov eax, dword [ebp - 0x78]
push eax
call sub.KERNEL32.DLL_ResumeThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e671b
lea eax, [ebp - 0x98]
mov edx, 4
call fcn.0040474c
lea eax, [ebp - 0x88]
call fcn.00404728
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.0040474c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040474c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040474c
lea eax, [ebp + 8]
call fcn.00404728
ret