Function at 0x140078310
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0xff80]
mov eax, 0x10080
call fcn.1400820a0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x10090], rbx
mov qword [rsp + 0x10098], rsi
mov qword [rsp + 0x100a0], rdi
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rbp + 0xff70], rax
xor eax, eax
mov qword [rsp + 0x58], rax
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x60], rbx
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x140078388
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, [0x1400939d8]
or rdi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x1400783cc
movzx esi, dx
mov ecx, esi
call fcn.140005710
test rax, rax
je 0x1400783e8
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400053d0
jmp 0x1400783e8
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400783d0
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140003d30
nop
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWARERealtekAudioWOV
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140078532
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x38], 0xfffe
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.VoiceAssistantApplication
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14007851f
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x14007851f
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140078495
test al, 1
jne 0x14007851f
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], 0
je 0x14007849a
jmp 0x14007851f
mov word [rsp + 0x70], bx
lea rcx, [rsp + 0x70]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400784a2
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140003d30
mov rdx, qword [rsp + 0x48]
lea r8, str.LenovoVoiceAssistant
mov rcx, rdi
nop dword [rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x1400784f8
add rcx, 2
cmp rcx, 0x15
je 0x1400784f4
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x1400784f8
jmp 0x1400784d0
mov eax, ebx
jmp 0x1400784fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14007851f
test rsi, rsi
je 0x140078514
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov ebx, 1
jmp 0x140078536
test rsi, rsi
je 0x140078532
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140078554
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140078564
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0xff70]
xor rcx, rsp
call fcn.140078ef0
lea r11, [rsp + 0x10080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret