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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov eax, dword [0x42b238]
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x78], eax
push 0xd
push esi
call fcn.0043194f
add esp, 8
xor edi, edi
cmp eax, 5
jne 0x49307a
mov ebx, dword [esp + 0xac]
mov edi, dword [esp + 0x90]
push esi
push dword [esp + 0x9c]
push edi
call fcn.00442b7f
add esp, 0xc
mov esi, eax
push edi
call fcn.00490c67
add esp, 4
push esi
push str.Starting_local_proxy_command:__s
call fcn.0043f758
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.0043f9d4
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 0x492f50
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 0x492f6e
test byte [0x428eb0], 2
jne 0x492f9e
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
jne 0x492fa8
push ebx
push str.Unable_to_create_pipes_for_proxy_command
call fcn.0043bf6c
add esp, 8
mov edi, eax
push esi
call fcn.0043f9d4
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]
jmp 0x492f97
push ebx
push str.Unable_to_create_pipes_for_proxy_command
call fcn.0043bf6c
add esp, 8
mov edi, eax
push esi
call fcn.0043f9d4
add esp, 4
jmp 0x49307a
push ebx
push str.Unable_to_create_pipes_for_proxy_command
call fcn.0043bf6c
add esp, 8
mov edi, eax
push esi
call fcn.0043f9d4
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x6c]
call esi
push dword [esp + 0x68]
call esi
jmp 0x49307a
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
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 0x492fd6
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.0043f9d4
add esp, 4
push dword [esp + 0x70]
call edi
push dword [esp + 0x68]
call edi
mov eax, dword [esp + 0x60]
test eax, eax
je 0x493058
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.0048e968
add esp, 0x14
mov edi, eax
mov ecx, dword [esp + 0x78]
call fcn.00497c4a
mov eax, edi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret