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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x4cb070]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x1c]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x44
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x54]
push 0
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0
movaps xmmword [esp + 0x3c], xmm0
call fcn.00474730
xor eax, eax
mov dword [esp + 0x5c], 0x44
xorps xmm0, xmm0
mov word [esp + 0x8c], ax
add esp, 0xc
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x28], eax
test esi, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, 0x4aed34
cmovne eax, esi
mov dword [esp + 0x7c], 0x101
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x30], 1
mov dword [esp + 0x14], eax
call edi
push dword [esp + 0x10]
neg eax
sbb eax, eax
and dword [esp + 0x10], eax
call edi
push dword [esp + 0xc]
mov esi, eax
call edi
add eax, 0xa
xor ecx, ecx
add esi, eax
mov edx, 2
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459f39
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
jne 0x445941
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0xc]
push dword [esp + 0x10]
test eax, eax
jne 0x44595e
push 0x4b535c
push esi
push edi
call fcn.0041dd20
add esp, 0x10
jmp 0x44596e
push eax
push str.__s___s
push esi
push edi
call fcn.0041dd20
add esp, 0x14
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4459c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.CreateProcess_error:__d_r_n
call fcn.0040e680
push edi
call fcn.00459f42
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 0x1c
mov edi, dword [esp + 0x30]
test edi, edi
je 0x445a62
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4459e2
mov eax, dword [esp + 0x38]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
test eax, eax
je 0x4459f5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov esi, dword [ebp + 0x18]
nop dword [eax + eax]
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x14], eax
cmp eax, 0x102
jne 0x445a40
cmp esi, 0xffffffff
je 0x445a00
sub esi, 0x3e8
jne 0x445a00
push esi
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x445a40
push 0xbb8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x445a53
add eax, 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [esp + 0x34]
call esi
push dword [esp + 0x20]
call fcn.00459f42
mov ecx, dword [esp + 0xa0]
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 0x1c