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

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov r13, r9
mov rsi, r8
mov rdi, rdx
mov r12, rcx
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x338]
mov qword [rsp + 0xe0], rcx
mov rdx, qword [rsp + 0x340]
mov qword [rsp + 0xc0], rdx
mov r8, qword [rsp + 0x348]
mov qword [rsp + 0xa0], r8
mov dword [rsp + 0x54], 0x78
xor ebx, ebx
mov qword [rax], rbx
mov dword [rcx], ebx
mov qword [rdx], rbx
mov dword [r8], ebx
test rdi, rdi
je 0x14006abf0
test rsi, rsi
je 0x14006abf0
test r9, r9
je 0x14006abf0
xor eax, eax
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x58], rax
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [r11 - 0x1e8]
call sub.MSVCR90.dll_memset
mov dword [rsp + 0x120], 0x68
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x180], r13
or dword [rsp + 0x15c], 0x101
mov word [rsp + 0x160], bx
lea ecx, [rbx + 8]
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x14006a87c
lea rcx, [rsp + 0x70]
mov qword [rax], rcx
jmp 0x14006a87f
mov rax, rbx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rbx
mov rdx, qword [r12 + 0x48]
add rdx, rdx
lea rcx, [rsp + 0x70]
call fcn.14006b7a0
mov rdi, qword [rsp + 0x90]
cmp qword [rsp + 0x88], rdi
jbe 0x14006a8c6
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
lea rdx, [rsp + 0x1a0]
lea rcx, [r12 + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_class_std::_String_const_iterator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::end_void____ptr64]
lea rcx, [rsp + 0xb0]
mov rdx, qword [rax]
mov qword [rcx], rdx
mov rax, qword [rax + 8]
mov qword [rcx + 8], rax
lea rdx, [rsp + 0x190]
lea rcx, [r12 + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_class_std::_String_const_iterator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::begin_void____ptr64]
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0xb0], xmm0
lea rdx, [rsp + 0xd0]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rax, qword [rax + 8]
mov qword [rdx + 8], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14006bb20
mov word [rsp + 0x50], bx
mov rcx, qword [rsp + 0x90]
mov rsi, rcx
mov rdi, qword [rsp + 0x88]
cmp rdi, rcx
jbe 0x14006a99e
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x70]
mov r13, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rsi
mov rax, rcx
sub rax, rdi
test rax, 0xfffffffffffffffe
jne 0x14006a9c3
mov rsi, rbx
jmp 0x14006a9e9
cmp rdi, rcx
jbe 0x14006a9d3
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rdx, qword [rsp + 0x70]
test r13, r13
je 0x14006a9dd
cmp r13, rdx
je 0x14006a9e3
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
sub rsi, rdi
sar rsi, 1
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xd0], xmm0
lea r9, [rsp + 0x50]
mov r13d, 1
mov r8, r13
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x70]
call fcn.14006b8a0
mov rdi, qword [rsp + 0x88]
mov r15, rdi
cmp rdi, qword [rsp + 0x90]
jbe 0x14006aa3a
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rdi, qword [rsp + 0x88]
mov rax, qword [rsp + 0x70]
mov r14, rax
test rax, rax
jne 0x14006aa5f
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov r11, rbx
mov rdi, qword [rsp + 0x88]
mov rax, qword [rsp + 0x70]
jmp 0x14006aa62
mov r11, qword [rax]
lea rdx, [r15 + rsi*2]
cmp rdx, qword [r11 + 0x20]
ja 0x14006aa7f
test r14, r14
je 0x14006aa76
mov rcx, qword [r14]
jmp 0x14006aa79
mov rcx, rbx
cmp rdx, qword [rcx + 0x18]
jae 0x14006aa92
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rdi, qword [rsp + 0x88]
mov rax, qword [rsp + 0x70]
cmp rdi, qword [rsp + 0x90]
jbe 0x14006aaa7
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006aab7
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov r11, rbx
jmp 0x14006aaba
mov r11, qword [rax]
cmp rdi, qword [r11 + 0x20]
jb 0x14006aac6
call qword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp qword [r12 + 0x28], 8
jb 0x14006aad5
mov rcx, qword [r12 + 0x10]
jmp 0x14006aada
lea rcx, [r12 + 0x10]
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14006ab56
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rax, [0x1401d0238]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x110], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x110]
call sub.MSVCR90.dll__CxxThrowException
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0xc8]
mov qword [rcx], rax
mov eax, dword [rsp + 0x2b0]
mov rcx, qword [rsp + 0xe0]
mov dword [rcx], eax
mov rax, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov eax, dword [rsp + 0x2b4]
mov rcx, qword [rsp + 0xa0]
mov dword [rcx], eax
mov dword [rsp + 0x54], ebx
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x14006abcb
mov r8, qword [rsp + 0x98]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::allocator_wchar_t_::deallocate_wchar_t____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rbx
mov rcx, qword [rsp + 0x70]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
nop
jmp 0x14006ac30
mov dword [rsp + 0x60], 0x57
lea rax, str.Checking_parameters
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xf0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xf0]
call sub.MSVCR90.dll__CxxThrowException
nop
mov r13d, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x54]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r13d
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.140155650
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret