Function at 0x140068a20
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x218]
sub rsp, 0x300
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400c8010]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rdx + 0x110], 0
je 0x140068ef9
lea rdx, str.click
mov rcx, rbx
call qword [sym.imp.DuiLib.dll_public:_bool___cdecl_DuiLib::CDuiString::operator__wchar_t_const____ptr64_const___ptr64]
test al, al
jne 0x140068ef9
mov rcx, qword [rbx + 0x110]
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
call qword [rax + VariantCopy]
nop
mov rcx, rax
call qword [sym.imp.DuiLib.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::GetData_void_const___ptr64]
xor r14d, r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, rax
lea rcx, [rsp + 0x68]
call sym.PCManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x78]
cmp r9, 0xe
jne 0x140068e66
mov r8, r9
lea rcx, str.confirm_button
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x140068e66
add rdx, 2
add rcx, 2
sub r8, 1
jne 0x140068b00
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r14w
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
lea rdx, str.RepairPCManager.exe
lea rcx, [rsp + 0x48]
call sym.PCManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call qword [sym.imp.HwFileUtil.dll_bool___cdecl_FileInfo::GetSelfFullFilePath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
test al, al
jne 0x140068c0b
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140068bad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068ba8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068ba8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140068eb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068e5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068e5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rbx, qword [rbp - 0x40]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea r8, str.RepairMainService
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.huawei_secure_c.dll_wcscpy_s]
test eax, eax
jne 0x140068c87
call fcn.14006b110
test eax, eax
jne 0x140068c67
lea r8, str.__Admin
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.huawei_secure_c.dll_wcscat_s]
test eax, eax
jne 0x140068c87
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x20]
mov r8, rbx
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 1
call fcn.14006b6dc
mov rbx, rax
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x78]
call fcn.14003f450
lea rax, vtable.std::_LaunchPad_class_std::unique_ptr_class_std::tuple_class__lambda_98a1e7b0687097842dae379650d60ae1____struct_std::default_delete_class_std::tuple_class__lambda_98a1e7b0687097842dae379650d60ae1_____.0
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x30], r14
mov qword [rbp - 0x58], rbx
lea r8, [rbp - 0x78]
lea rdx, [0x14003f570]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_start]
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x140068cf6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [rbp - 0x60], 0
jne 0x140068d20
nop dword [rax]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
test eax, eax
je 0x140068d1a
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [rbp - 0x60], 0
je 0x140068d00
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140068d34
mov edx, 1
call fcn.14006ba9c
nop
mov rdi, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test eax, eax
je 0x140068d51
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_destroy]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Cnd_destroy]
nop
cmp dword [rbp - 0x48], 0
jne 0x140068d75
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140068d96
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x48], r14d
lea rcx, [rsi - 0x58]
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf060
call qword [sym.imp.DuiLib.dll_public:_long_long___int64____cdecl_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_long_long_unsigned___int64___long_long___int64_____ptr64]
nop
cmp dword [rbp - 0x48], 0
je 0x140068dc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140068e09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068e04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068e04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140068eb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068e5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068e5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
jmp 0x140068eb5
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
cmp r9, 8
jne 0x140068eb5
mov r8, r9
lea rdx, str.btnClose
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140068eb5
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x140068e86
lea rcx, [rsi - 0x58]
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf060
call qword [sym.imp.DuiLib.dll_public:_long_long___int64____cdecl_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_long_long_unsigned___int64___long_long___int64_____ptr64]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140068ef9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068ef4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068ef4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14006b6b0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret