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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c5c
mov eax, dword [ebp - 8]
call fcn.00404c5c
mov eax, dword [ebp - 0xc]
call fcn.00404c5c
xor eax, eax
push ebp
push 0x4b1baa
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
cmp dword [ebp - 8], 0
je 0x4b1971
mov eax, dword [ebp - 8]
call fcn.0040a2d4
test al, al
jne 0x4b1971
mov eax, dword [ebp - 8]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0xb
lea eax, [ebp - 0x88]
push eax
push 0
mov ecx, 0x4b1bc0
mov dl, 1
mov eax, dword [0x40846c]
call fcn.0040e1c4
call fcn.00404118
mov eax, dword [0x521eb0]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x10], ax
mov eax, dword [0x521eb0]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0046c240
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4b1b88
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x80]
xor ecx, ecx
mov edx, 0xc
call fcn.00403140
mov dword [ebp - 0x80], 0xc
xor eax, eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0xffffffff
cmp dword [ebp - 8], 0
je 0x4b1a34
push 0
push 0x100
push 4
lea eax, [ebp - 0x80]
push eax
push 3
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.00404c6c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4b1a34
mov eax, dword [ebp - 8]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0xb
lea eax, [ebp - 0x88]
push eax
push 0
mov ecx, 0x4b1be8
mov dl, 1
mov eax, dword [0x40846c]
call fcn.0040e1c4
call fcn.00404118
push 0
push 0x100
push 2
lea eax, [ebp - 0x80]
push eax
push 3
push 0xc0000000
mov eax, dword [ebp - 0xc]
call fcn.00404c6c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4b1a8e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0xb
lea eax, [ebp - 0x88]
push eax
push 0
mov ecx, 0x4b1c44
mov dl, 1
mov eax, dword [0x40846c]
call fcn.0040e1c4
call fcn.00404118
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403140
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 0x101
mov word [ebp - 0x34], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 8], 0
je 0x4b1ac9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x110
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c6c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4b1b18
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
jmp 0x4b1b2e
mov ecx, 0x4b1ca0
mov dl, 1
mov eax, dword [0x40846c]
call fcn.0040e188
call fcn.00404118
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1b8f
cmp dword [ebp - 0x20], 0
je 0x4b1b4a
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x1c], 0
je 0x4b1b59
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x18], 0
je 0x4b1b68
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x14], 0
je 0x4b1b77
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x521eb0]
mov eax, dword [eax]
mov dx, word [ebp - 0x10]
call fcn.0046c240
ret