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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov edi, dword [esp + 0xb0]
mov eax, dword [0x4c1074]
xor eax, esp
mov dword [esp + 0x78], eax
push 0xd
push edi
call fcn.0040324d
add esp, 8
xor esi, esi
cmp eax, 5
jne 0x4709dd
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x90]
push edi
push dword [esp + 0x9c]
push ebp
call fcn.00419f33
add esp, 0xc
mov esi, eax
push ebp
call fcn.0046e3c1
add esp, 4
push esi
push str.Starting_local_proxy_command:__s
call fcn.0045ad89
add esp, 8
mov edi, eax
mov eax, dword [ebx]
xor ebp, ebp
push ebp
push edi
push ebp
push ebp
push 3
push ebx
call dword [eax]
add esp, 0x18
push edi
call fcn.00411739
add esp, 4
lea edi, [esp + 0x54]
mov dword [edi], 0xc
mov dword [edi + 4], ebp
mov dword [edi + 8], 1
lea eax, [esp + 0x68]
lea ecx, [esp + 0x6c]
push ebp
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x470970
lea eax, [esp + 0x74]
lea ecx, [esp + 0x70]
push 0
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x47097b
lea eax, [esp + 0x60]
lea ecx, [esp + 0x64]
push 0
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x470996
xor edi, edi
xor ebp, ebp
inc ebp
mov ebx, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push edi
push ebp
push dword [esp + 0x7c]
call ebx
push edi
push ebp
push dword [esp + 0x74]
call ebx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4708b8
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
movaps xmm0, xmmword [0x4a1660]
lea eax, [esp + 0x10]
movups xmmword [eax], xmm0
mov dword [eax + 0x2c], 0x100
mov word [eax + 0x32], 0
mov dword [eax + 0x34], edi
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x40], ecx
sub esp, 0x28
lea ebx, [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
movaps xmm0, xmmword [0x4a1d70]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx]
call edi
push dword [ebx + 4]
call edi
push esi
call fcn.00411739
add esp, 4
push dword [esp + 0x70]
call edi
push dword [esp + 0x68]
call edi
mov eax, dword [esp + 0x60]
test eax, eax
je 0x47094e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [esp + 0xb0]
push dword [esp + 0x6c]
push dword [esp + 0x78]
push dword [esp + 0x84]
call fcn.0046c038
add esp, 0x14
jmp 0x4709db
push esi
call fcn.00411739
add esp, 4
jmp 0x4709bd
push esi
call fcn.00411739
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x6c]
call esi
push dword [esp + 0x68]
jmp 0x4709bb
push esi
call fcn.00411739
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x6c]
call esi
push dword [esp + 0x68]
call esi
push dword [esp + 0x74]
call esi
push dword [esp + 0x70]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046cf7c
add esp, 4
push eax
push str.Unable_to_create_pipes_for_proxy_command:__s
push ebx
call fcn.0040efc0
add esp, 0xc
mov esi, eax
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00475893
mov eax, esi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret