Function at 0x6006a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x600946
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00600648
lea eax, [ebx + 0x68]
xor ecx, ecx
mov edx, 0x10
call fcn.0040740c
movzx eax, byte [ebx + 0x64]
mov eax, dword [eax*4 + 0x691e24]
mov dword [ebp - 0xc], eax
xor eax, eax
mov esi, 0x691e54
mov edx, eax
cmp dl, 7
ja 0x600701
and edx, 0x7f
movzx ecx, byte [ebx + 0x50]
bt ecx, edx
jae 0x600708
mov edx, dword [esi]
add dword [ebp - 0xc], edx
inc eax
add esi, 4
cmp al, 8
jne 0x6006f0
lea edx, [ebp - 0x58]
mov eax, dword [ebx + 0x48]
call fcn.00423c40
mov esi, dword [ebp - 0x58]
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 0x54]
call fcn.00423c40
mov edi, dword [ebp - 0x5c]
mov eax, ebx
call fcn.006005cc
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x600743
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x600754
mov eax, ebx
call fcn.006005cc
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.005d4c30
mov dl, 1
mov eax, dword [0x5ff5e4]
call fcn.00407988
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x5ff5e4]
call fcn.00407988
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x600924
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x60]
call fcn.005ffb24
test byte [ebx + 0x79], 2
je 0x6007d7
test byte [ebx + 0x79], 4
setne cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005ff848
or dword [ebp - 0x28], 0x100
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0060106c
mov dword [ebp - 0x18], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0060106c
mov dword [ebp - 0x1c], eax
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0060106c
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x68]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
test byte [ebx + 0x79], 2
setne al
neg al
sbb eax, eax
push eax
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.0040a688
push eax
push esi
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x600817
mov eax, ebx
call fcn.00600560
call fcn.0042c728
test byte [ebx + 0x79], 2
je 0x6008b0
test byte [ebx + 0x79], 4
je 0x600835
mov edx, 3
mov eax, ebx
call fcn.00600680
jmp 0x600841
mov edx, 2
mov eax, ebx
call fcn.00600680
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0060105c
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x5febdc]
call fcn.00600014
mov esi, eax
mov dword [ebx + 0x88], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], 0x600aa4
mov eax, esi
call fcn.004c0ae8
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0060105c
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.00600c10
test byte [ebx + 0x79], 4
je 0x6008fe
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0060105c
mov edx, eax
mov eax, dword [ebx + 0x90]
call fcn.00600c10
jmp 0x6008fe
cmp byte [ebx + 0x78], 0
je 0x6008ec
mov edx, 1
mov eax, ebx
call fcn.00600680
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x5fea14]
call fcn.005ffbcc
mov esi, eax
mov dword [ebx + 0x88], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], 0x600aa4
mov eax, esi
call fcn.004c0ae8
jmp 0x6008fe
push 0xffffffffffffffff
mov eax, dword [ebx + 0x68]
push eax
call sub.user32.dll_WaitForInputIdle
mov eax, ebx
call fcn.00600668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60092b
mov eax, dword [ebp - 4]
call fcn.004079b8
mov eax, dword [ebp - 8]
call fcn.004079b8
lea eax, [ebp - 0x10]
call fcn.005d4d6c
ret