Function at 0x14003a860
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
mov qword [rbp - 0x10], rcx
lea r8, str.CreateParameterRegData
mov qword [rbp + 0x28], r8
lea r14, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_fordnbk0001_dev_bcmcentennial_rs5dynabookecoservice_tpowersaverstaticlib_tpowersaver.cpp
mov qword [rbp + 0x30], r14
mov dword [rbp + 0x38], 0x39e
lea rdi, str.__CreateParameterRegData_
mov qword [rbp + 0x40], rdi
lea r15, [0x1402a214c]
mov qword [rbp + 0x48], r15
mov dword [rbp + 0x50], 3
lea rdx, str.ENTER__s
lea rcx, [rbp + 0x30]
call fcn.140008d50
nop
mov ecx, 0x10
call fcn.1400729ec
mov r12, rax
test rbx, rbx
jne 0x14003a93b
mov esi, 0x80004003
mov dword [rsp + 0x68], 0x3a2
mov qword [rsp + 0x70], rdi
mov r8d, esi
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], ebx
lea rdx, str.Error_Code:_0x_x
lea rcx, [rsp + 0x60]
call fcn.140008d50
jmp 0x14003ae10
xor ebx, ebx
mov qword [rbp - 0x68], rbx
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREDynabookeco_UtilityParameter
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003a97a
mov esi, 0x80004005
mov dword [rsp + 0x68], 0x3a9
jmp 0x14003a910
mov rdi, qword [rbp - 0x68]
lea r8, str.GetParameterCount
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x38], 0x3e0
lea r13, str.__GetParameterCount_
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r15
mov dword [rbp - 0x20], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x40]
call fcn.140008d50
nop
mov dword [rbp - 0x70], ebx
mov esi, 0x80004003
test rdi, rdi
jne 0x14003a9fa
mov edi, esi
mov dword [rsp + 0x68], 0x3e5
mov r8d, esi
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x60], r14
lea rdx, str.Error_Code:_0x_x
lea rcx, [rsp + 0x60]
call fcn.140008d50
jmp 0x14003aa4f
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14003aa4d
mov edi, 0x80004005
mov dword [rsp + 0x68], 0x3e9
mov r8d, edi
jmp 0x14003a9d5
mov edi, ebx
mov r8, qword [rbp - 0x48]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x40]
call fcn.140008d50
test edi, edi
jns 0x14003aa85
mov dword [rsp + 0x68], 0x3ad
mov esi, edi
lea rcx, str.__CreateParameterRegData_
mov qword [rsp + 0x70], rcx
mov r8d, edi
jmp 0x14003a918
cmp dword [rbp - 0x70], 0
jne 0x14003aaa9
mov esi, 0x80004005
mov dword [rsp + 0x68], 0x3ae
lea rcx, str.__CreateParameterRegData_
mov qword [rsp + 0x70], rcx
jmp 0x14003a915
xor eax, eax
mov qword [r12], rax
mov qword [r12 + 8], rax
mov eax, dword [rbp - 0x70]
mov dword [r12], eax
mov ecx, dword [rbp - 0x70]
mov eax, 0x60
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140073210
mov qword [r12 + 8], rax
mov ecx, dword [r12]
lea r8, [rcx + rcx*2]
shl r8, 5
xor edx, edx
mov rcx, rax
call fcn.1401f5d40
mov r13d, ebx
nop word [rax + rax]
mov dword [rbp - 0x58], 0x4a
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov word [rbp + 0xa8], ax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x58]
lea r8, [rbp + 0x60]
mov edx, r13d
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rbp - 0x4c], eax
test eax, eax
jne 0x14003adfc
mov ecx, r13d
lea rdi, [rcx + rcx*2]
shl rdi, 5
add rdi, qword [r12 + 8]
mov qword [rbp - 0x18], rdi
lea rax, str.TPwrGuidFromString
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x38], 0x40a
lea rcx, str.__TPwrGuidFromString_
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r15
mov dword [rbp - 0x20], 3
mov r8, rax
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x40]
call fcn.140008d50
nop
mov rdx, rdi
lea rcx, [rbp + 0x60]
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
nop
mov r8, qword [rbp - 0x48]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x40]
call fcn.140008d50
mov dword [rbp - 0x54], 0x40
mov dword [rbp - 0x50], 4
lea r14, [rdi + 0x50]
add rdi, 0x10
mov r15, qword [rbp - 0x68]
lea rcx, str.GetTPSItemRegValue
mov qword [rbp - 8], rcx
lea rax, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_fordnbk0001_dev_bcmcentennial_rs5dynabookecoservice_tpowersaverstaticlib_tpowersaver.cpp
mov qword [rbp], rax
mov dword [rbp + 8], 0x416
lea rax, str.__GetTPSItemRegValue_
mov qword [rbp + 0x10], rax
lea rax, [0x1402a214c]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 3
mov r8, rcx
lea rdx, str.ENTER__s
lea rcx, [rbp]
call fcn.140008d50
nop
test r15, r15
jne 0x14003aca4
mov dword [rsp + 0x68], 0x41b
lea r14, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_fordnbk0001_dev_bcmcentennial_rs5dynabookecoservice_tpowersaverstaticlib_tpowersaver.cpp
mov edi, esi
lea r15, [0x1402a214c]
mov r8d, esi
mov qword [rsp + 0x60], r14
lea rax, str.__GetTPSItemRegValue_
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x78], r15
lea rdx, str.Error_Code:_0x_x
lea rcx, [rsp + 0x60]
call fcn.140008d50
jmp 0x14003ad95
test rdi, rdi
jne 0x14003acb3
mov dword [rsp + 0x68], 0x41d
jmp 0x14003ac62
test r14, r14
jne 0x14003acc2
mov dword [rsp + 0x68], 0x41e
jmp 0x14003ac62
mov qword [rbp - 0x60], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003ad0c
mov dword [rsp + 0x68], 0x422
lea r14, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_fordnbk0001_dev_bcmcentennial_rs5dynabookecoservice_tpowersaverstaticlib_tpowersaver.cpp
lea r15, [0x1402a214c]
mov edi, 0x80004005
mov r8d, edi
jmp 0x14003ac75
mov dword [rbp - 0x6c], ebx
lea rax, [rbp - 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x6c]
xor r8d, r8d
lea rdx, str.EntryName
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14003ad43
mov dword [rsp + 0x68], 0x426
jmp 0x14003acf1
mov dword [rbp - 0x6c], ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x6c]
xor r8d, r8d
lea rdx, str.GUIDEntry
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r14, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_fordnbk0001_dev_bcmcentennial_rs5dynabookecoservice_tpowersaverstaticlib_tpowersaver.cpp
lea r15, [0x1402a214c]
test eax, eax
je 0x14003ad93
mov dword [rsp + 0x68], 0x42a
mov edi, 0x80004005
mov r8d, edi
jmp 0x14003ac75
mov edi, ebx
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14003ada5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov r8, qword [rbp - 8]
lea rdx, str.LEAVE__s
lea rcx, [rbp]
call fcn.140008d50
test edi, edi
js 0x14003af31
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400729ec
mov r8, qword [rbp - 0x18]
mov qword [r8 + 0x58], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov r8, qword [r8 + 0x58]
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp - 0x68]
call fcn.14003b070
test eax, eax
js 0x14003af13
mov eax, dword [rbp - 0x4c]
inc r13d
test eax, eax
je 0x14003ab00
mov rax, qword [rbp - 0x10]
mov qword [rax], r12
mov esi, ebx
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14003ae1f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x14003aecd
lea r8, str.DeleteTPSRegParameterInfo
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x70], 0x496
lea rax, str.__DeleteTPSRegParameterInfo_
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], 3
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x68]
call fcn.140008d50
nop
cmp dword [r12], 0
je 0x14003aeb6
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x14003aeb6
mov rax, qword [rcx + 0x58]
test rax, rax
je 0x14003ae9e
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rax
call fcn.14001dee0
mov rax, qword [r12 + 8]
mov qword [rax + 0x58], rbx
mov rcx, qword [r12 + 8]
call fcn.14001dee0
mov qword [r12 + 8], rbx
mov edx, 0x10
mov rcx, r12
call fcn.14001dee0
nop
mov r8, qword [rsp + 0x60]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x68]
call fcn.140008d50
nop
mov r8, qword [rbp + 0x28]
lea rdx, str.LEAVE__s
lea rcx, [rbp + 0x30]
call fcn.140008d50
mov eax, esi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov esi, eax
mov dword [rsp + 0x68], 0x3c8
lea rcx, str.__CreateParameterRegData_
mov qword [rsp + 0x70], rcx
mov r8d, eax
jmp 0x14003a918
mov dword [rsp + 0x68], 0x3c4
jmp 0x14003aa6f