Function at 0x47a650
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, 0x4c027c
lea edi, [ebp - 8]
xor eax, eax
push ebp
push 0x47a94b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x47a964
call fcn.00479788
mov eax, dword [0x4be79c]
cmp byte [eax], 0
jne 0x47a6a3
mov eax, 0x47a98c
call fcn.00475210
cmp dword [0x4c0278], 0
jne 0x47a6b6
mov eax, 0x47a9d0
call fcn.00475210
inc dword [esi]
call fcn.00407690
mov dword [ebx + 0x14], eax
push edi
call fcn.00407780
test eax, eax
jne 0x47a6d0
push edi
call fcn.00407680
lea eax, [ebp - 0xc]
push eax
call fcn.004075b8
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, 0x47a9fc
call fcn.0040aa18
push 0
push 0
push 0x2000
push 0x2000
push 1
push 6
push 0x40080003
mov eax, dword [ebp - 0xc]
call fcn.00403efc
push eax
call fcn.004074f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x47a777
call fcn.00407618
cmp eax, 0xe7
je 0x47a6b6
mov eax, 0x47aa3c
call fcn.00475364
jmp 0x47a6b6
xor eax, eax
push ebp
push 0x47a907
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0x4be0f0
push 0
push 0xc0000000
mov eax, dword [ebp - 0xc]
call fcn.00403efc
push eax
call fcn.004074d8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x47a7b8
mov eax, 0x47aa54
call fcn.00475364
xor eax, eax
push ebp
push 0x47a8f6
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 fcn.004077e0
test eax, eax
jne 0x47a7ec
mov eax, 0x47aa68
call fcn.00475364
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402acc
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x98]
call fcn.0044d418
mov eax, dword [ebp - 0x98]
call fcn.00403efc
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, 0x47aa88
call fcn.0040aa18
mov eax, dword [ebp - 0x9c]
call fcn.00403efc
push eax
mov eax, dword [0x4c0278]
call fcn.00403efc
push eax
call fcn.004074f8
test eax, eax
jne 0x47a895
mov eax, 0x47aaa0
call fcn.00475364
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.004074a8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
lea edx, [ebp - 0xb4]
xor ecx, ecx
mov eax, 0x47aab8
call fcn.004799a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a8fd
mov eax, dword [ebp - 0x14]
push eax
call fcn.004074a8
ret