Function at 0x4cf314
Capabilities:
Access peb ldr_data
Create process on windows
Create process suspended
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff6d8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x91c], ecx
mov dword [ebp - 0x924], ecx
mov dword [ebp - 0x928], ecx
mov dword [ebp - 0x920], ecx
mov dword [ebp - 0x8f4], ecx
mov dword [ebp - 0x8f8], ecx
mov dword [ebp - 0x7f0], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
lea edi, [ebp - 0x7e9]
xor eax, eax
push ebp
push 0x4cf614
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.004036a0
mov eax, edi
xor ecx, ecx
mov edx, 0x799
call fcn.004036a0
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
lea edx, [ebp - 0x7f0]
mov eax, dword [0x526a2c]
mov eax, dword [eax]
call fcn.00467d08
mov edx, dword [ebp - 0x7f0]
lea eax, [edi + 4]
mov ecx, 0xff
call fcn.00404fb8
lea eax, [ebp - 0x8f0]
mov edx, dword [ebx]
mov ecx, 0xff
call fcn.00404fb8
lea edx, [ebp - 0x8f0]
lea eax, [edi + 0x104]
mov cl, 0x64
call fcn.00403590
lea eax, [ebp - 0x8f0]
mov edx, dword [ebx + 8]
mov ecx, 0xff
call fcn.00404fb8
lea edx, [ebp - 0x8f0]
lea eax, [edi + 0x169]
mov cl, 0x64
call fcn.00403590
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x1ce], eax
lea eax, [ebp - 0x8f0]
mov edx, dword [ebx + 0x10]
mov ecx, 0xff
call fcn.00404fb8
lea edx, [ebp - 0x8f0]
lea eax, [edi + 0x1d2]
mov cl, 0x64
call fcn.00403590
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x237], eax
lea eax, [ebp - 0x8f8]
mov edx, 0x528922
call fcn.00404f80
mov eax, dword [ebp - 0x8f8]
lea edx, [ebp - 0x8f4]
call fcn.004ce1e0
mov edx, dword [ebp - 0x8f4]
lea eax, [ebp - 0x8f0]
mov ecx, 0xff
call fcn.00404fb8
lea edx, [ebp - 0x8f0]
lea eax, [edi + 0x23b]
mov cl, 0x64
call fcn.00403590
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x2a0], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x2a4], eax
mov ax, word [ebx + 0x30]
mov word [edi + 0x790], ax
mov ax, word [ebx + 0x32]
mov word [edi + 0x792], ax
mov al, byte [ebx + 0x34]
mov byte [edi + 0x794], al
mov al, byte [ebx + 0x35]
mov byte [edi + 0x795], al
mov al, byte [ebx + 0x36]
mov byte [edi + 0x796], al
mov al, byte [ebx + 0x37]
mov byte [edi + 0x797], al
mov al, byte [ebx + 0x38]
mov byte [edi + 0x798], al
mov dword [edi], esi
call fcn.004ce548
mov esi, eax
mov dword [ebx + 0x54], esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x918], eax
mov byte [ebp - 0x914], 0xb
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x910], eax
mov byte [ebp - 0x90c], 0xb
lea edx, [ebp - 0x920]
mov eax, esi
call fcn.00409990
mov eax, dword [ebp - 0x920]
lea edx, [ebp - 0x91c]
call fcn.004ce1e0
mov eax, dword [ebp - 0x91c]
mov dword [ebp - 0x908], eax
mov byte [ebp - 0x904], 0xb
lea eax, [ebp - 0x924]
push eax
lea edx, [ebp - 0x928]
mov eax, dword [ebx + 0x54]
call fcn.004ce588
mov ecx, dword [ebp - 0x928]
mov eax, edi
mov edx, 0x799
call fcn.004ce5fc
mov eax, dword [ebp - 0x924]
mov dword [ebp - 0x900], eax
mov byte [ebp - 0x8fc], 0xb
lea edx, [ebp - 0x918]
mov ecx, 3
mov eax, 0x4cf630
call fcn.0040ae3c
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0x20]
call fcn.00404da4
lea eax, [ebx + 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004051dc
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004051dc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4cf5ce
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf61b
lea eax, [ebp - 0x928]
mov edx, 4
call fcn.00404d30
lea eax, [ebp - 0x8f8]
mov edx, 2
call fcn.00404d30
lea eax, [ebp - 0x7f0]
call fcn.00404d0c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404d30
ret