Function at 0x1400e2fb0
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 [0x140304f48]
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 0x1400e3043
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.14001e710
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.1400e25f0
lea rdx, str.runas
lea rcx, [0x1401e2648]
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_Release_2VECommonCommonDriverCheckupdateDriver.cpp
lea r15, str.UpdateDriver::UpdateDriverInNewProcess
test eax, eax
je 0x1400e3219
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400e318b
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x1400e318e
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.14007f790
cmp qword [rbp - 0x48], 0xffffffffffffffff
je 0x1400e3216
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400e31e1
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x1400e31e4
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.14007f790
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 0x1400e3240
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.14007f790
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1400e32b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e32ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e32ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14017fa70
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r14w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400e3304
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e32ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e32ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14017fa70
movzx eax, dil
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140180070
mov rbx, qword [rsp + 0x390]
add rsp, 0x350
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret