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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f224
mov eax, dword fs:[0]
push eax
mov eax, 0x1488
call fcn.0043ec10
mov eax, dword [0x45115c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x141c]
call dword [0x442930]
xor ebx, ebx
lea ecx, [ebp - 0x1418]
mov dword [ebp - 4], ebx
call dword [0x442930]
push 0x1ff
lea eax, [ebp - 0x20f]
push ebx
mov byte [ebp - 4], 1
push eax
mov byte [ebp - 0x210], bl
call fcn.0043e300
push 0xfff
lea ecx, [ebp - 0x140f]
push ebx
push ecx
mov byte [ebp - 0x1410], bl
call fcn.0043e300
push esi
mov esi, dword [sym.imp.mfc100.dll_Ordinal_4283]
lea edx, [ebp - 0x1418]
push 0x4445d0
push edx
mov byte [ebp - 0x1411], 1
call esi
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x210]
add esp, 0x24
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
cmp dl, bl
jne 0x404d81
push ebx
lea eax, [ebp - 0x1438]
push eax
lea ecx, [ebp - 0x1428]
push ecx
lea edx, [ebp - 0x1420]
push edx
mov dword [ebp - 0x1438], 0xc
mov dword [ebp - 0x1434], ebx
mov dword [ebp - 0x1430], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x404df2
push ebx
push 0x30
push str.CreatePipe_Failed_
call dword [sym.imp.mfc100.dll_Ordinal_1982]
lea ecx, [ebp - 0x1418]
call dword [0x44293c]
lea ecx, [ebp - 0x141c]
call dword [0x44293c]
xor al, al
jmp 0x405013
push 0x44
lea eax, [ebp - 0x1490]
push ebx
push eax
call fcn.0043e300
add esp, 0xc
lea ecx, [ebp - 0x1490]
push ecx
mov dword [ebp - 0x1490], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp - 0x1428]
mov dword [ebp - 0x1450], eax
mov dword [ebp - 0x1454], eax
lea eax, [ebp - 0x1448]
push eax
lea ecx, [ebp - 0x1490]
push ecx
push ebx
push ebx
push ebx
push 1
xor edx, edx
push ebx
mov word [ebp - 0x1460], dx
push ebx
lea edx, [ebp - 0x210]
push edx
push ebx
mov dword [ebp - 0x1464], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x404ed4
lea ecx, [ebp - 0x1424]
call dword [0x442930]
lea eax, [ebp - 0x210]
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x1424]
push str.CreatProcess_error__GetLastError___d_appPath_s
push ecx
call esi
mov edx, dword [ebp - 0x1424]
add esp, 0x10
push ebx
push 0x1010
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1982]
lea ecx, [ebp - 0x1424]
call dword [0x44293c]
lea ecx, [ebp - 0x1418]
call dword [0x44293c]
lea ecx, [ebp - 0x141c]
call dword [0x44293c]
xor al, al
jmp 0x405013
mov eax, dword [ebp - 0x1448]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x404f4d
push 0x1ff
lea ecx, [ebp - 0x40f]
push ebx
push ecx
mov byte [ebp - 0x410], bl
call fcn.0043e300
mov edx, dword [ebp - 0x1440]
push edx
lea eax, [ebp - 0x410]
push str.TASKKILL__F__PID__d__T
push eax
call dword [0x4422dc]
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.MSVCR100.dll_system]
add esp, 0x1c
lea ecx, [ebp - 0x1418]
call dword [0x44293c]
lea ecx, [ebp - 0x141c]
call dword [0x44293c]
xor al, al
jmp 0x405013
mov edx, dword [ebp - 0x1428]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1420]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 0x142c]
push eax
push 0xfff
lea ecx, [ebp - 0x1410]
push ecx
push edx
call esi
test eax, eax
je 0x404fec
cmp byte [ebp - 0x1411], bl
je 0x404fac
lea eax, [ebp - 0x1410]
mov edx, edi
mov ecx, eax
mov byte [ebp - 0x1411], bl
sub edx, ecx
jmp 0x404fa0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x404fa0
jmp 0x404fc3
lea edx, [ebp - 0x1410]
push edx
push edi
push str._s_s
push edi
call dword [0x4422dc]
add esp, 0x10
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x1420]
push ebx
lea eax, [ebp - 0x142c]
push eax
push 0xfff
lea ecx, [ebp - 0x1410]
push ecx
push edx
call esi
test eax, eax
jne 0x404f81
mov eax, dword [ebp - 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1418]
call dword [0x44293c]
lea ecx, [ebp - 0x141c]
call dword [0x44293c]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dda2
mov esp, ebp
pop ebp
ret