Function at 0x140071d20
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 [0x14026eff8]
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 0x140071db3
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140021fb0
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.140071360
lea rdx, str.runas
lea rcx, [0x140130e48]
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_2InfraFoundationdriver_checkupdateDriver.cpp
lea r15, str.UpdateDriver::UpdateDriverInNewProcess
test eax, eax
je 0x140071f89
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140071efb
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x140071efe
mov rax, rbx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x2ea
mov r9, rax
lea r8, str.__s:_d__s__ShellExecuteEx_success
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.1400a0de0
cmp qword [rbp - 0x48], 0xffffffffffffffff
je 0x140071f86
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140071f51
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x140071f54
mov rax, rbx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x2ec
mov r9, rax
lea r8, str.__s:_d__s__WaitForSingleObject_after
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.1400a0de0
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 0x140071fb0
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], 0x2f1
mov r9, rbx
lea r8, str.__s:_d__s__ShellExecuteEx_ret:_d
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.1400a0de0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140072020
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007201b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007201b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140101b3c
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r14w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140072074
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007206f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007206f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140101b3c
movzx eax, dil
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140102140
mov rbx, qword [rsp + 0x390]
add rsp, 0x350
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret