Function at 0x14005b660
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
lea rax, str.QueryPowerPipeHandler::LoadHistoryDebugSetting
lea r14, str.__QueryPowerPipeHandler::LoadHistoryDebugSetting_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x28], r14
lea r9, [0x1402a214c]
mov r8d, 0x425
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
lea rcx, [rsp + 0x78]
call fcn.140008c40
mov r8, qword [rsp + 0x70]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x78]
call fcn.140008d50
lea rax, [rsp + 0x40]
xor r15d, r15d
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], r15
lea rdx, [0x1402327b8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14005b92c
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HistoryDebugSpeed
mov dword [rsp + 0x30], 4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005b7b6
cmp dword [rsp + 0x34], 4
jne 0x14005b7b6
mov eax, dword [rsp + 0x38]
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], r14
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
mov r8d, 0x438
mov dword [rsi + 0xf0], eax
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x20], 3
call fcn.140008c40
mov r8d, dword [rsp + 0x38]
lea rdx, str.HistoryDebugSpeed__d
mov rcx, rax
call fcn.140008d50
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.HistoryDebugLogFile
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005b86a
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14005b86a
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14005b811
test al, 1
jne 0x14005b86a
shr rax, 1
cmp word [rbp + rax*2 - 0x62], r15w
je 0x14005b816
jmp 0x14005b86a
mov word [rbp - 0x60], r15w
lea rdx, [rbp - 0x60]
lea rcx, [rsi + 0xf8]
call fcn.140004590
mov rbx, qword [rsi + 0xf8]
lea r9, [0x1402a214c]
mov r8d, 0x440
mov qword [rsp + 0x28], r14
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x48]
call fcn.140008c40
mov rcx, rax
lea rdx, str.HistoryDebugLogFile__s
mov r8, rbx
call fcn.140008d50
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.HistoryDebugLogWrite
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005b91a
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14005b91a
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14005b8c5
test al, 1
jne 0x14005b91a
shr rax, 1
cmp word [rbp + rax*2 - 0x62], r15w
je 0x14005b8ca
jmp 0x14005b91a
mov word [rbp - 0x60], r15w
lea rbx, [rsi + 0x100]
mov rcx, rbx
lea rdx, [rbp - 0x60]
call fcn.140004590
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], r14
mov r8d, 0x447
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
lea rcx, [rsp + 0x48]
call fcn.140008c40
mov r8, qword [rbx]
lea rdx, str.HistoryDebugWriteSaved__s
mov rcx, rax
call fcn.140008d50
mov bl, 1
test rdi, rdi
je 0x14005b991
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005b991
mov qword [rsp + 0x28], r14
lea r9, [0x1402a214c]
mov dword [rsp + 0x20], 2
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerquerypowerpipehandler.cpp
lea rcx, [rsp + 0x48]
cmp ebx, 2
jne 0x14005b972
mov r8d, 0x42a
call fcn.140008c40
mov rcx, rax
lea rdx, str.CRegKey::Open_ERROR_FILE_NOT_FOUND__d
mov r8d, ebx
call fcn.140008d50
mov bl, 1
jmp 0x14005b991
mov r8d, 0x42e
call fcn.140008c40
mov rcx, rax
lea rdx, str.CRegKey::Open_failed__d
mov r8d, ebx
call fcn.140008d50
xor bl, bl
mov r8, qword [rsp + 0x70]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x78]
call fcn.140008d50
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret