Function at 0x4a2750
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb50d
mov eax, dword fs:[0]
push eax
mov eax, 0x28a0
call fcn.0048b760
mov eax, dword [0x4dd704]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28a4], 0
mov dword [ebp - 0x2840], 0
lea ecx, [ebp - 0x10]
call fcn.004058d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004058d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x2898], 0
mov dword [ebp - 0x283c], 0
mov dword [ebp - 0x2838], 0xc
mov dword [ebp - 0x2834], 0
mov dword [ebp - 0x2830], 1
push 0
lea eax, [ebp - 0x2838]
push eax
lea ecx, [ebp - 0x2890]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
mov dword [ebp - 0x2840], eax
cmp dword [ebp - 0x2840], 0
jne 0x4a2847
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401860
mov ecx, dword [ebp - 0x28a4]
or ecx, 1
mov dword [ebp - 0x28a4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a880
mov eax, dword [ebp + 8]
jmp 0x4a2b80
mov dword [ebp - 0x288c], 0x44
lea edx, [ebp - 0x288c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, dword [ebp - 0x2890]
mov dword [ebp - 0x284c], eax
mov ecx, dword [ebp - 0x2890]
mov dword [ebp - 0x2850], ecx
mov word [ebp - 0x285c], 0
mov dword [ebp - 0x2860], 0x101
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x288c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push str.ipconfig__all
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov dword [ebp - 0x2840], eax
mov dword [ebp - 0x2894], 0x2800
mov byte [ebp - 0x282c], 0
push 0x27ff
push 0
lea ecx, [ebp - 0x282b]
push ecx
call fcn.004858f0
add esp, 0xc
cmp dword [ebp - 0x2840], 1
jne 0x4a2b30
push 0xffffffffffffffff
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0
lea eax, [ebp - 0x2844]
push eax
push 0x2800
lea ecx, [ebp - 0x282c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x2840], eax
mov eax, dword [ebp - 0x2890]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x2840], 1
jne 0x4a2b2e
lea ecx, [ebp - 0x282c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00401cb0
push 0x4c7f1c
lea edx, [ebp - 0x282c]
push edx
call fcn.0040bd40
add esp, 8
mov dword [ebp - 0x289c], eax
cmp dword [ebp - 0x289c], 0
jne 0x4a299e
push 0x4c7f28
push 0
lea eax, [ebp - 0x282c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRStrIA]
mov dword [ebp - 0x289c], eax
jmp 0x4a29b8
push str.Physical_Address
mov ecx, dword [ebp - 0x289c]
push ecx
call fcn.0040bd40
add esp, 8
mov dword [ebp - 0x289c], eax
cmp dword [ebp - 0x289c], 0
jne 0x4a29ff
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401860
mov eax, dword [ebp - 0x28a4]
or eax, 1
mov dword [ebp - 0x28a4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a880
mov eax, dword [ebp + 8]
jmp 0x4a2b80
mov ecx, dword [ebp - 0x289c]
lea edx, [ebp - 0x282c]
sub ecx, edx
push ecx
push 0x4c7f50
lea ecx, [ebp - 0x28]
call fcn.004089b0
mov dword [ebp - 0x2898], eax
cmp dword [ebp - 0x2898], 0xffffffff
jne 0x4a2a68
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401860
mov ecx, dword [ebp - 0x28a4]
or ecx, 1
mov dword [ebp - 0x28a4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a880
mov eax, dword [ebp + 8]
jmp 0x4a2b80
mov edx, dword [ebp - 0x2898]
push edx
push 0x4c7f54
lea ecx, [ebp - 0x28]
call fcn.004089b0
mov dword [ebp - 0x283c], eax
cmp dword [ebp - 0x283c], 0xffffffff
jne 0x4a2ac9
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401860
mov ecx, dword [ebp - 0x28a4]
or ecx, 1
mov dword [ebp - 0x28a4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a880
mov eax, dword [ebp + 8]
jmp 0x4a2b80
mov edx, dword [ebp - 0x283c]
sub edx, dword [ebp - 0x2898]
sub edx, 1
push edx
mov eax, dword [ebp - 0x2898]
add eax, 1
push eax
lea ecx, [ebp - 0x28a0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407690
mov dword [ebp - 0x28a8], eax
mov edx, dword [ebp - 0x28a8]
mov dword [ebp - 0x28ac], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28ac]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28a0]
call fcn.0040a880
lea ecx, [ebp - 0x10]
call fcn.0040b0e0
jmp 0x4a2b47
mov ecx, dword [ebp - 0x2890]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401860
mov ecx, dword [ebp - 0x28a4]
or ecx, 1
mov dword [ebp - 0x28a4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a880
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00485605
mov esp, ebp
pop ebp
ret