Function at 0x4b327d
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 0x4b32aa
mov dword [ebp - 0x74], 0x62b7c0
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 0x4b32d2
cmp dword [esi + 0x14], ebx
jne 0x4b32d2
cmp dword [esi + 0x18], ebx
je 0x4b32e8
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 0x4b32f7
mov dword [ebp - 8], 0x1000004
cmp byte [esi + 0x1c], bl
je 0x4b3303
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 0x4b339a
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 0x4b3342
lea edi, [ebp - 0x1c]
call fcn.00432d31
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 0x4b335c
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.0043da26
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp edi, ebx
jne 0x4b33ec
jmp 0x4b3334
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 0x4b33b4
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.0043da26
inc bl
jne 0x4b3334
xor ebx, ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4b3427
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4b341e
push 1
push dword [ebp - 0x1c]
call fcn.004bc753
pop ecx
pop ecx
xor bl, bl
lea edi, [ebp - 0x1c]
call fcn.00432d31
mov al, bl
jmp 0x4b333e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x4b3437
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov bl, 1
jmp 0x4b340f