Function at 0x140052540
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
push rdi
push r14
push r15
sub rsp, 0xa0
lea rax, str.ModeManager::SetCurrentPtGoalLevel
mov r8d, 0x6c1
lea r14, str.__ModeManager::SetCurrentPtGoalLevel_
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], r14
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x70]
call fcn.140008c40
mov r8, qword [rsp + 0x68]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x70]
call fcn.140008d50
xor ebp, ebp
lea rax, vtable.RegConfigAccess.0
lea r15, str.__RegConfigAccess::Open_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
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 qword [rsp + 0x38], rbp
lea r8d, [rbp + 0x63]
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x40]
call fcn.140008c40
mov rcx, rax
lea r9, [0x14022b548]
lea r8, str.pszSubKey
lea rdx, str._s___s
call fcn.140008d50
lea rax, [rsp + 0x38]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14022b548]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x14005269e
movzx ebx, di
mov esi, eax
or ebx, 0x80070000
test eax, eax
jle 0x140052651
mov esi, ebx
mov qword [rsp + 0x28], r15
lea r9, [0x1402a214c]
mov r8d, 0x67
mov dword [rsp + 0x20], ebp
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5include_regconfig.h
lea rcx, [rsp + 0x40]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, esi
call fcn.140008d50
test edi, edi
cmovle ebx, edi
test ebx, ebx
jns 0x14005269e
mov r8d, 0x6c7
jmp 0x140052787
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x1400526f2
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 + 0x40]
call fcn.140008c40
mov ebx, 0x80070006
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
mov rcx, rax
call fcn.140008d50
jmp 0x140052781
lea rax, [rsp + 0xc8]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.CurrentPtGoalLevel
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x1400527bc
movzx ebx, di
mov esi, eax
or ebx, 0x80070000
test eax, eax
jle 0x140052738
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 + 0x40]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, esi
call fcn.140008d50
test edi, edi
cmovle ebx, edi
test ebx, ebx
jns 0x1400527bc
mov r8d, 0x6c9
mov qword [rsp + 0x28], r14
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowermodemanager.cpp
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x40]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, ebx
call fcn.140008d50
jmp 0x1400527be
mov ebx, ebp
lea rcx, [rsp + 0x30]
call fcn.140005ba0
mov r8, qword [rsp + 0x68]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x70]
call fcn.140008d50
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret