Function at 0x440f80
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Read file on windows
Set socket configuration

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x581859
push eax
mov eax, 0x279c
mov dword fs:[0], esp
call fcn.00550870
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x27bc]
mov dword [esp + 0x27b4], ebx
call fcn.00568c0e
mov ecx, dword [0x5ea924]
mov edx, dword [0x5ea928]
mov eax, dword [0x5ea920]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x27bc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
mov ax, word [0x5ea92c]
push ecx
lea edx, [esp + 0x18]
push 0x5ea8f8
push edx
mov word [esp + 0x4c], ax
call fcn.00568a15
lea eax, [esp + 0x44]
push ebx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x54], 0xc
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
cmp eax, ebx
je 0x4412d1
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x54]
push ecx
push edx
push ebx
push ebx
push ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], eax
push 1
push ebx
lea eax, [esp + 0x50]
push ebx
push eax
push ebx
mov word [esp + 0xac], bx
mov dword [esp + 0xa8], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x10], ecx
cmp eax, ebx
mov byte [esp + 0x27b4], 2
je 0x4412a5
mov edx, dword [esp + 0x20]
or ebp, 0xffffffff
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x98]
push ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x54]
lea edx, [esp + 0x9c]
stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push ecx
push 0x2710
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x4410ff
mov ecx, dword [esp + 0x20]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
jmp 0x441279
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x14]
call fcn.00568895
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00563b2e
cmp eax, ebp
jne 0x44113a
mov eax, dword [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x24]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
jmp 0x441279
lea edi, [eax + 0xa]
lea ecx, [esp + 0x10]
push edi
push 0x5ea8f8
call fcn.00563b3c
push edi
push 0x5ea9b0
lea ecx, [esp + 0x18]
call fcn.00563b3c
mov edi, eax
cmp edi, ebp
je 0x441122
push edi
push 0x5ea988
lea ecx, [esp + 0x18]
call fcn.00563b3c
cmp eax, ebp
je 0x441266
cmp eax, edi
jl 0x441266
sub eax, edi
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00563982
push 0x5fe7d8
push 0x5ea9b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x27bc], 3
call fcn.005637fc
push 0x5fe7d8
push 0x5ea988
lea ecx, [esp + 0x24]
call fcn.005637fc
push 0x5fe7d8
push 0x5e6484
lea ecx, [esp + 0x24]
call fcn.005637fc
push 0x5fe7d8
push 0x5e8fcc
lea ecx, [esp + 0x24]
call fcn.005637fc
push 0x5fe7d8
push 0x5ea618
lea ecx, [esp + 0x24]
call fcn.005637fc
mov ecx, dword [esp + 0x20]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call sub.WSOCK32.dll_inet_addr
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x27b4], 2
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x27b4], 1
call fcn.0056870c
lea ecx, [esp + 0x14]
mov byte [esp + 0x27b4], bl
call fcn.0056870c
lea ecx, [esp + 0x27bc]
mov dword [esp + 0x27b4], ebp
call fcn.0056870c
mov eax, esi
jmp 0x4412fa
mov edx, dword [esp + 0x20]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x27b4], 1
call fcn.0056870c
lea ecx, [esp + 0x14]
mov byte [esp + 0x27b4], bl
call fcn.0056870c
mov dword [esp + 0x27b4], ebp
jmp 0x4412ec
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x27b4], 1
call fcn.0056870c
lea ecx, [esp + 0x14]
mov byte [esp + 0x27b4], bl
call fcn.0056870c
mov dword [esp + 0x27b4], 0xffffffff
lea ecx, [esp + 0x27bc]
call fcn.0056870c
xor eax, eax
mov ecx, dword [esp + 0x27ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x27a8
ret