Function at 0x140071290
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov qword [r11 + 8], r12
lea rax, str.CTPSCFunc::SetPeakShiftList
mov qword [r11 - 0x28], r13
lea r9, [0x1402a214c]
mov qword [r11 - 0x38], r15
lea r13, str.__CTPSCFunc::SetPeakShiftList_
mov r15, rdx
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], r13
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tpsc_tpscfunc.cpp
mov r8d, LoadRegTypeLib
mov dword [rsp + 0x20], 3
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x78], rax
call fcn.140008c40
mov r8, qword [rbp - 0x78]
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x70]
call fcn.140008d50
mov eax, dword [0x14023a010]
lea r9, [0x1402a214c]
mov dword [rbp - 0x30], eax
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5include_regconfig.h
movzx eax, word [0x14023a014]
lea rcx, [rsp + 0x60]
mov word [rbp - 0x2c], ax
xorps xmm0, xmm0
xor eax, eax
xor r12d, r12d
mov qword [rbp - 0x2a], rax
mov edi, r12d
mov word [rbp - 0x22], ax
mov eax, dword [0x14023df80]
mov dword [rbp - 0x10], eax
lea r8d, [r12 + 0x63]
movzx eax, word [0x14023df84]
mov word [rbp - 0xc], ax
xor eax, eax
mov qword [rbp - 0xa], rax
mov word [rbp - 2], ax
mov eax, dword [0x14023df98]
mov dword [rbp + 0x10], eax
movzx eax, word [0x14023df9c]
mov word [rbp + 0x14], ax
xor eax, eax
mov qword [rbp + 0x16], rax
mov word [rbp + 0x1e], ax
mov eax, dword [0x14023dfb0]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rbp + 0x30], eax
movups xmm0, xmmword [str.PeakShift1]
movzx eax, word [0x14023dfb4]
mov word [rbp + 0x34], ax
xor eax, eax
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [str.PeakShift2]
mov qword [rbp + 0x36], rax
mov word [rbp + 0x3e], ax
lea rax, vtable.RegConfigAccess.0
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [str.PeakShift3]
mov qword [rsp + 0x38], rax
lea rax, str.__RegConfigAccess::Open_
mov qword [rsp + 0x28], rax
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [str.PeakShift4]
mov dword [rsp + 0x20], 3
mov qword [rsp + 0x58], r12
movaps xmmword [rbp + 0x20], xmm0
mov qword [rsp + 0x40], r12
call fcn.140008c40
mov rcx, rax
lea r9, str.SOFTWAREDynabookeco_UtilityPeakShift
lea r8, str.pszSubKey
lea rdx, str._s___s
call fcn.140008d50
lea rax, [rsp + 0x40]
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREDynabookeco_UtilityPeakShift
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x14007150e
movzx esi, bx
or esi, 0x80070000
mov qword [rsp + 0x158], r14
mov r14d, eax
test eax, eax
jle 0x140071478
mov r14d, esi
lea rax, str.__RegConfigAccess::Open_
mov r8d, 0x67
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], r12d
lea rcx, [rsp + 0x60]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, r14d
call fcn.140008d50
mov r14, qword [rsp + 0x158]
test ebx, ebx
cmovle esi, ebx
test esi, esi
jns 0x14007150e
mov qword [rsp + 0x28], r13
lea r9, [0x1402a214c]
mov r8d, 0xa5
mov dword [rsp + 0x20], r12d
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tpsc_tpscfunc.cpp
lea rcx, [rsp + 0x60]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, esi
call fcn.140008d50
mov rbx, qword [rsp + 0x48]
jmp 0x14007163b
lea r9, [rsp + 0x30]
mov r8d, 4
lea rdx, str.PeakShiftCount
lea rcx, [rsp + 0x38]
call fcn.1400089c0
mov esi, eax
test eax, eax
jns 0x140071574
mov qword [rsp + 0x28], r13
lea r9, [0x1402a214c]
mov r8d, 0xa7
mov dword [rsp + 0x20], r12d
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tpsc_tpscfunc.cpp
lea rcx, [rsp + 0x60]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, esi
call fcn.140008d50
mov rbx, qword [rsp + 0x48]
jmp 0x140071631
cmp dword [rsp + 0x30], edi
jle 0x140071629
mov rcx, qword [rsp + 0x50]
mov esi, r12d
mov rbx, r15
nop dword [rax]
cmp rdi, rcx
je 0x1400715a4
movzx eax, byte [rbx]
mov byte [rcx], al
inc rcx
mov qword [rsp + 0x50], rcx
jmp 0x1400715be
mov rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x48]
call fcn.140005900
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
inc esi
inc rbx
cmp esi, 0x2c
jb 0x140071590
movsxd rax, dword [r15 + 0x28]
lea rdx, [rbp - 0x40]
shl rax, 5
add rdx, rax
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400716cf
lea rax, str.__RegConfigAccess::SetValue_
mov r8d, 0x174
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], r12d
lea rcx, [rsp + 0x60]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, 0x80070006
call fcn.140008d50
mov rbx, qword [rsp + 0x48]
mov esi, r12d
lea rcx, [rsp + 0x38]
call fcn.140005d10
lea rax, vtable.RegConfigAccess.0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call fcn.140005d10
mov r15, qword [rsp + 0x150]
mov r13, qword [rsp + 0x160]
mov r12, qword [rsp + 0x190]
test rbx, rbx
je 0x1400716a1
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x140071696
mov rbx, qword [rbx - 8]
add rdi, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007174c
mov rdx, rdi
mov rcx, rbx
call fcn.14001dee0
mov r8, qword [rbp - 0x78]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x70]
call fcn.140008d50
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140072680
add rsp, 0x168
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rbx, qword [rsp + 0x48]
mov r9d, 3
sub ecx, ebx
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
je 0x14007162e
jle 0x140071706
movzx esi, ax
or esi, 0x80070000
lea rax, str.__RegConfigAccess::SetValue_
mov r8d, 0x17a
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], r12d
lea rcx, [rsp + 0x60]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, esi
call fcn.140008d50
jmp 0x14007162e
call fcn.1401f802c
int3