Function at 0x405570
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43988b
mov eax, dword fs:[0]
push eax
mov eax, 0x10c4
call fcn.00422290
mov eax, dword [0x448e28]
xor eax, esp
mov dword [esp + 0x10c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x448e28]
xor eax, esp
push eax
lea eax, [esp + 0x10d8]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
mov ebp, 1
push edx
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x4057ce
xor eax, eax
push 0x44
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.004221b0
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov ecx, 0xc
mov esi, str.CMD__C_ping_www.160.com
lea edi, [esp + 0xa4]
lea eax, [esp + 0x20]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x40]
push ecx
push ebx
push ebx
push ebx
push ebp
xor edx, edx
push ebx
mov word [esp + 0x88], dx
push ebx
lea edx, [esp + 0xc4]
push edx
push ebx
mov dword [esp + 0x90], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x405689
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
jmp 0x4057ce
mov edx, dword [esp + 0x1c]
push edx
call esi
push 0xfff
lea eax, [esp + 0xd9]
push ebx
push eax
mov dword [esp + 0x20], ebp
mov byte [esp + 0xe0], bl
call fcn.004221b0
add esp, 0xc
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
mov dword [esp + 0x10e0], ebx
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x14], ebx
jbe 0x405769
mov edi, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x18]
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push 1
lea eax, [esp + 0xe4]
push eax
push ecx
call edi
cmp dword [esp + 0x14], ebx
jbe 0x405769
mov ecx, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x18]
push edx
push 0xfff
lea eax, [esp + 0xe0]
push eax
push ecx
call ebp
test eax, eax
je 0x405769
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xd4]
mov byte [esp + edx + 0xd4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405745
sub eax, edx
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x90]
call fcn.004063b0
cmp dword [esp + 0x14], ebx
ja 0x4056f4
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x40577b
push eax
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
push 3
lea eax, [esp + 0x8c]
push eax
call fcn.00405ea0
cmp eax, 0xffffffff
je 0x4057b4
cmp dword [esp + 0xa0], 0x10
jb 0x4057b0
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00412e16
add esp, 4
mov al, 1
jmp 0x4057d0
cmp dword [esp + 0xa0], 0x10
jb 0x4057ce
mov edx, dword [esp + 0x8c]
push edx
call fcn.00412e16
add esp, 4
xor al, al
mov ecx, dword [esp + 0x10d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c0]
xor ecx, esp
call fcn.0041f350
add esp, 0x10d0
ret