Function at 0x4b09e8
Capabilities:
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
mov esi, 0x504c00
lea edi, [ebp - 8]
xor eax, eax
push ebp
push 0x4b0ce3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4b0d00
call fcn.004aff38
mov eax, dword [0x4fea14]
cmp byte [eax], 0
jne 0x4b0a3b
mov eax, 0x4b0d4c
call fcn.004ab2d0
cmp dword [0x504bfc], 0
jne 0x4b0a4e
mov eax, 0x4b0dcc
call fcn.004ab2d0
inc dword [esi]
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x14], eax
push edi
call sub.kernel32.dll_QueryPerformanceCounter_1
test eax, eax
jne 0x4b0a68
push edi
call sub.kernel32.dll_GetSystemTimeAsFileTime
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
mov eax, dword [esi]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0
mov eax, dword [edi]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
lea edx, [ebp - 0x94]
mov ecx, 4
mov eax, 0x4b0e20
call fcn.0040e38c
push 0
push 0
push 0x2000
push 0x2000
push 1
push 6
push 0x40080003
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateNamedPipeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4b0b0f
call sub.kernel32.dll_GetLastError
cmp eax, 0xe7
je 0x4b0a4e
mov eax, 0x4b0e98
call fcn.004ab424
jmp 0x4b0a4e
xor eax, eax
push ebp
push 0x4b0c9f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0x4fe354
push 0
push 0xc0000000
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4b0b50
mov eax, 0x4b0ec4
call fcn.004ab424
xor eax, eax
push ebp
push 0x4b0c8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 2
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetNamedPipeHandleState
test eax, eax
jne 0x4b0b84
mov eax, 0x4b0ee8
call fcn.004ab424
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403540
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x98]
call fcn.0047f140
mov eax, dword [ebp - 0x98]
call fcn.004064d4
push eax
push 0
push 0xc000000
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0xac], 0x69
mov byte [ebp - 0xa8], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0
lea edx, [ebp - 0xac]
mov ecx, 1
mov eax, 0x4b0f24
call fcn.0040e38c
mov eax, dword [ebp - 0x9c]
call fcn.004064d4
push eax
mov eax, dword [0x504bfc]
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4b0c2d
mov eax, 0x4b0f50
call fcn.004ab424
mov byte [ebx + 4], 1
mov byte [ebx + 5], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x68]
push eax
call fcn.004093f0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
lea edx, [ebp - 0xb4]
xor ecx, ecx
mov eax, 0x4b0f78
call fcn.004b01bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0c95
mov eax, dword [ebp - 0x14]
push eax
call fcn.004093f0
ret