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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov eax, dword [0x4b6078]
mov edi, dword [esp + 0xb0]
xor eax, esp
mov dword [esp + 0x78], eax
push 0xd
push edi
call fcn.0040308d
add esp, 8
xor esi, esi
cmp eax, 5
jne 0x46ae25
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x90]
push edi
push dword [esp + 0x9c]
push ebp
call fcn.0041943e
add esp, 0xc
mov esi, eax
push ebp
call fcn.00468bde
add esp, 4
push esi
push str.Starting_local_proxy_command:__s
call fcn.004560a0
add esp, 8
mov edi, eax
mov eax, dword [ebx]
xor ebp, ebp
push ebp
push edi
push ebp
push ebp
push 2
push ebx
call dword [eax]
add esp, 0x18
push edi
call fcn.00410c0e
add esp, 4
lea edi, [esp + 0x54]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x6c]
mov dword [edi], 0xc
mov dword [edi + 4], ebp
mov dword [edi + 8], 1
push ebp
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
je 0x46adb8
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 0x46adc3
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 0x46adde
mov ebx, dword [sym.imp.KERNEL32.DLL_SetHandleInformation]
xor edi, edi
xor ebp, ebp
inc ebp
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 0x46ad14
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_SetHandleInformation]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x10]
mov dword [eax], 0x44
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x2c], 0x100
mov word [eax + 0x32], 0
mov dword [eax + 0x34], edi
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ebx
mov ebx, esp
mov dword [eax + 0x40], edx
push ebx
push eax
push edi
push edi
push 0x8000020
push 1
push edi
push edi
push esi
push 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.00410c0e
add esp, 4
push dword [esp + 0x70]
call edi
push dword [esp + 0x68]
call edi
mov eax, dword [esp + 0x60]
test eax, eax
je 0x46ad96
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.00466820
add esp, 0x14
jmp 0x46ae23
push esi
call fcn.00410c0e
add esp, 4
jmp 0x46ae05
push esi
call fcn.00410c0e
add esp, 4
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [esp + 0x6c]
call esi
push dword [esp + 0x68]
jmp 0x46ae03
push esi
call fcn.00410c0e
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.00467767
add esp, 4
push eax
push str.Unable_to_create_pipes_for_proxy_command:__s
push ebx
call fcn.0040e4e8
add esp, 0xc
mov esi, eax
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0046fa9a
mov eax, esi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret