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

Disassembly:
push 0x47c
push 0x1036820
call fcn.010027c0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x438], eax
mov esi, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x48c], edi
push 0x40
push edi
lea eax, [ebp - 0x488]
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x448], edi
xor eax, eax
lea edi, [ebp - 0x444]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x40e
push eax
lea eax, [ebp - 0x42a]
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
and dword [ebp - 4], 0
push 8
call fcn.01001fd2
mov edi, eax
mov dword [ebp - 0x434], edi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
cmp esi, edi
jne 0x1036544
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x1036535
test byte [eax + 0x1c], 1
je 0x1036535
cmp byte [eax + 0x19], 2
jb 0x1036535
push 0x1015ccc
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001848
mov dword [ebp - 0x430], 0xe
jmp 0x1036707
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 4], edi
jne 0x10365af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x430], eax
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x1036707
test byte [eax + 0x1c], 1
je 0x1036707
cmp byte [eax + 0x19], 2
jb 0x1036707
push dword [ebp - 0x430]
push 0x1015ccc
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001f65
jmp 0x1036707
mov eax, dword [eax + 4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x438]
cdq
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
movzx eax, word [ebp + 0x10]
push eax
push 0x1036804
push 0x1036790
push 0x208
lea eax, [ebp - 0x42c]
push eax
call fcn.01004d53
add esp, 0x2c
test eax, eax
je 0x1036627
push 0x57
pop ecx
mov dword [ebp - 0x430], ecx
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x1036707
test byte [eax + 0x1c], 1
je 0x1036707
cmp byte [eax + 0x19], 2
jb 0x1036707
push ecx
push 0x1015ccc
push 0xc
jmp 0x103659f
mov dword [ebp - 0x48c], 0x44
mov dword [ebp - 0x460], 0x101
xor ebx, ebx
inc ebx
mov eax, ebx
mov word [ebp - 0x45c], ax
mov dword [ebp - 0x484], 0x1012cb4
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x48c]
push eax
push edi
push edi
push 4
push ebx
push edi
push edi
lea eax, [ebp - 0x42c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10366ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x430], eax
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x1036707
test byte [eax + 0x1c], bl
je 0x1036707
cmp byte [eax + 0x19], 2
jb 0x1036707
push dword [ebp - 0x430]
push 0x1015ccc
push 0xd
jmp 0x103659f
push dword [ebp - 0x434]
push edi
lea eax, [ebp - 0x448]
push eax
call fcn.0102e4b0
mov dword [ebp - 0x430], eax
cmp eax, edi
je 0x10366f3
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x1036707
test byte [eax + 0x1c], bl
je 0x1036707
cmp byte [eax + 0x19], 2
jb 0x1036707
push dword [ebp - 0x430]
push 0x1015ccc
push 0xe
jmp 0x103659f
mov eax, dword [ebp - 0x434]
mov dword [esi], eax
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.01036728
mov eax, dword [ebp - 0x430]
call fcn.01002808
ret 0x10