Function at 0x1400973a0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x20000]
mov eax, 0x20100
call fcn.140297960
sub rsp, rax
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rbp + 0x1fff0], rax
mov qword [rsp + 0x58], rdx
mov rdi, r9
mov qword [rsp + 0x60], r8
mov rsi, r8
mov rbx, rdx
test rdx, rdx
je 0x1400975ab
xor r14d, r14d
cmp r14w, word [rdx]
je 0x1400975ab
mov rcx, rdx
call fcn.1400f5448
test eax, eax
je 0x14009745f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [r14 + 5]
mov dword [rsp + 0x50], eax
call fcn.1400de610
test eax, eax
je 0x1400975e3
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:BT44b5dfd4_f054_40b5_bacf_e43ad92734e1ScriptHostJavaScriptScriptablePluginsSystemPlugin_srcSystemPlugin.cpp
lea rax, str.Module__s_is_invalid__0x_08x_
lea ecx, [r14 + 5]
mov qword [rsp + 0x20], rax
call fcn.14007d1d0
jmp 0x1400975e3
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x20000
call fcn.1402b60e0
mov r9, rsi
lea rdx, str._s__s
mov r8, rbx
lea rcx, [rbp - 0x10]
call fcn.140099310
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, rbx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r14d
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 0x140097561
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 5
mov dword [rsp + 0x50], eax
call fcn.1400de610
test eax, eax
je 0x1400975e3
lea rax, [rsp + 0x50]
mov r9d, 0x106
mov qword [rsp + 0x38], rax
lea r8, str.McAfee::Script::CSystemPlugin::LaunchProcess
lea rax, [rsp + 0x60]
mov ecx, 5
mov qword [rsp + 0x30], rax
lea rdx, str.E:BT44b5dfd4_f054_40b5_bacf_e43ad92734e1ScriptHostJavaScriptScriptablePluginsSystemPlugin_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.140099370
jmp 0x1400975e3
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov r14, qword [rsp + 0x70]
mov ebx, dword [rsp + 0x78]
call fcn.14008b2c0
lea rax, [r14 - 1]
mov dword [rdi + 8], 3
mov dword [rdi + 0x10], ebx
cmp rax, 0xfffffffffffffffd
ja 0x140097594
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400975a7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400975e5
mov ecx, 5
call fcn.1400de610
test eax, eax
je 0x1400975e3
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:BT44b5dfd4_f054_40b5_bacf_e43ad92734e1ScriptHostJavaScriptScriptablePluginsSystemPlugin_srcSystemPlugin.cpp
mov ecx, 5
call fcn.140028a20
xor al, al
mov rcx, qword [rbp + 0x1fff0]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x20100
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret