Function at 0x40ee00
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Read file on windows
Write and execute a file
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467fe6
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x48706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], edi
xorps xmm0, xmm0
mov dword [ebp - 4], 1
movlpd qword [ebp - 0x434], xmm0
push 0x48a7c0
mov dword [ebp - 0x434], 0x48a7c0
call fcn.0042a854
add esp, 4
test eax, eax
je 0x40ee6c
push eax
call fcn.0042a3d4
add esp, 4
mov byte [ebp - 0x430], 1
mov dword [ebp - 0x454], 0xc
mov dword [ebp - 0x44c], 1
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
push 0
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x440]
mov dword [ebp - 0x448], 0
push eax
lea eax, [ebp - 0x448]
mov dword [ebp - 0x440], 0
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x40f007
xor ecx, ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ef00
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.00405f60
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x40ef51
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f41d
push edx
push ecx
call fcn.0042bb0b
add esp, 8
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
push 0x48a7c0
mov byte [ebp - 4], 4
call fcn.0042a879
add esp, 4
test eax, eax
je 0x40ef8a
push eax
call fcn.0042a3d4
add esp, 4
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x40efbe
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40efb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f422
push edx
push ecx
call fcn.0042bb0b
add esp, 8
mov edx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp edx, 0x10
jb 0x40f3fe
mov ecx, dword [ebp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f427
jmp 0x40f3f4
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [ebp - 0x440]
call esi
test eax, eax
jne 0x40f0a4
xor ecx, ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f032
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.00405f60
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x40f083
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f079
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f42c
push edx
push ecx
call fcn.0042bb0b
add esp, 8
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 5
jmp 0x40f110
push 0
lea eax, [ebp - 0x454]
mov dword [ebp - 0x43c], 0
push eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], 0
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x40f12a
movups xmm0, xmmword [ebp - 0x428]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movups xmmword [edi], xmm0
mov byte [ebp - 0x428], al
movq xmm0, qword [ebp - 0x418]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 4], 6
push 0x48a7c0
call fcn.0042a879
add esp, 4
test eax, eax
je 0x40ef8a
jmp 0x40ef81
push 0
push 1
push dword [ebp - 0x43c]
call esi
test eax, eax
jne 0x40f1aa
lea eax, [ebp - 0x428]
mov ecx, edi
push eax
call fcn.00403f40
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x40f186
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f17c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f422
push edx
push ecx
call fcn.0042bb0b
add esp, 8
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 7
jmp 0x40f110
mov eax, dword [ebp - 0x448]
xorps xmm0, xmm0
mov dword [ebp - 0x470], eax
mov esi, 0x14
mov eax, dword [ebp - 0x444]
movlpd qword [ebp - 0x47c], xmm0
or dword [ebp - 0x47c], 0x100
movups xmmword [ebp - 0x464], xmm0
mov dword [ebp - 0x474], 0
movlpd qword [ebp - 0x4a4], xmm0
movlpd qword [ebp - 0x49c], xmm0
movlpd qword [ebp - 0x494], xmm0
movlpd qword [ebp - 0x48c], xmm0
movlpd qword [ebp - 0x484], xmm0
mov dword [ebp - 0x4a8], 0x44
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x46c], eax
lea ecx, [ebp - 0x464]
dec esi
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x4a8]
push ecx
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40f26a
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x40f225
lea ecx, [ebp - 0x434]
call fcn.0040fdc0
push dword [ebp - 0x444]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x448]
call esi
cmp dword [ebp + 0x38], 0x10
lea ecx, [ebp - 0x438]
push 0
push ecx
push dword [ebp + 0x34]
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
push eax
push dword [ebp - 0x440]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x440]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00443a10
add esp, 0xc
test esi, esi
je 0x40f357
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x42c]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x42c], 0
push eax
push dword [ebp - 0x43c]
call esi
test eax, eax
je 0x40f349
nop dword [eax]
push dword [ebp - 0x42c]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.004060a0
push 0
lea eax, [ebp - 0x42c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x43c]
call esi
test eax, eax
jne 0x40f310
push 0xffffffffffffffff
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x43c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x464]
call esi
push dword [ebp - 0x460]
call esi
lea eax, [ebp - 0x428]
mov ecx, edi
push eax
call fcn.00403f40
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x40f3bd
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f422
push edx
push ecx
call fcn.0042bb0b
add esp, 8
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 8
cmp byte [ebp - 0x430], 0
je 0x40ef8a
push dword [ebp - 0x434]
jmp 0x40f115
push edx
push ecx
call fcn.0042bb0b
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042bac5
mov esp, ebp
pop ebp
ret 0x34
call fcn.0044acd1
call fcn.0044acd1
call fcn.0044acd1
call fcn.0044acd1
int3