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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0xc
call fcn.00444c16
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x48
call fcn.00444c16
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.00444c16
add esp, 4
mov dword [ebp - 0x14], 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 - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.00444c16
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x4ad216
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0x4562bc
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040161e
add esp, 8
cmp eax, 0
jne 0x40748b
mov eax, 0x4562bc
jmp 0x407c61
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0xc
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 1
mov dword [ebp - 0x30], esp
push 0
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4074ed
push 6
call fcn.00444c22
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0x44
mov ebx, dword [ebp - 0x10]
add ebx, 0x2c
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
push pe_nt_image_headers32
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.00445fc0
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x30
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov word [ebx], 0
mov ebx, dword [ebp - 0x10]
add ebx, 0x40
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x44
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
push 0
mov ebx, 0x8d4
call fcn.00445fe0
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jg 0x407786
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.command.com__c
mov ecx, 2
call fcn.00401125
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push eax
push 0x44
call fcn.00444c16
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 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
push dword [ebp - 0x30]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4076b9
push 6
call fcn.00444c22
add esp, 4
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00407347
call fcn.00407347
call fcn.00407347
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.00444c1c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407781
push ebx
call fcn.00444c1c
add esp, 4
jmp 0x407981
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.cmd.exe__c
mov ecx, 2
call fcn.00401125
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push eax
push 0x44
call fcn.00444c16
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 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
push dword [ebp - 0x30]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4078b9
push 6
call fcn.00444c22
add esp, 4
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00407347
call fcn.00407347
call fcn.00407347
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.00444c1c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407981
push ebx
call fcn.00444c1c
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4079a3
push 6
call fcn.00444c22
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
je 0x407c40
mov dword [ebp - 0x30], esp
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4079e7
push 6
call fcn.00444c22
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x407bc7
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.004457a0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407a26
push ebx
call fcn.00444c1c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], esp
push 0
lea eax, [ebp - 0x18]
push eax
push 0x3ff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x407a45
add eax, 8
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x407a65
push 6
call fcn.00444c22
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x407a8a
mov eax, 0x45636d
push eax
push 3
mov ebx, 0x19c
call fcn.004458f0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x80000004
je 0x407abe
push 5
call fcn.00444c22
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407ad2
push ebx
call fcn.00444c1c
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x407b94
mov ebx, dword [ebp - 0x24]
call fcn.0040737e
mov eax, 0
cmp eax, ecx
jl 0x407b0d
push 1
call fcn.00444c22
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00407d05
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebp - 0x30], esp
push 0
push 1
mov ebx, dword [ebp - 0x24]
call fcn.0040737e
push ebx
push dword [ebp + 0xc]
mov eax, 0x4ad1c9
test eax, eax
je 0x407b48
add eax, 8
push eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x407b65
push 6
call fcn.00444c22
add esp, 4
test eax, eax
je 0x407b94
mov dword [ebp - 0x30], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x407b8f
push 6
call fcn.00444c22
add esp, 4
jmp 0x407c40
push dword [ebp - 0x20]
push dword [ebp - 0x28]
mov ecx, 2
call fcn.00401125
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407bbe
push ebx
call fcn.00444c1c
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
jmp 0x407c29
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x407bf5
push 6
call fcn.00444c22
add esp, 4
cmp dword [ebp - 0x2c], 0x103
je 0x407c29
mov dword [ebp - 0x30], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x407c24
push 6
call fcn.00444c22
add esp, 4
jmp 0x407c40
push 0
mov ebx, 0x350
call fcn.00446060
add esp, 4
jmp 0x4079a3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x407c5c
push eax
mov ebx, eax
call fcn.004010ba
inc eax
push eax
call fcn.00444c16
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407c61
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00444c1c
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x407c85
push ebx
call fcn.00444c1c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x407c99
push ebx
call fcn.00444c1c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x407cad
push ebx
call fcn.00444c1c
add esp, 4
pop ebx
call fcn.00444c1c
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00444c1c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407cd2
push ebx
call fcn.00444c1c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x407ce2
push ebx
call fcn.00444c1c
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.00444c1c
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x407cfe
push ebx
call fcn.00444c1c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc