Function at 0x1400d2610
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 [0x1402ecca8]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r14, r9
mov r15, r8
mov rbx, rdx
mov r13, rcx
mov rdi, qword [rdx + 0x10]
mov rsi, rdx
mov r12, qword [rdx + 0x18]
cmp r12, 0x10
jb 0x1400d265d
mov rsi, qword [rdx]
cmp rdi, 4
jbe 0x1400d26be
lea r8, [rdi - 4]
lea rcx, [rsi + 4]
mov edx, 0x5c
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400d26be
sub rax, rsi
cmp eax, 0xffffffff
je 0x1400d26be
xor ecx, ecx
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x90], SafeArrayGetLBound
mov byte [rbp + 0x78], cl
movsxd r8, eax
cmp rdi, r8
cmovb r8, rdi
mov rdx, rbx
cmp r12, 0x10
jb 0x1400d26b3
mov rdx, qword [rbx]
lea rcx, [rbp + 0x78]
call fcn.140008d90
jmp 0x1400d26cb
mov rdx, rbx
lea rcx, [rbp + 0x78]
call fcn.140008350
nop
lea rdi, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rdi, qword [rbp + 0x78]
mov r12, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400d26e9
mov r12, qword [r14]
cmp qword [rbx + 0x18], 0x10
jb 0x1400d26f3
mov rbx, qword [rbx]
mov edx, 0x5c
lea rsi, str.C:.image_jenkinsworkspaceCC_Windows_ReleaseVECommonCommonDriverCheckupdateDriver.cpp
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400d271e
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x1400d2721
mov rax, rsi
mov qword [rsp + 0x40], rdi
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_inf_file_path:_s_hwID:_s
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.14007e020
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 eax, eax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], ax
lea rax, [rbp + 0xe0]
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400d27e0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x98]
call fcn.14001e220
nop
lea rdx, str.__process_typeupdateDriver___1____2____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 [r15 + 0x18], 0x10
jb 0x1400d2875
mov r15, qword [r15]
mov rdx, r15
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 [r14 + 0x18], 0x10
jb 0x1400d28b9
mov r14, qword [r14]
mov rdx, r14
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
xor edi, edi
mov qword [rsp + 0x68], rdi
mov rcx, r13
call fcn.1400d5880
lea rdx, str.runas
lea rcx, [0x1401d4598]
test al, al
cmovne rcx, rdx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x78], rdi
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]
lea edx, [rdi + 0x5c]
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400d29ff
lea edx, [rdi + 0x5c]
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x1400d2a02
mov rax, rsi
mov qword [rsp + 0x30], rbx
lea r14, str.UpdateDriver::CreateUpdateZipDriverProcess
mov qword [rsp + 0x28], r14
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.14007e020
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400d2b4e
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400d2a6d
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x1400d2a70
mov rax, rsi
mov qword [rsp + 0x28], r14
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.14007e020
mov rax, qword [rbp - 0x38]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400d2af6
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400d2ac8
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
lea rsi, [rax + 1]
mov qword [rsp + 0x28], r14
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.14007e020
mov r12, qword [rbp - 0x38]
jmp 0x1400d2b4e
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 0x1400d2b21
mov edx, 0x5c
mov rcx, rsi
call sub.VCRUNTIME140.dll_strrchr
lea rsi, [rax + 1]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r14
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.14007e020
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 8
jb 0x1400d2b97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2b92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d2b92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140175928
mov qword [rbp + 0xc8], rdi
mov qword [rbp + 0xd0], 7
mov word [rbp + 0xb8], di
mov rdx, qword [rbp + 0xb0]
cmp rdx, 8
jb 0x1400d2bf9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2bf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d2bf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140175928
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], di
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1400d2c53
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2c4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d2c4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140175928
mov rax, r12
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140175f30
add rsp, 0x408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret