Function at 0x140043830
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, rcx
lea rax, str.IsLaterThanWin10RS5
lea r15, str.__IsLaterThanWin10RS5_
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], r15
lea r9, [0x1402a214c]
mov r8d, 0x31e
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerpowerslidermonitor.cpp
lea rcx, [rsp + 0x50]
call fcn.140008c40
mov r8, qword [rsp + 0x48]
lea rdx, str.ENTER__s
lea rcx, [rsp + 0x50]
call fcn.140008d50
xor r14d, r14d
mov dword [rsi], r14d
mov qword [rsp + 0x38], r14
call fcn.1400045e0
mov rcx, rax
test rax, rax
je 0x140043ae8
mov rax, qword [rax]
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x170], rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r9d, 0x20019
lea rdx, [0x140227f00]
xor r8d, r8d
mov rcx, 0xffffffff80000002
lea rbx, [rax + 0x18]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140043955
mov r8d, 0x326
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], r15
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerpowerslidermonitor.cpp
lea r9, [0x1402a214c]
mov dword [rsp + 0x20], r14d
mov edi, 0x80004005
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, edi
call fcn.140008d50
jmp 0x140043a72
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x34]
xor eax, eax
mov dword [rsp + 0x30], SafeArrayUnaccessData
mov qword [rbp + 0x18], rax
lea rdx, [0x140227ed8]
mov word [rbp + 0x20], ax
mov edi, 1
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400439b0
mov r8d, 0x32c
lea rcx, [rbp - 0x60]
jmp 0x14004391c
lea r8, [rbp + 0x18]
lea rdx, [0x1402a85d4]
lea rcx, [rsp + 0x40]
call fcn.1400056c0
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], r15
mov r8d, 0x32e
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerpowerslidermonitor.cpp
lea rcx, [rbp - 0x38]
call fcn.140008c40
mov rbx, qword [rsp + 0x40]
lea rdx, [0x1402a85d4]
mov r8, rbx
mov rcx, rax
call fcn.140008d50
mov rax, r14
lea r8, str.17746
movzx ecx, word [rbx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x140043a2b
cmp rax, 6
jne 0x140043a10
cmp cx, word [r8 + rax*2 - 2]
jb 0x140043a31
mov dword [rsi], edi
jmp 0x140043a33
mov edi, dword [rsi]
mov qword [rsp + 0x28], r15
lea r9, [0x1402a214c]
mov r8d, 0x331
mov dword [rsp + 0x20], 3
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tospowerpowerslidermonitor.cpp
lea rcx, [rbp - 0x10]
call fcn.140008c40
mov rcx, rax
lea rdx, str.bIsLaterThanWin10RS5___d
mov r8d, edi
call fcn.140008d50
mov edi, r14d
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140043a82
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
mov rbx, qword [rsp + 0x168]
sub ecx, 1
jg 0x140043aa7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov r8, qword [rsp + 0x48]
lea rdx, str.LEAVE__s
lea rcx, [rsp + 0x50]
call fcn.140008d50
mov eax, edi
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140072680
mov rsi, qword [rsp + 0x178]
add rsp, 0x140
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002ad0
int3