Function at 0x1400b58d0
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 [0x1401a4010]
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.140029f10
test eax, eax
je 0x1400b5967
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140065460
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400b59d9
jmp 0x1400b59d3
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 0x1400b59cb
cmp dword [rbp - 0x40], 4
jne 0x1400b59cb
mov edi, dword [rbp - 0x48]
test rbx, rbx
je 0x1400b59b6
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp edi, 1
jne 0x1400b59d9
lea r8d, [rdi + 0x4f]
lea rcx, str._s__d_pause_update_condition_n
jmp 0x1400b5b27
test rbx, rbx
je 0x1400b59d9
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.140065460
mov rdx, rsi
mov rcx, r14
call fcn.1400b62f0
mov rbx, rax
test rax, rax
jne 0x1400b5a0e
lea r8d, [rax + 0x59]
jmp 0x1400b5b20
movsxd rdi, dword [rax + 8]
cmp edi, 7
ja 0x1400b5b1a
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], r15
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140160b78]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140160b88]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
js 0x1400b5a74
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 0x1400b5acb
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x140160b68]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140160b58]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
jns 0x1400b5aa3
mov r8d, 0x6b
jmp 0x1400b5ae2
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 0x1400b5af9
mov r8d, 0x71
mov r9d, eax
lea rdx, str.CRtkEffectConditionsBase::UpdateConditionsToApo
lea rcx, str._s__d_RETURN_ON_ERROR_hr0x_X
call fcn.140065460
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400b5b09
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400b5b33
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400b5b33
mov r8d, 0x5c
lea rcx, str._s__d_RETURN_ON_FALSE
lea rdx, str.CRtkEffectConditionsBase::UpdateConditionsToApo
call fcn.140065460
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d37a0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret