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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff6b8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x93c], ecx
mov dword [ebp - 0x944], ecx
mov dword [ebp - 0x948], ecx
mov dword [ebp - 0x940], ecx
mov dword [ebp - 0x914], ecx
mov dword [ebp - 0x918], ecx
mov dword [ebp - 0x810], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
lea esi, [ebp - 0x80a]
xor eax, eax
push ebp
push 0x5cf6bd
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.005036a0
mov eax, esi
xor ecx, ecx
mov edx, 0x7ba
call fcn.005036a0
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
lea edx, [ebp - 0x810]
mov eax, dword [0x627a3c]
mov eax, dword [eax]
call fcn.00567d88
mov edx, dword [ebp - 0x810]
lea eax, [esi + 4]
mov ecx, 0xff
call fcn.00504fb8
lea eax, [ebp - 0x910]
mov edx, dword [ebx]
mov ecx, 0xff
call fcn.00504fb8
lea edx, [ebp - 0x910]
lea eax, [esi + 0x104]
mov cl, 0x64
call fcn.00503590
lea eax, [ebp - 0x910]
mov edx, dword [ebx + 8]
mov ecx, 0xff
call fcn.00504fb8
lea edx, [ebp - 0x910]
lea eax, [esi + 0x169]
mov cl, 0x64
call fcn.00503590
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x1ce], eax
lea eax, [ebp - 0x910]
mov edx, dword [ebx + 0x10]
mov ecx, 0xff
call fcn.00504fb8
lea edx, [ebp - 0x910]
lea eax, [esi + 0x1d2]
mov cl, 0x64
call fcn.00503590
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x237], eax
lea eax, [ebp - 0x918]
mov edx, 0x629922
call fcn.00504f80
mov eax, dword [ebp - 0x918]
lea edx, [ebp - 0x914]
call fcn.005ce260
mov edx, dword [ebp - 0x914]
lea eax, [ebp - 0x910]
mov ecx, 0xff
call fcn.00504fb8
lea edx, [ebp - 0x910]
lea eax, [esi + 0x23b]
mov cl, 0x64
call fcn.00503590
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x2a0], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x2a4], eax
mov ax, word [ebx + 0x30]
mov word [esi + 0x790], ax
mov ax, word [ebx + 0x32]
mov word [esi + 0x792], ax
mov al, byte [ebx + 0x34]
mov byte [esi + 0x794], al
mov al, byte [ebx + 0x35]
mov byte [esi + 0x795], al
mov al, byte [ebx + 0x36]
mov byte [esi + 0x796], al
mov al, byte [ebx + 0x37]
mov byte [esi + 0x797], al
mov al, byte [ebx + 0x38]
mov byte [esi + 0x798], al
mov dword [esi], edi
lea eax, [ebp - 0x910]
mov edx, dword [0x620a5c]
mov ecx, 0xff
call fcn.00504fb8
lea edx, [ebp - 0x910]
lea eax, [esi + 0x799]
mov cl, 0x20
call fcn.00503590
call fcn.005ce5c8
mov edi, eax
mov dword [ebx + 0x54], edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x938], eax
mov byte [ebp - 0x934], 0xb
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x930], eax
mov byte [ebp - 0x92c], 0xb
lea edx, [ebp - 0x940]
mov eax, edi
call fcn.00509998
mov eax, dword [ebp - 0x940]
lea edx, [ebp - 0x93c]
call fcn.005ce260
mov eax, dword [ebp - 0x93c]
mov dword [ebp - 0x928], eax
mov byte [ebp - 0x924], 0xb
lea eax, [ebp - 0x944]
push eax
lea edx, [ebp - 0x948]
mov eax, dword [ebx + 0x54]
call fcn.005ce608
mov ecx, dword [ebp - 0x948]
mov eax, esi
mov edx, 0x7ba
call fcn.005ce67c
mov eax, dword [ebp - 0x944]
mov dword [ebp - 0x920], eax
mov byte [ebp - 0x91c], 0xb
lea edx, [ebp - 0x938]
mov ecx, 3
mov eax, 0x5cf6d8
call fcn.0050ae44
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0x20]
call fcn.00504da4
lea eax, [ebx + 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
call fcn.005051dc
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.005051dc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x5cf677
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 0x5cf6c4
lea eax, [ebp - 0x948]
mov edx, 4
call fcn.00504d30
lea eax, [ebp - 0x918]
mov edx, 2
call fcn.00504d30
lea eax, [ebp - 0x810]
call fcn.00504d0c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00504d30
ret