Function at 0x45e850
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46df62
mov eax, dword fs:[0]
push eax
mov eax, 0x108c
call fcn.004481c0
mov eax, dword [0x4914f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1024], ecx
mov dword [ebp - 0x1014], eax
test ecx, ecx
je 0x45e8af
push 0
push 0x471d88
call fcn.00403400
test esi, esi
je 0x45e8be
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x45e906
call fcn.0045d6f0
test eax, eax
je 0x45e906
call fcn.0045bae0
test eax, eax
jne 0x45e906
push str..exe
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x45e906
mov ecx, dword [ebp + 0x10]
push ecx
push edi
call fcn.0045cfa0
mov esi, eax
add esp, 8
test esi, esi
je 0x45e8ff
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x45e8ff
call eax
mov eax, esi
jmp 0x45ec1a
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1030]
call fcn.004687a3
mov dword [ebp - 4], 0
call fcn.0042fa4e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45e93a
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1028], eax
mov dword [ebp - 4], 1
call fcn.0042fa4e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45e96d
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x1018], edi
push 0
lea ecx, [ebp - 0x1054]
push ecx
lea edx, [ebp - 0x1044]
push edx
lea eax, [ebp - 0x1048]
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1054], 0xc
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x45ea24
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e9e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1028]
add eax, 0xfffffff0
mov dword [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ea0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], 0xffffffff
call fcn.004687ee
xor eax, eax
jmp 0x45ec1a
push 0x44
lea ecx, [ebp - 0x1098]
push 0
push ecx
call fcn.00446290
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x1098], 0x44
mov dword [ebp - 0x106c], 0x101
jne 0x45ea5c
xor edx, edx
mov word [ebp - 0x1068], dx
jmp 0x45ea68
mov eax, 5
mov word [ebp - 0x1068], ax
mov eax, dword [ebp - 0x1044]
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x105c], eax
mov dword [ebp - 0x1058], eax
call fcn.0042fa4e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45ea9e
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1020], eax
mov ecx, dword [ebp - 0x101c]
push ecx
lea edx, [ebp - 0x1010]
push edx
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test esi, esi
je 0x45ead9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x45ead9
xor esi, esi
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1098]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [ebp - 0x1010]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [ebp - 0x1044]
push eax
call edi
cmp dword [ebp + 0x14], 0
je 0x45eb8e
test esi, esi
je 0x45eb6f
push 0x471d88
lea ecx, [ebp - 0x1028]
call fcn.00405850
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x45eb38
call eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1048]
push ecx
push 0x45e6a0
call fcn.0042eb95
mov edx, dword [ebp - 0x102c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1040]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x1048]
push ecx
call edi
mov ecx, dword [ebp - 0x1024]
test ecx, ecx
je 0x45eb8e
lea edx, [ebp - 0x1028]
push edx
call fcn.00403a00
mov eax, dword [ebp - 0x1020]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ebb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1018]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ebda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1028]
add eax, 0xfffffff0
mov dword [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ec03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], 0xffffffff
call fcn.004687ee
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044665f
mov esp, ebp
pop ebp
ret