Function at 0x14006e860
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x20000]
mov eax, 0x20100
call fcn.14013b700
sub rsp, rax
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rbp + 0x1fff0], rax
mov qword [rsp + 0x58], rdx
mov rbx, r9
mov qword [rsp + 0x60], r8
mov rsi, r8
mov rdi, rdx
test rdx, rdx
je 0x14006eaa4
xor r15d, r15d
cmp r15w, word [rdx]
je 0x14006eaa4
mov rcx, rdx
call fcn.1402b943c
test eax, eax
je 0x14006e91f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [r15 + 5]
mov dword [rsp + 0x50], eax
call fcn.1400b2690
test eax, eax
je 0x14006eadc
lea rax, [rsp + 0x50]
mov r9d, 0xf3
mov qword [rsp + 0x30], rax
lea r8, str.McAfee::Script::CSystemPlugin::LaunchProcess
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.E:BT977b7a5a_b5a4_4c2d_972b_02c66493f006ScriptHostJavaScriptScriptablePluginsSystemPlugin_srcSystemPlugin.cpp
lea rax, str.Module__s_is_invalid__0x_08x_
lea ecx, [r15 + 5]
mov qword [rsp + 0x20], rax
call fcn.140040c20
jmp 0x14006eadc
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x20000
call fcn.14013d7a0
mov r9, rsi
lea rdx, str._s__s
mov r8, rdi
lea rcx, [rbp - 0x10]
call fcn.1400701e0
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x68
xor eax, eax
lea rdx, [rbp - 0x10]
mov dword [rbp - 0x1c], eax
xor r9d, r9d
mov qword [rsp + 0x78], rax
xor r8d, r8d
lea rax, [rsp + 0x68]
mov rcx, rdi
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r15d
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14006ea1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 5
mov dword [rsp + 0x50], eax
call fcn.1400b2690
test eax, eax
je 0x14006eadc
lea rax, [rsp + 0x50]
mov r9d, 0x106
mov qword [rsp + 0x38], rax
lea r8, str.McAfee::Script::CSystemPlugin::LaunchProcess
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rdx, str.E:BT977b7a5a_b5a4_4c2d_972b_02c66493f006ScriptHostJavaScriptScriptablePluginsSystemPlugin_srcSystemPlugin.cpp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_launch_process__s_with_parameters__s__0x_08x_
mov qword [rsp + 0x20], rax
call fcn.140070240
jmp 0x14006eadc
mov ecx, dword [rbx + 8]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x20130], r14
mov r14d, dword [rsp + 0x78]
sub ecx, 1
je 0x14006ea54
cmp ecx, 3
jne 0x14006ea67
lea rcx, [rbx + 0x18]
call fcn.140061910
lea rcx, [rbx + 0x28]
call fcn.140061910
jmp 0x14006ea67
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14006ea67
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx + 0x10], r15
lea rax, [rsi - 1]
mov dword [rbx + 0x10], r14d
mov r14, qword [rsp + 0x20130]
mov dword [rbx + 8], 3
cmp rax, 0xfffffffffffffffd
ja 0x14006ea8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14006eaa0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14006eade
mov ecx, 5
call fcn.1400b2690
test eax, eax
je 0x14006eadc
lea rax, str.Invalid__empty__path
mov r9d, 0xe5
lea r8, str.McAfee::Script::CSystemPlugin::LaunchProcess
mov qword [rsp + 0x20], rax
lea rdx, str.E:BT977b7a5a_b5a4_4c2d_972b_02c66493f006ScriptHostJavaScriptScriptablePluginsSystemPlugin_srcSystemPlugin.cpp
mov ecx, 5
call fcn.1400297c0
xor al, al
mov rcx, qword [rbp + 0x1fff0]
xor rcx, rsp
call fcn.14013af80
add rsp, 0x20100
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret