Function at 0x4089ab
Capabilities:
Create pipe
Create process on windows
Create process suspended
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
push 0xc
call fcn.00488e4e
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x48
call fcn.00488e4e
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.00488e4e
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, 0x4bb9b1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408a6b
push ebx
call fcn.00488e54
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 0xc
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 0
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 1
mov dword [ebp - 0x2c], esp
push 0
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x408ad1
push 6
call fcn.00488e60
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 0x44
mov ebx, dword [ebp - 0x14]
add ebx, 0x2c
mov dword [ebp - 0x2c], ebx
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.0048aba0
add esp, 0x1c
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0x30
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov word [ebx], 0
mov ebx, dword [ebp - 0x14]
add ebx, 0x40
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0x44
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push eax
push 0x44
call fcn.00488e4e
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push 0
push 0
push 1
push 0
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x408c66
push 6
call fcn.00488e60
add esp, 4
push eax
mov ebx, dword [ebp - 0x30]
push ebx
mov edi, dword [ebp - 0x34]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00408974
call fcn.00408974
call fcn.00408974
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00488e54
add esp, 4
pop eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
call dword [0x4e77c4]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x408d40
push 6
call fcn.00488e60
add esp, 4
cmp dword [ebp - 0x1c], 0xffffffff
je 0x408f25
mov dword [ebp - 0x2c], esp
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x408d84
push 6
call fcn.00488e60
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x408ea6
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.0048abc0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408dc3
push ebx
call fcn.00488e54
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esp
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x3ff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x408de2
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x408e02
push 6
call fcn.00488e60
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x408e27
mov eax, 0x4bb9c2
push eax
push 3
mov ebx, 0x19c
call fcn.0048acf0
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x80000004
je 0x408e5b
push 5
call fcn.00488e60
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408e6f
push ebx
call fcn.00488e54
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 4]
mov ecx, 2
call fcn.00402271
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408e9d
push ebx
call fcn.00488e54
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x408f08
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x408ed4
push 6
call fcn.00488e60
add esp, 4
cmp dword [ebp - 0x28], 0x103
je 0x408f08
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [0x4e77c4]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x408f03
push 6
call fcn.00488e60
add esp, 4
jmp 0x408f25
push 1
push 0
push 0
push 1
push 0xa
call fcn.00408fde
jmp 0x408d40
mov eax, dword [ebp - 4]
test eax, eax
je 0x408f41
push eax
mov ebx, eax
call fcn.0040196c
inc eax
push eax
call fcn.00488e4e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x408f46
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408f57
push ebx
call fcn.00488e54
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00488e54
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408f7a
push ebx
call fcn.00488e54
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408f8e
push ebx
call fcn.00488e54
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408fa2
push ebx
call fcn.00488e54
add esp, 4
pop ebx
call fcn.00488e54
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00488e54
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408fc7
push ebx
call fcn.00488e54
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408fd7
push ebx
call fcn.00488e54
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4