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

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4ad3b0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x128]
lea eax, [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x130]
push esi
push edi
mov edi, dword [esp + 0x130]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
lea eax, [esp + 0x50]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push 0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], 0xc
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x48], 1
push eax
call esi
test eax, eax
jne 0x40d15b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d454
push 0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x40d193
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [esp + 0x24]
call esi
mov eax, edi
jmp 0x40d454
push 0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
jne 0x40d1d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [esp + 0x24]
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x14]
call esi
mov eax, edi
jmp 0x40d454
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor eax, eax
mov dword [esp + 0x90], 0x101
mov word [esp + 0x94], ax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x68]
push eax
push 0
push 0
push 0x400
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40d277
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x2c]
call esi
push dword [esp + 0x1c]
call esi
push dword [esp + 0x14]
call esi
push dword [esp + 0x24]
call esi
mov eax, edi
jmp 0x40d454
push 0x80
lea eax, [esp + 0xac]
mov dword [esp + 0x34], 0xffffffff
push 0
push eax
call fcn.00466e70
movsd xmm0, qword [esp + 0x148]
add esp, 0xc
mulsd xmm0, qword [0x48da20]
call fcn.00464a45
push eax
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push 0x7f
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
je 0x40d36e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40d36e
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
lea eax, [esp + 0xb4]
push eax
push dword [esp + 0x24]
call esi
test eax, eax
je 0x40d36e
mov eax, dword [esp + 0x10]
cmp eax, 0x80
jae 0x40d46d
lea ecx, [esp + 0xa8]
mov byte [esp + eax + 0xa8], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d335
sub ecx, edx
lea eax, [esp + 0xa8]
push ecx
push eax
mov ecx, ebx
call fcn.004034a0
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push 0x7f
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x40d2f2
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push 0x7f
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x30]
call edi
test eax, eax
je 0x40d40c
nop
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40d40c
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
lea eax, [esp + 0xb4]
push eax
push dword [esp + 0x2c]
call esi
test eax, eax
je 0x40d40c
mov eax, dword [esp + 0x10]
cmp eax, 0x80
jae 0x40d46d
lea ecx, [esp + 0xa8]
mov byte [esp + eax + 0xa8], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d3d3
sub ecx, edx
lea eax, [esp + 0xa8]
push ecx
push eax
mov ecx, ebp
call fcn.004034a0
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push 0x7f
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x30]
call edi
test eax, eax
jne 0x40d390
cmp dword [esp + 0x30], 0x103
je 0x40d2c3
push dword [esp + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x40]
call esi
push dword [esp + 0x18]
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x2c]
call esi
push dword [esp + 0x1c]
call esi
push dword [esp + 0x14]
call esi
push dword [esp + 0x24]
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00464714
add esp, 0x11c
ret
call fcn.00464dd2
int3