Function at 0x14006e0e0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x308]
sub rsp, 0x408
mov rax, qword [0x14026eff8]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x58], rcx
mov rdi, qword [rdx + 0x10]
mov rsi, rdx
mov r12, qword [rdx + 0x18]
cmp r12, 0x10
jb 0x14006e12f
mov rsi, qword [rdx]
xor r13d, r13d
cmp rdi, 4
jbe 0x14006e191
lea r8, [rdi - 4]
lea rcx, [rsi + 4]
lea edx, [r13 + 0x5c]
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14006e191
sub rax, rsi
cmp eax, 0xffffffff
je 0x14006e191
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x90], SafeArrayPutElement
mov byte [rbp + 0x78], r13b
movsxd r8, eax
cmp rdi, r8
cmovb r8, rdi
mov rdx, rbx
cmp r12, 0x10
jb 0x14006e186
mov rdx, qword [rbx]
lea rcx, [rbp + 0x78]
call fcn.14000baa0
jmp 0x14006e19e
mov rdx, rbx
lea rcx, [rbp + 0x78]
call fcn.14000aef0
nop
lea rdi, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rdi, qword [rbp + 0x78]
mov r13, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14006e1bc
mov r13, qword [r15]
mov r12, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14006e1c9
mov r12, qword [r14]
cmp qword [rbx + 0x18], 0x10
jb 0x14006e1d3
mov rbx, qword [rbx]
mov edx, 0x5c
lea rsi, str.C:.image_jenkinsworkspaceCC_Windows_Release_2InfraFoundationdriver_checkupdateDriver.cpp
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14006e1fe
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x14006e201
mov rax, rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rbx
lea rcx, str.UpdateDriver::CreateUpdateZipDriverProcess
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x866
mov r9, rax
lea r8, str.__s:_d__s__hwInstanceID:_s_driver_unzip_path:_s_inf_file_path:_s_hwID:_s
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.1400a0de0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.CapCut.exe
lea rcx, [rbp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor r13d, r13d
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], r13w
lea rax, [rbp + 0xe0]
mov r12, 0xffffffffffffffff
mov r8, r12
inc r8
cmp word [rax + r8*2], r13w
jne 0x14006e2c3
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x98]
call fcn.140021fb0
nop
lea rdx, str.__process_typeupdate_driver___hardware_id__1____unzip_path__2____inf_file_list__3_
lea rcx, [rbp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rdi, rax
mov dl, 0x20
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ebx, word [rax]
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rdx, qword [rbp + 0x78]
lea rcx, [rbp]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
mov word [rsp + 0x20], bx
xor r9d, r9d
lea r8, [rbp]
lea rdx, [rbp + 0x48]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rdi, rax
mov dl, 0x20
lea rcx, [rsp + 0x52]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ebx, word [rax]
cmp qword [r14 + 0x18], 0x10
jb 0x14006e357
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rbp - 0x18]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
mov word [rsp + 0x20], bx
xor r9d, r9d
lea r8, [rbp - 0x18]
lea rdx, [rbp + 0x30]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rdi, rax
mov dl, 0x20
lea rcx, [rsp + 0x54]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ebx, word [rax]
cmp qword [r15 + 0x18], 0x10
jb 0x14006e39b
mov r15, qword [r15]
mov rdx, r15
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
mov word [rsp + 0x20], bx
xor r9d, r9d
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x18]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
nop
lea rdx, [rbp + 0xb8]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
mov qword [rbp - 0x3c], rax
mov dword [rbp - 0x34], eax
mov dword [rsp + 0x60], 0x70
mov dword [rsp + 0x64], 0x40
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x58]
call fcn.140071360
lea rdx, str.runas
lea rcx, [0x140130e48]
test al, al
cmovne rcx, rdx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x78], r13
mov dword [rbp - 0x70], 1
lea rax, [rbp + 0x98]
cmp qword [rbp + 0xb0], 8
cmovae rax, qword [rbp + 0x98]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 8
cmovae rax, qword [rbp + 0xb8]
mov qword [rbp - 0x80], rax
lea rbx, [rbp + 0xb8]
cmovae rbx, qword [rbp + 0xb8]
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14006e4e5
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x14006e4e8
mov rax, rsi
mov qword [rsp + 0x30], rbx
lea rdi, str.UpdateDriver::CreateUpdateZipDriverProcess
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x87a
mov r9, rax
lea r8, str.__s:_d__s__ShellExecuteEx_param:_S
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.1400a0de0
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14006e634
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14006e553
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x14006e556
mov rax, rsi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x87c
mov r9, rax
lea r8, str.__s:_d__s__ShellExecuteEx_success
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.1400a0de0
mov rax, qword [rbp - 0x38]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14006e5dc
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14006e5ae
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
lea rsi, [rax + 1]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x880
mov r9, rsi
lea r8, str.__s:_d__s__hProcess_is_valid
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.1400a0de0
mov r12, qword [rbp - 0x38]
jmp 0x14006e634
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14006e607
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
lea rsi, [rax + 1]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x87e
mov r9, rsi
lea r8, str.__s:_d__s__hProcess_is_invalid_error:_d
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.1400a0de0
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 8
jb 0x14006e67d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e678
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e678
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140101b3c
mov qword [rbp + 0xc8], r13
mov qword [rbp + 0xd0], 7
mov word [rbp + 0xb8], r13w
mov rdx, qword [rbp + 0xb0]
cmp rdx, 8
jb 0x14006e6e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e6db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e6db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140101b3c
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], r13w
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14006e73b
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e736
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e736
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140101b3c
mov rax, r12
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140102140
add rsp, 0x408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret