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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push esi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x78], eax
push 0
push 0
call sym.stub.exe_ts_resource_ex
add esp, 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x78], 0
je 0x4e3d77
push 0x800
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4e3d7e
xor eax, eax
jmp 0x4e3f86
push 0x44
push 0
lea ecx, [ebp - 0x70]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x10
push 0
lea edx, [ebp - 0x2c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 0x100
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
xor edx, edx
cmp ecx, 0x72
sete dl
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x78], 2
jne 0x4e3de6
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + 1]
cmp ecx, 0x62
jne 0x4e3de6
mov dword [ebp - 0x8c], 0x8000
jmp 0x4e3df0
mov dword [ebp - 0x8c], 0x4000
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x7c], 0
je 0x4e3e26
push 0
mov eax, dword [ebp - 0x74]
push eax
call fcn.004e40b9
add esp, 8
mov dword [ebp - 0x74], eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
jmp 0x4e3e48
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004e40b9
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [0x54fbd0]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [edx + 0x10]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
lea ecx, [esi + eax + 5]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x80], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [0x54fbd0]
mov eax, dword [ecx + edx*4 - 4]
mov ecx, dword [eax + 0x10]
push ecx
push str._s__c__s
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0x20
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4e3ee0
xor eax, eax
jmp 0x4e3f86
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
push ecx
push 0
call fcn.004e3f8b
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x7c], 0
je 0x4e3f34
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e3f5b
mov edx, dword [ebp - 0x84]
or edx, 1
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll__open_osfhandle]
add esp, 8
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.MSVCRT.dll__fdopen]
add esp, 8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
pop esi
mov esp, ebp
pop ebp
ret