Function at 0x46c8c0
Capabilities:
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a4bce
mov eax, dword fs:[0]
push eax
sub esp, 0x8b8
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x88], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c0], ecx
mov eax, dword [ebp + 8]
push eax
push 0x6f4584
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
push 0
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x46c953
xor al, al
jmp 0x46cc27
push 0x44
push 0
lea edx, [ebp - 0x84]
push edx
call fcn.006665c0
add esp, 0xc
push 0
push 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x84], 0x44
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x100
xor ecx, ecx
mov word [ebp - 0x54], cx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x46ca3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x89c], eax
push 0
push 0
lea edx, [ebp - 0x898]
push edx
push 0x400
mov eax, dword [ebp - 0x89c]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 0x898]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x6f45a8
call fcn.0066610b
add esp, 0xc
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov eax, dword [ebp - 0x898]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x46cc27
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x24]
push edx
push 0x6f45f8
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov dword [ebp - 0x14], 0x801
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x19], 0
push 1
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0x102
sete cl
mov byte [ebp - 0x19], cl
push 0
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x46cac2
cmp dword [ebp - 0x3c], 0
ja 0x46cac2
mov dword [ebp - 0x8c4], 0
jmp 0x46cacc
mov dword [ebp - 0x8c4], 1
cmp dword [ebp - 0x8c4], 0
je 0x46cc03
push 0x6f2bb3
lea ecx, [ebp - 0x8b8]
call fcn.00404630
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
jbe 0x46cb64
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x8bc], edx
cmp dword [ebp - 0x8bc], 0x800
jbe 0x46cb15
mov dword [ebp - 0x8bc], 0x800
push 0
lea eax, [ebp - 0x8bc]
push eax
mov ecx, dword [ebp - 0x8bc]
push ecx
lea edx, [ebp - 0x894]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x8bc]
mov byte [ebp + ecx - 0x894], 0
lea edx, [ebp - 0x894]
push edx
lea ecx, [ebp - 0x8b8]
call fcn.004138a0
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x8bc]
mov dword [ebp - 0x3c], eax
jmp 0x46caf0
lea ecx, [ebp - 0x8b8]
call fcn.00405300
movzx ecx, al
test ecx, ecx
jne 0x46cbe4
lea ecx, [ebp - 0x8b8]
call fcn.00404810
push eax
push 0x6f460c
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
push 0
push 0x6f4610
lea ecx, [ebp - 0x8b8]
call fcn.004138c0
cmp eax, 0xffffffff
jne 0x46cbce
push 0
push 0x6f4618
lea ecx, [ebp - 0x8b8]
call fcn.004138c0
cmp eax, 0xffffffff
je 0x46cbe2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8b8]
call fcn.00404770
jmp 0x46cc03
jmp 0x46cbec
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8b8]
call fcn.00404770
jmp 0x46ca79
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x88]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 0xc