Function at 0x14002dca0
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 8], rax
mov r15, rcx
mov dword [rbp - 0x40], 0xfa
lea r8, str.CBatmgrInter::OnDockStatusChanged
mov dword [rbp - 0x28], 3
lea rax, str.__CBatmgrInter::OnDockStatusChanged_
mov qword [rbp - 0x50], r8
lea r14, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_batmgr_batmgrinter.cpp
mov qword [rbp - 0x38], rax
lea r13, [0x1402a214c]
mov qword [rbp - 0x48], r14
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x30], r13
lea rdx, str.ENTER__s
call fcn.140008d50
lea rax, vtable.RegConfigAccess.0
mov dword [rsp + 0x68], 0x93
mov qword [rbp - 0x60], rax
lea rsi, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5include_regconfig.h
lea rax, str.__RegConfigAccess::Create_
mov qword [rsp + 0x60], rsi
xor r12d, r12d
mov qword [rsp + 0x70], rax
lea r9, str.SoftwareDynabookeco_UtilityBatteryManager
mov qword [rbp - 0x58], r12
lea r8, str.subKey
mov qword [rsp + 0x78], r13
lea rdx, str._s___s
mov dword [rbp - 0x80], 3
lea rcx, [rsp + 0x60]
call fcn.140008d50
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareDynabookeco_UtilityBatteryManager
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
je 0x14002de4a
movzx edi, bx
mov r8d, eax
or edi, 0x80070000
test eax, eax
jle 0x14002ddd3
mov r8d, edi
lea rax, str.__RegConfigAccess::Create_
mov qword [rsp + 0x60], rsi
lea rdx, str.Error_Code:_0x_x
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x68], 0x98
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], r12d
call fcn.140008d50
test ebx, ebx
cmovle edi, ebx
test edi, edi
jns 0x14002de4a
lea rax, str.__CBatmgrInter::OnDockStatusChanged_
mov qword [rsp + 0x60], r14
mov r8d, edi
mov qword [rsp + 0x70], rax
lea rdx, str.Error_Code:_0x_x
mov dword [rsp + 0x68], 0xfe
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], r12d
call fcn.140008d50
jmp 0x14002e187
lea r8, [rsp + 0x50]
mov qword [rsp + 0x60], r12
xor edx, edx
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], r12
call fcn.140031440
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [0x1402a4180]
lea rcx, [rbp - 0x60]
call fcn.1400311c0
mov edi, eax
test eax, eax
jns 0x14002deff
lea rax, str.__RegConfigAccess::GetValue_
mov qword [rbp - 0x20], rsi
mov r8d, edi
mov qword [rbp - 0x10], rax
lea rdx, str.Error_Code:_0x_x
mov dword [rbp - 0x18], 0x123
lea rcx, [rbp - 0x20]
mov qword [rbp - 8], r13
mov dword [rbp], r12d
call fcn.140008d50
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002def9
mov rdx, qword [rsp + 0x70]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x14002def4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e1de
call fcn.14001dee0
mov ebx, dword [rsp + 0x50]
jmp 0x14002df5b
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
sub rax, rcx
sar rax, 2
test rax, rax
je 0x14002df19
mov ebx, dword [rcx]
jmp 0x14002df1d
mov ebx, dword [rsp + 0x50]
test rcx, rcx
je 0x14002df58
mov rdx, qword [rsp + 0x70]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x14002df53
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e1de
call fcn.14001dee0
mov edi, r12d
lea rdx, [rsp + 0x50]
lea rcx, [r15 + 0x30]
call fcn.140032150
mov esi, dword [rsp + 0x50]
test edi, edi
js 0x14002df79
test ebx, ebx
jne 0x14002e06b
lea rax, str.__CBatmgrInter::OnDockStatusChanged_
mov dword [rsp + 0x68], 0x103
lea rbx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_batmgr_batmgrinter.cpp
mov qword [rsp + 0x70], rax
lea rdx, str.FAILED_hr___dwDockedBefore__0
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], 3
call fcn.140008d50
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r12d
call fcn.1400356b0
cmp esi, 1
jne 0x14002e06b
cmp dword [rsp + 0x50], 2
jl 0x14002e06b
xor eax, eax
lea rdi, [rbp - 0x20]
mov ecx, SafeArrayUnaccessData
lea rdx, [rbp - 0x20]
rep stosb byte [rdi], al
lea rcx, [r15 + 0x30]
mov r8d, esi
call fcn.140034a60
lea rcx, [r15 + 0x30]
call fcn.140036460
neg eax
lea rdx, [rsp + 0x60]
mov eax, dword [rbp - 0x10]
sbb ecx, ecx
mov dword [rsp + 0x70], eax
and ecx, 0x64
mov dword [rbp - 0x1c], ecx
lea rcx, [r15 + 0x30]
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140032390
mov edx, 0x100
lea rcx, [r15 + 0x30]
call fcn.1400325e0
lea rax, str.__CBatmgrInter::OnDockStatusChanged_
mov qword [rsp + 0x60], rbx
lea rdx, str.ResetRecommendation_0x100_
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x68], 0x111
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], 3
call fcn.140008d50
lea rcx, [rbp - 0x60]
call fcn.140005d10
cmp esi, 1
jne 0x14002e159
mov r9d, 0x20019
mov qword [rsp + 0x60], r12
lea r8, str.SoftwareDynabookeco_UtilityBatteryManager
mov dword [rsp + 0x68], r12d
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x60]
call fcn.140026300
test eax, eax
je 0x14002e0c6
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002e0be
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, r12d
jmp 0x14002e187
mov rdi, qword [rsp + 0x60]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x70]
lea rax, [rsp + 0x50]
mov dword [rbp - 0x68], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ToastAfterDockingTimer
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002e106
cmp dword [rbp - 0x70], 4
je 0x14002e11f
test rdi, rdi
je 0x14002e117
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov dword [rsp + 0x50], 0x258
test rdi, rdi
je 0x14002e130
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
imul r8d, dword [rsp + 0x50], 0x3e8
xor r9d, r9d
mov rcx, qword [r15 + 0x10]
mov edx, 0xfa5
call qword [sym.imp.USER32.dll_SetTimer]
test rdi, rdi
je 0x14002e159
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x70]
call fcn.14002bcf0
mov qword [rbp - 0x70], 9
lea rcx, [rbp - 0x70]
mov rdx, qword [rbp - 0x70]
call fcn.14002be30
lea rcx, [0x1416ba680]
mov edi, r12d
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
lea rax, vtable.RegConfigAccess.0
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x60], rax
call fcn.140005d10
mov r8, qword [rbp - 0x50]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x48]
call fcn.140008d50
mov eax, edi
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0x110]
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
call fcn.1401f802c
int3