Function at 0x140075740
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0xff80]
mov eax, 0x10080
call fcn.14007f4d0
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 [0x1400d5010]
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.140004150
mov rcx, rax
test rax, rax
jne 0x1400757b8
mov ecx, 0x80004005
call fcn.140003ec0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, [0x140094658]
or rdi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x1400757fc
movzx esi, dx
mov ecx, esi
call fcn.1400055d0
test rax, rax
je 0x140075818
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140005290
jmp 0x140075818
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x140075800
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140003c30
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 0x140075962
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 0x14007594f
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x14007594f
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400758c5
test al, 1
jne 0x14007594f
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], 0
je 0x1400758ca
jmp 0x14007594f
mov word [rsp + 0x70], bx
lea rcx, [rsp + 0x70]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400758d2
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140003c30
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 0x140075928
add rcx, 2
cmp rcx, 0x15
je 0x140075924
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x140075928
jmp 0x140075900
mov eax, ebx
jmp 0x14007592d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14007594f
test rsi, rsi
je 0x140075944
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 0x140075966
test rsi, rsi
je 0x140075962
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 0x140075984
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 0x140075994
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.140076320
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