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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ae40e
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x78], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
push str.in_ExecuteCommandLine__cmdline_s_r_n
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 - 0x28], 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
push 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x51dbba
xor eax, eax
jmp 0x51ddcd
push 0x44
push 0
lea edx, [ebp - 0x74]
push edx
call fcn.006665c0
add esp, 0xc
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x74], 0x44
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x100
xor ecx, ecx
mov word [ebp - 0x44], cx
push 0x10abc64
lea edx, [ebp - 0x74]
push edx
push 0
push 0
push 0x8000000
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x51dc97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x488], eax
push 0
push 0
lea ecx, [ebp - 0x484]
push ecx
push 0x400
mov edx, dword [ebp - 0x488]
push edx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x7590f0
call fcn.0066610b
add esp, 0xc
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x51ddcd
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x10abc6c]
push ecx
push 0x7590dc
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov dword [ebp - 0x18], 0x400
mov dword [ebp - 0x10], 0
mov edx, 1
test edx, edx
je 0x51dd82
push 0
lea eax, [ebp - 0x480]
push eax
push 0x3ff
lea ecx, [ebp - 0x47c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x51dd08
jmp 0x51dd82
mov eax, dword [ebp - 0x480]
mov byte [ebp + eax - 0x47c], 0
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x51dd43
lea edx, [ebp - 0x47c]
push edx
push 0x759140
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x48c]
call fcn.0040dbe0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48c]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004174c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48c]
call fcn.004014d0
jmp 0x51dcd4
push str.WaitForSingleObject_r_n
call fcn.0066610b
add esp, 4
push 0xffffffffffffffff
mov edx, dword [0x10abc64]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0x10abc64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [0x10abc64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10abc68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x78]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret