Function at 0x4b8888
Capabilities:
Create pipe
Create process on windows
Create process suspended
Create reverse shell
Create two anonymous pipes
Read file on windows
Read pipe
Terminate process
Write and execute a file
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b9087
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4b9052
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x38], 0
mov eax, 0xc
call fcn.00402774
mov dword [ebp - 0x10], eax
mov eax, dword [0x4bf600]
cmp dword [eax], 2
jne 0x4b8938
mov eax, 0x14
call fcn.00402774
mov dword [ebp - 0x14], eax
push 1
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
jmp 0x4b8945
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 4], edx
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0xffffffff
mov dword [ebp - 0xc], 0x400
mov eax, dword [ebp - 0xc]
call fcn.00408828
mov dword [ebp - 8], eax
xor ecx, ecx
push ebp
push 0x4b8f9c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x38], 2
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x4b89b3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00404014
call fcn.004040c0
call fcn.004040c0
jmp 0x4b905c
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x4b89f6
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.00404014
call fcn.004040c0
call fcn.004040c0
jmp 0x4b905c
xor ecx, ecx
push ebp
push 0x4b8f65
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x38], 4
lea eax, [ebp - 0x84]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
mov dword [ebp - 0x58], 0x101
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x74]
mov ax, word [eax*4 + 0x4bf064]
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.00404b1c
mov ebx, eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x75]
mov eax, dword [eax*4 + 0x4bf094]
mov edx, dword [ebp - 4]
or eax, dword [edx + 0x70]
push eax
push 0xffffffffffffffff
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4b8ade
lea eax, [ebp - 0x98]
mov edx, ebx
call fcn.00404854
lea eax, [ebp - 0x98]
mov edx, 0x4b90a0
call fcn.00404924
mov ecx, dword [ebp - 0x98]
mov dl, 1
mov eax, dword [0x4b8124]
call fcn.0040c660
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], esi
mov eax, esi
call fcn.00404014
call fcn.004040c0
call fcn.004040c0
call fcn.004040c0
jmp 0x4b905c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004b8854
mov dword [ebp - 0x28], 0x103
xor ecx, ecx
push ebp
push 0x4b8f2c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x38], 6
lea eax, [ebp - 0x38]
call fcn.0040465c
mov eax, dword [ebp - 4]
mov byte [eax + 0x88], 0
mov byte [ebp - 0x3e], 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x94]
push eax
call sub.kernel32.dll_GetExitCodeProcess
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_PeekNamedPipe
cmp dword [ebp - 0x2c], 0
je 0x4b8c7b
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x30]
jae 0x4b8b6c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004027b4
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00403138
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_ReadFile_1
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x38]
call fcn.004046f4
xor ebx, ebx
jmp 0x4b8c36
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx]
sub al, 1
jb 0x4b8bb6
sub al, 9
je 0x4b8bb9
sub al, 3
je 0x4b8bb9
jmp 0x4b8c16
inc ebx
jmp 0x4b8c36
inc ebx
cmp byte [ebp - 0x3e], 0
je 0x4b8bca
mov eax, dword [ebp - 8]
cmp byte [eax + ebx - 1], 0xa
je 0x4b8c36
cmp ebx, dword [ebp - 0x2c]
jae 0x4b8bf2
mov eax, dword [ebp - 8]
cmp byte [eax + ebx - 1], 0xd
jne 0x4b8bf2
mov eax, dword [ebp - 8]
cmp byte [eax + ebx], 0xa
jne 0x4b8bf2
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x85], 0
jmp 0x4b8bff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x85], 1
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.004b912c
lea eax, [ebp - 0x34]
call fcn.0040465c
jmp 0x4b8c36
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx]
call fcn.00404844
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x34]
call fcn.00404924
inc ebx
cmp ebx, dword [ebp - 0x2c]
jae 0x4b8c48
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
je 0x4b8ba2
mov eax, dword [ebp - 8]
cmp byte [eax + ebx - 1], 0xd
sete byte [ebp - 0x3e]
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x34]
call fcn.004046f4
cmp dword [ebp - 0x38], 0
je 0x4b8e57
mov cl, 1
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004b912c
jmp 0x4b8e57
xor eax, eax
push ebp
push 0x4b8e50
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4b8e23
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xa0]
call fcn.0040491c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x3c]
jae 0x4b8cc0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00403138
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xa4]
mov eax, 0x4b90b8
call fcn.00404c60
cdq
push edx
push eax
mov ebx, dword [ebp - 0x3c]
dec ebx
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4b8d07
cmp eax, dword [esp]
pop edx
pop eax
je 0x4b8d4a
lea ecx, [ebp - 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xa8]
mov eax, 0x4b90c4
call fcn.00404c60
cdq
push edx
push eax
mov eax, dword [ebp - 0x3c]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4b8d42
cmp eax, dword [esp]
pop edx
pop eax
je 0x4b8d4a
xor eax, eax
jmp 0x4b8d4c
mov al, 1
mov byte [ebp - 0x3d], al
mov esi, ebx
test esi, esi
jb 0x4b8d81
inc esi
xor ebx, ebx
lea ecx, [ebp - 0xac]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xac]
mov al, byte [eax + ebx]
mov edx, dword [ebp - 8]
mov byte [edx + ebx], al
inc ebx
dec esi
jne 0x4b8d58
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
cmp byte [eax + 0x4c], 0
je 0x4b8e13
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
je 0x4b8dd6
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0x38]
call fcn.00404924
jmp 0x4b8de9
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp byte [ebp - 0x3d], 0
je 0x4b8e06
xor ecx, ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004b912c
lea eax, [ebp - 0x38]
call fcn.0040465c
jmp 0x4b8e13
mov cl, 1
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004b912c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4b8e42
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
je 0x4b8c8e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8e57
ret
push 1
call sub.kernel32.dll_Sleep_1
cmp dword [ebp - 0x28], 0x103
je 0x4b8e79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x38], 8
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x70], edx
jmp 0x4b8ed1
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
je 0x4b8e8e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x38], 9
jmp 0x4b8ed1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x48]
cmp eax, dword [ecx + 0x48]
jge 0x4b8ea3
test eax, eax
jg 0x4b8eb8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp edx, dword [eax + 0x4c]
jge 0x4b8ec4
test edx, edx
jle 0x4b8ec4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov byte [eax + 0x38], 0xa
jmp 0x4b8ed1
cmp dword [ebp - 0x28], 0x103
je 0x4b8b1e
cmp dword [ebp - 0x38], 0
je 0x4b8ee4
mov cl, 1
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004b912c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8f33
cmp dword [ebp - 0x28], 0x103
jne 0x4b8f08
push 0
mov eax, dword [ebp - 0x94]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004b8880
mov eax, dword [ebp - 0x90]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x94]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b908e
lea eax, [ebp - 0xb0]
mov edx, 7
call fcn.00404680
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00404680
ret