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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x11], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408bf8
mov eax, dword [ebp - 8]
call fcn.00408bf8
xor eax, eax
push ebp
push 0x4d8e87
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp byte [ebp - 0x11], 0
je 0x4d8da3
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
call fcn.0041d718
cmp dword [ebp - 0x70], 0
je 0x4d8c58
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0x11
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, 0x4d8ea4
call fcn.0041edac
jmp 0x4d8c7e
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea edx, [ebp - 0x88]
xor ecx, ecx
mov eax, 0x4d8ec0
call fcn.0041edac
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00406dc4
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x30], 0x101
cmp byte [ebp + 0xc], 0
je 0x4d8ca9
mov word [ebp - 0x2c], 0
jmp 0x4d8caf
mov word [ebp - 0x2c], 1
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [ebp - 0x24], eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
mov dword [ebp - 0x20], eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040963c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x4d8d5a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
je 0x4d8d1b
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
je 0x4d8d29
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x8c]
call fcn.0041df90
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp + 8]
mov edx, 0x4d8ed8
call fcn.00409890
cmp dword [ebp - 0x18], 0
sete bl
jmp 0x4d8e54
call sub.kernel32.dll_GetLastError_2
mov esi, eax
push 0x4d8efc
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.0041df68
push dword [ebp - 0x90]
push 0x4d8f44
lea edx, [ebp - 0x94]
mov eax, esi
call fcn.00422374
push dword [ebp - 0x94]
mov eax, dword [ebp + 8]
mov edx, 4
call fcn.00409918
jmp 0x4d8e54
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0x11
lea edx, [ebp - 0x88]
xor ecx, ecx
mov eax, 0x4d8ec0
call fcn.0041edac
cmp byte [ebp + 0xc], 0
je 0x4d8dd3
xor ebx, ebx
jmp 0x4d8dd8
mov ebx, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d8de4
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jl 0x4d8df6
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x3a
sete al
jmp 0x4d8df8
xor eax, eax
test al, al
je 0x4d8e31
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0041e874
push ebx
mov eax, dword [ebp - 0x10]
call fcn.0040963c
push eax
mov eax, dword [ebp - 8]
call fcn.0040963c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040963c
push eax
push 0x4d8f48
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x4d8e52
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.0040963c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040963c
push eax
push 0x4d8f48
push 0
call sub.shell32.dll_ShellExecuteW
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8e8e
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00408b74
lea eax, [ebp - 0x70]
call fcn.00408b14
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00408b74
ret