Function at 0x140041810
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov r14, r8
mov rsi, rcx
lea r15, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5include_regconfig.h
lea r12, str.__RegConfigAccess::GetValue_
lea r13, [0x1402a214c]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
cmp qword [rcx + 8], 0
lea rcx, [rbp - 0x30]
jne 0x140041899
mov dword [rbp - 0x28], 0x138
xor edi, edi
mov dword [rbp - 0x10], edi
mov r8d, 0x80070006
lea rdx, str.Error_Code:_0x_x
call fcn.140008d50
mov eax, 0x80070006
jmp 0x140041a68
mov dword [rbp - 0x28], 0x13a
mov dword [rbp - 0x10], 3
lea r9, str.KBBTimer
lea r8, str.pszName
lea rdx, str._s___s
call fcn.140008d50
xor edi, edi
mov dword [rbp + 0x58], edi
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.KBBTimer
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x140041942
movzx esi, bx
test eax, eax
jg 0x1400418fd
mov r8d, eax
jmp 0x140041907
mov r8d, esi
or r8d, 0x80070000
mov qword [rbp - 0x30], r15
mov dword [rbp - 0x28], 0x141
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x10], edi
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x30]
call fcn.140008d50
test ebx, ebx
jle 0x140041a66
or esi, 0x80070000
mov ebx, esi
jmp 0x140041a66
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov edx, dword [rbp + 0x58]
shr rdx, 2
inc rdx
lea rcx, [rbp - 0x48]
call fcn.140041c50
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x48]
sub rax, rcx
sar rax, 2
lea eax, [rax*4]
mov dword [rbp + 0x48], eax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.KBBTimer
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x1400419ee
movzx ebx, si
test eax, eax
jg 0x1400419b1
mov r8d, eax
jmp 0x1400419bb
mov r8d, ebx
or r8d, 0x80070000
mov qword [rbp - 0x30], r15
mov dword [rbp - 0x28], 0x14b
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x10], edi
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x30]
call fcn.140008d50
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x140041a18
lea rax, [rbp - 0x48]
cmp r14, rax
je 0x140041a07
mov r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
mov rcx, r14
call fcn.140041e10
mov edx, dword [rbp + 0x48]
shr rdx, 2
mov rcx, r14
call fcn.140041c50
mov ebx, edi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140041a66
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041a55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041a83
call fcn.14001dee0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401f802c
nop
int3