Function at 0x1400d6240
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x1402ecca8]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.CapCut.exe
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor r14d, r14d
mov qword [rbp - 0x10], r14
mov qword [rbp], r14
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r14w
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400d62d3
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.14001e220
nop
lea rdx, str._updateDriver__1
lea rcx, [rbp - 0x28]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov dl, 0x20
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ecx, word [rax]
mov word [rsp + 0x28], cx
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
mov r8, rsi
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_long_long___int64___int__int__class_QChar____ptr64]
nop
lea rdx, [rbp + 0x10]
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 - 0x40]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], eax
mov dword [rsp + 0x50], 0x70
mov dword [rsp + 0x54], 0x40
mov qword [rsp + 0x58], r14
mov rcx, rdi
call fcn.1400d5880
lea rdx, str.runas
lea rcx, [0x1401d4598]
test al, al
cmovne rcx, rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
mov qword [rsp + 0x70], rax
xor dil, dil
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECommonCommonDriverCheckupdateDriver.cpp
lea r15, str.UpdateDriver::UpdateDriverInNewProcess
test eax, eax
je 0x1400d64a9
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400d641b
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x1400d641e
mov rax, rbx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x2e9
mov r9, rax
lea r8, str.__s:_d__s__ShellExecuteEx_success
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.14007e020
cmp qword [rbp - 0x48], 0xffffffffffffffff
je 0x1400d64a6
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400d6471
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x1400d6474
mov rax, rbx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x2eb
mov r9, rax
lea r8, str.__s:_d__s__WaitForSingleObject_after
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.14007e020
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
movzx esi, dil
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400d64d0
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x2f0
mov r9, rbx
lea r8, str.__s:_d__s__ShellExecuteEx_ret:_d
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.14007e020
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1400d6540
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d653b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d653b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140175928
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r14w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400d6594
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d658f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d658f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140175928
movzx eax, dil
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140175f30
mov rbx, qword [rsp + 0x390]
add rsp, 0x350
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret