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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405410
xor eax, eax
push ebp
push 0x45c6b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.004565a0
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 4]
call fcn.00405008
cmp dword [ebp - 4], 0
je 0x45c592
mov eax, dword [ebp - 4]
cmp byte [eax], 0x22
jne 0x45c50b
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x45c6cc
mov edx, 0x45c6cc
mov eax, dword [ebp - 4]
call fcn.00456e88
jmp 0x45c552
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.004565a0
mov edx, dword [ebp - 0x68]
mov eax, 0x45c6d8
call fcn.00405564
test eax, eax
jle 0x45c547
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.004565a0
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x45c6d8
call fcn.00456fdc
jmp 0x45c552
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004565a0
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0xc]
call fcn.00405844
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.0045ae2c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0xc]
call fcn.004051f0
mov eax, dword [ebp - 0xc]
call fcn.00405228
test eax, eax
jle 0x45c592
mov eax, dword [ebp - 0xc]
call fcn.00405228
mov edx, eax
dec edx
lea eax, [ebp - 0xc]
call fcn.004055ac
xor edi, edi
cmp dword [ebp - 0xc], 0
je 0x45c5b1
lea eax, [ebp - 0xc]
mov edx, 0x45c6e4
call fcn.00405230
lea eax, [ebp - 0xc]
call fcn.00405478
mov edi, eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00403540
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
test bl, bl
je 0x45c5da
mov word [ebp - 0x20], 0xa
jmp 0x45c5e0
mov word [ebp - 0x20], 0
xor eax, eax
push ebp
push 0x45c66f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push edi
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405420
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x45c665
push esi
mov eax, dword [ebp - 0x60]
push eax
call sub.user32.dll_WaitForInputIdle
push esi
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
sub eax, 1
jb 0x45c637
sub eax, 0x101
je 0x45c646
jmp 0x45c653
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
jmp 0x45c653
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45c679
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c6b8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405678
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00404f94
lea eax, [ebp - 0xc]
call fcn.00404f70
lea eax, [ebp - 4]
call fcn.00404f70
ret