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

Disassembly:
push ebp
push edi
xor ecx, ecx
push esi
push ebx
mov esi, 0xffffffff
sub esp, 0x9c
cmp dword [esp + 0xc0], 1
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x30], 0
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
sbb eax, eax
mov word [esp + 0x7e], cx
mov dword [esp + 0x80], 0
and eax, 0xfffffffb
mov dword [esp + 0x78], 0x101
add eax, 6
test edx, edx
mov word [esp + 0x7c], ax
je 0x438a41
cmp byte [edx], 0
jne 0x438c30
test ebx, ebx
je 0x438a4e
cmp byte [ebx], 0
jne 0x438c73
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x34], 0xffffffff
mov ebx, eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp], 0xfffffff6
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
call edi
sub esp, 4
mov dword [esp + 0x84], eax
mov dword [esp], 0xfffffff5
mov ebp, 0xffffffff
call edi
sub esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x88], eax
je 0x438d33
lea eax, [esp + 0x38]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
mov eax, dword [esp + 0x34]
jne 0x438b80
cmp eax, 0xffffffff
je 0x438b53
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0x38]
mov ebx, 0x63
cmp eax, 0xffffffff
je 0x438b6d
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
add esp, 0x9c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
cmp eax, 0xffffffff
je 0x438b91
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0x38]
cmp eax, 0xffffffff
je 0x438ba6
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0xbc]
xor ebx, ebx
test eax, eax
je 0x438b6d
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
sub esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call ebx
sub esp, 4
cmp ebp, 0xffffffff
je 0x438c0e
mov dword [esp], ebp
call ebx
sub esp, 4
cmp esi, 0xffffffff
je 0x438c1b
mov dword [esp], esi
call ebx
sub esp, 4
mov ebx, dword [esp + 0x30]
add esp, 0x9c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
mov esi, eax
jmp 0x438a41
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x34], 0xffffffff
mov ebx, eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp], 0xfffffff6
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
call edi
sub esp, 4
cmp ebp, 0xffffffff
mov dword [esp + 0x84], eax
je 0x438a7f
lea eax, [esp + 0x34]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
cmp esi, 0xffffffff
mov eax, dword [esp + 0x34]
mov dword [esp + 0x88], eax
jne 0x438aa0
mov dword [esp], 0xfffffff4
call edi
sub esp, 4
mov dword [esp + 0x8c], eax
jmp 0x438adf