Function at 0x1400a81a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x20], rax
xor r15d, r15d
mov qword [rbp - 0x28], r15
mov dword [rbp - 0x20], r15d
mov qword [rbp - 0x18], r15
mov dword [rbp - 0x48], r15d
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x28]
call fcn.140027f60
test eax, eax
je 0x1400a8237
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140061d00
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400a82a9
jmp 0x1400a82a3
mov dword [rbp - 0x44], 4
lea rax, [rbp - 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
lea rdx, str.PauseUpdateCondition
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a829b
cmp dword [rbp - 0x40], 4
jne 0x1400a829b
mov edi, dword [rbp - 0x48]
test rbx, rbx
je 0x1400a8286
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp edi, 1
jne 0x1400a82a9
lea r8d, [rdi + 0x4f]
lea rcx, str._s__d_pause_update_condition_n
jmp 0x1400a83f7
test rbx, rbx
je 0x1400a82a9
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r8d, 0x55
lea rdx, str.CRtkEffectConditionsBase::UpdateConditionsToApo
lea rcx, str._s__d_update_condition_to_APO_n
call fcn.140061d00
mov rdx, rsi
mov rcx, r14
call fcn.1400a8c60
mov rbx, rax
test rax, rax
jne 0x1400a82de
lea r8d, [rax + 0x59]
jmp 0x1400a83f0
movsxd rdi, dword [rax + 8]
cmp edi, 7
ja 0x1400a83ea
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], r15
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140128768]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401287a0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
js 0x1400a8344
mov r9, rdi
mov rcx, qword [rbp - 0x30]
mov r8, rdi
shl r8, 6
add r8, 0x80c
add r8, rbx
shl r9, 8
add r9, 0xc
add r9, rbx
mov qword [rsp + 0x20], r8
jmp 0x1400a839b
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1401287b0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140128778]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
jns 0x1400a8373
mov r8d, 0x6b
jmp 0x1400a83b2
mov r8, rdi
mov rcx, qword [rbp - 0x38]
mov rdx, rdi
shl rdx, 6
add rdx, 0x80c
add rdx, rbx
shl r8, 8
lea r9, [rbx + 0xc]
add r9, r8
mov qword [rsp + 0x20], rdx
mov r10, qword [rcx]
mov r8d, dword [rbx]
mov rdx, rsi
call qword [r10 + 0x38]
test eax, eax
jns 0x1400a83c9
mov r8d, 0x71
mov r9d, eax
lea rdx, str.CRtkEffectConditionsBase::UpdateConditionsToApo
lea rcx, str._s__d_RETURN_ON_ERROR_hr0x_X
call fcn.140061d00
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400a83d9
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400a8403
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a8403
mov r8d, 0x5c
lea rcx, str._s__d_RETURN_ON_FALSE
lea rdx, str.CRtkEffectConditionsBase::UpdateConditionsToApo
call fcn.140061d00
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c5860
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret