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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4457ab
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x45e0a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0x18]
push 0x20a
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x21c]
push 0
push eax
mov dword [ebp - 0x44c], 0
movups xmmword [ebp - 0x4c4], xmm0
movups xmmword [ebp - 0x4b4], xmm0
call fcn.0041ee20
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0041ee20
push 0x40
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.0041ee20
xor eax, eax
mov dword [ebp - 0x4a4], 0x44
add esp, 0x24
mov dword [ebp - 0x478], 0x101
xorps xmm0, xmm0
mov word [ebp - 0x474], ax
movups xmmword [ebp - 0x460], xmm0
cmp dword [ebp - 0x444], eax
je 0x4081a7
push 2
push 1
push eax
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp - 0x444]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp dword [ebp - 0x448], 0
je 0x4081d7
push 2
push 1
push 0
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp - 0x448]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test edi, edi
je 0x4081fd
push 2
push 1
push 0
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, dword [ebp - 0x450]
test edi, edi
je 0x4082a8
test esi, esi
je 0x4082a8
cmp word [esi], 0
je 0x4082a8
push 0x4487c4
lea ecx, [ebp - 0x440]
call fcn.00402400
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408240
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x440]
call fcn.00403f00
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x460]
push ecx
lea ecx, [ebp - 0x4a4]
push ecx
push 0
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push 1
push 0
push 0
push eax
push edi
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
lea ecx, [ebp - 0x440]
mov esi, eax
call fcn.00403c50
jmp 0x4082d3
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x4a4]
push eax
push 0
push 0
push dword [ebp + 0x10]
push 1
push 0
push 0
push esi
push edi
push dword [ebp - 0x44c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [ebp - 0x464]
test eax, eax
je 0x4082e4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x468]
test eax, eax
je 0x4082f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x46c]
test eax, eax
je 0x408306
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40831e
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x460]
jmp 0x408320
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c1e0
mov esp, ebp
pop ebp
ret