Function at 0x4bb234
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push edi
push 0x44
pop edi
xor ebx, ebx
push edi
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0xc], ebx
call fcn.00402394
add esp, 0xc
mov dword [ebp - 0x7c], edi
cmp byte [esi + 8], bl
je 0x4bb261
mov dword [ebp - 0x74], 0x63e360
xor eax, eax
cmp byte [esi + 1], al
mov dword [ebp - 0x50], 1
setne al
dec eax
and eax, 5
mov word [ebp - 0x4c], ax
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x4bb289
cmp dword [esi + 0x14], ebx
jne 0x4bb289
cmp dword [esi + 0x18], ebx
je 0x4bb29f
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x50], 0x101
mov dword [ebp - 0x3c], eax
mov dword [ebp - 8], ebx
cmp dword [esi + 0xc], ebx
je 0x4bb2ae
mov dword [ebp - 8], 0x1000004
cmp byte [esi + 0x1c], bl
je 0x4bb2ba
or dword [ebp - 8], 0x1000000
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x4bb351
or dword [ebp - 8], 0x400
push ebx
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x4bb2f9
lea edi, [ebp - 0x1c]
call fcn.004362d8
xor al, al
pop edi
pop ebx
leave
ret
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4bb313
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
movzx ecx, byte [esi + 2]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
push ecx
push ebx
push ebx
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.00442850
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp edi, ebx
jne 0x4bb3a3
jmp 0x4bb2eb
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4bb36b
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
movzx ecx, byte [esi + 2]
push ebx
push ebx
push dword [ebp - 8]
push ecx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
neg ebx
sbb bl, bl
call fcn.00442850
inc bl
jne 0x4bb2eb
xor ebx, ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4bb3de
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4bb3d5
push 1
push dword [ebp - 0x1c]
call fcn.004c2618
pop ecx
pop ecx
xor bl, bl
lea edi, [ebp - 0x1c]
call fcn.004362d8
mov al, bl
jmp 0x4bb2f5
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x4bb3ee
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov bl, 1
jmp 0x4bb3c6