Function at 0x140066e40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov ebx, ecx
lea rax, str.TosInitSet::_writeDefaultPeakShiftRetainValue
lea r15, str.__TosInitSet::_writeDefaultPeakShiftRetainValue_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], r15
lea r9, [0x1402a214c]
mov r8d, 0x253
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospower_tosinit.cpp
lea rcx, [rsp + 0x48]
call fcn.140008c40
mov r8, qword [rsp + 0x40]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x48]
call fcn.140008d50
movdqa xmm0, xmmword [0x14022b000]
lea r14, vtable.RegConfigAccess.0
movdqa xmm1, xmmword [0x14022aff0]
xor ecx, ecx
mov r8, qword [str.SOFTWAREDynabookeco_UtilityPeakShift]
mov eax, 0xa
mov qword [rsp + 0xbc], rcx
test ebx, ebx
mov ecx, 5
mov qword [rsp + 0x30], r14
cmovne eax, ecx
mov r9d, 0x20006
xor ebp, ebp
mov dword [rsp + 0xb8], eax
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x38], rbp
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x98], xmm0
movdqu xmmword [rsp + 0xa8], xmm1
call fcn.140005bb0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x140066f85
lea rax, str.__RegConfigAccess::SetValue_
mov r8d, 0x15f
mov qword [rsp + 0x28], rax
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5include_regconfig.h
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x70]
call fcn.140008c40
mov ebx, 0x80070006
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
mov rcx, rax
call fcn.140008d50
jmp 0x140067024
lea rax, [rsp + 0x98]
mov dword [rsp + 0x28], 0x2c
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.PeakShift1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x14006705f
movzx ebx, di
or ebx, 0x80070000
mov qword [rsp + 0xf0], rsi
mov esi, eax
test eax, eax
jle 0x140066fd3
mov esi, ebx
lea rax, str.__RegConfigAccess::SetValue_
mov r8d, 0x163
mov qword [rsp + 0x28], rax
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5include_regconfig.h
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x70]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, esi
call fcn.140008d50
mov rsi, qword [rsp + 0xf0]
test edi, edi
cmovle ebx, edi
test ebx, ebx
jns 0x14006705f
mov qword [rsp + 0x28], r15
lea r9, [0x1402a214c]
mov r8d, 0x25f
mov dword [rsp + 0x20], ebp
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospower_tosinit.cpp
lea rcx, [rsp + 0x70]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
call fcn.140008d50
jmp 0x140067061
mov ebx, ebp
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
call fcn.140005d10
mov r8, qword [rsp + 0x40]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x48]
call fcn.140008d50
mov eax, ebx
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret