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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4635e0
push ecx
push ebx
push esi
push edi
mov eax, 0x4633a8
call fcn.00405ed8
xor eax, eax
push ebp
push 0x463863
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x465e90]
mov eax, dword [eax]
call fcn.0044c18c
mov dl, 1
mov eax, dword [0x411ca4]
call fcn.004031fc
mov ebx, eax
mov edx, 0x46387c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x463890
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4638a4
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x1c]
mov eax, dword [0x465e90]
mov eax, dword [eax]
call fcn.0044c834
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004086c8
lea eax, [ebp - 0x18]
mov edx, 0x4638b4
call fcn.004042f0
mov eax, dword [ebp - 0x18]
call fcn.00408638
test al, al
je 0x4636a5
lea edx, [ebp - 0x24]
mov eax, dword [0x465e90]
mov eax, dword [eax]
call fcn.0044c834
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004086c8
lea eax, [ebp - 0x20]
mov edx, 0x4638b4
call fcn.004042f0
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x463710
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
lea eax, [ebp - 0x2c]
call fcn.00462c50
push dword [ebp - 0x2c]
push 0x4638c8
lea ecx, [ebp - 0x30]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004043a8
mov eax, dword [ebp - 0x28]
call fcn.00408638
test al, al
je 0x46370a
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [0x465c9c]
call fcn.0040407c
jmp 0x463710
inc esi
dec dword [ebp - 0x14]
jne 0x4636b7
mov eax, ebx
call fcn.0040322c
mov eax, dword [0x465c9c]
mov eax, dword [eax]
call fcn.00462ce8
test al, al
jne 0x463824
push 0x467f70
push 0
push 0x4638d0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_GetWindowThreadProcessId
push 0
mov eax, dword [0x467f70]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, 0x467f2c
xor ecx, ecx
mov edx, 0x44
call fcn.00402c40
mov dword [0x467f2c], 0x44
mov dword [0x467f58], 0x101
xor eax, eax
mov dword [0x467f38], eax
mov word [0x467f5c], 5
push 0x467f1c
push 0x467f2c
lea edx, [ebp - 0x3c]
mov eax, dword [0x465e90]
mov eax, dword [eax]
call fcn.0044c834
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004086c8
mov eax, dword [ebp - 0x38]
call fcn.004044e8
push eax
push 0
push 0x30
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x44]
call fcn.00462c50
push dword [ebp - 0x44]
push 0x4638c8
mov eax, dword [0x465c9c]
push dword [eax]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004043a8
mov eax, dword [ebp - 0x40]
call fcn.004044e8
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x463848
mov eax, dword [0x465c98]
mov edx, dword [0x467f1c]
mov dword [eax], edx
mov ecx, dword [0x465f04]
mov eax, dword [0x465e90]
mov eax, dword [eax]
mov edx, dword [0x462a58]
call fcn.0044c1a4
jmp 0x46383c
push 0
mov ecx, 0x4638e4
mov edx, 0x4638ec
mov eax, dword [0x465e90]
mov eax, dword [eax]
call fcn.0044c3b4
mov eax, dword [0x465e90]
mov eax, dword [eax]
call fcn.0044c224
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46386a
lea eax, [ebp - 0x44]
mov edx, 0xc
call fcn.0040404c
ret