Function at 0x140018e00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a8]
sub rsp, 0x4a8
mov rax, qword [0x14007d038]
xor rax, rsp
mov qword [rbp + 0x390], rax
xor r14d, r14d
mov dword [rsp + 0x4c], r8d
mov rbx, r9
mov byte [r9], r14b
mov esi, r8d
mov dword [rsp + 0x20], r8d
mov r15, rdx
mov dword [rbp - 0x80], r14d
mov r9, rdx
mov dword [rsp + 0x6c], r14d
lea edx, [r14 + 4]
mov rdi, rcx
lea r8, str.Enter_Metering::GetFMFunctionStatus__s__Function__d_r_n
call fcn.1400171b0
lea r13, [rdi + 0x330]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, r15
mov rcx, rdi
call fcn.1400174d0
test al, al
jne 0x140018eab
lea r8, str.Metering::GetFMFunctionStatus__s:_Not_Support_r_n
mov rcx, rdi
mov edx, 1
mov r9, r15
call fcn.1400171b0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x1400198d1
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [r15 + rdx*2], r14w
jne 0x140018eb2
inc rdx
lea rcx, [rdi + 0x40]
mov r8, r15
call fcn.14003c608
cmp esi, 0x15
jne 0x140018eff
lea r9, [rsp + 0x60]
mov byte [rbx], r14b
lea r8d, [rsi - 0x13]
mov rdx, r15
mov rcx, rdi
call fcn.14001df60
cmp dword [rsp + 0x60], r14d
je 0x140018e9b
mov rcx, r13
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400198cf
cmp esi, 0x12
jne 0x140018f49
lea rax, [rsp + 0x64]
mov dword [rsp + 0x64], r14d
lea r9, str.13AE3061_F6DC_45C1_B90C_F5E992141790_16
mov qword [rsp + 0x20], rax
lea r8, str.SOFTWAREFortemediaHowlingDection
mov rcx, rdi
call fcn.14001b190
test eax, eax
je 0x140018e9b
cmp dword [rsp + 0x64], r14d
je 0x140018f3b
mov byte [rbx], 1
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400198cf
mov r9d, dword [rdi + 0x3a8]
cmp esi, 0x16
jne 0x140018f81
test r9d, r9d
jne 0x140018e9b
mov eax, 0x89
cmp word [rdi + 0x268], ax
jbe 0x140018e9b
mov rcx, r13
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400198cf
lea r8, [rsp + 0x48]
mov rdx, r15
mov rcx, rdi
call fcn.14001a690
mov rcx, rdi
test al, al
jne 0x140018fa4
lea r8, str.Metering::GetFMFunctionStatus__s:_Cannot_get_K2_value_r_n
jmp 0x140018e8e
mov r9d, dword [rdi + 0x3a8]
lea r8, [rsp + 0x64]
mov rdx, r15
call fcn.14001ac30
mov rcx, rdi
test al, al
jne 0x140018fcb
lea r8, str.Metering::GetFMFunctionStatus__s:_Cannot_get_K7_value_r_n
jmp 0x140018e8e
mov r9d, dword [rdi + 0x3a8]
lea r8, [rsp + 0x40]
mov rdx, r15
call fcn.140019d50
mov rcx, rdi
test al, al
jne 0x140018ff2
lea r8, str.Metering::GetFMFunctionStatus__s:_Cannot_get_K900_value_r_n
jmp 0x140018e8e
mov eax, dword [rdi + 0x3a8]
lea r8, [rsp + 0x70]
movups xmm0, xmmword [0x140068080]
mov dword [rsp + 0x28], eax
mov r9d, 0x2329
lea rax, [rsp + 0x60]
mov rdx, r15
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x20], rax
call fcn.14001a040
mov r12d, 1
test al, al
jne 0x14001904b
mov r9, r15
mov dword [rsp + 0x60], r14d
lea r8, str.Metering::GetFMFunctionStatus__s:_Cannot_get_K9001_value__use_0_r_n
mov edx, r12d
mov rcx, rdi
call fcn.1400171b0
jmp 0x140019053
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x60], eax
mov eax, dword [rdi + 0x3a8]
lea r8, [rsp + 0x70]
movups xmm0, xmmword [0x140068080]
mov dword [rsp + 0x30], r12d
mov r9d, 0x385
mov dword [rsp + 0x28], eax
mov rdx, r15
lea rax, [rsp + 0x68]
movaps xmmword [rsp + 0x70], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14001a3f0
test al, al
jne 0x1400190af
mov r9, r15
lea r8, str.Metering::GetFMFunctionStatus__s:_Cannot_get_K901_value__use_0x10_r_n
mov edx, r12d
mov rcx, rdi
mov r13d, 0x110
call fcn.1400171b0
jmp 0x1400190b4
mov r13d, dword [rsp + 0x68]
lea rax, [rsp + 0x6c]
mov rcx, rdi
lea r9, str.13AE3061_F6DC_45C1_B90C_F5E992141790_200
mov qword [rsp + 0x20], rax
lea r8, str.SOFTWAREFortemediaHowlingDection
call fcn.14001b190
test eax, eax
jne 0x1400190f2
mov r9, r15
lea r8, str._s:_Get_Howling_control_bit_mask_13AE3061_F6DC_45C1_B90C_F5E992141790_200__at__s_fail__use_0_n
mov edx, r12d
mov rcx, rdi
call fcn.1400171b0
mov dword [rsp + 0x6c], r14d
mov rdx, r15
cmp dword [rdi + 0x3a8], r14d
jne 0x1400195fe
lea r8, [rdi + 0x384]
mov rcx, rdi
call fcn.14001aa50
test al, al
jne 0x140019130
mov r8d, 3
mov dword [rdi + 0x384], 3
mov rdx, r15
mov rcx, rdi
call fcn.14001a890
xor r8d, r8d
mov rdx, r15
call fcn.140015180
mov esi, dword [rsp + 0x48]
xor r9d, r9d
mov rdx, r15
mov rcx, rdi
test eax, eax
je 0x140019182
movups xmm0, xmmword [0x140068070]
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0xca
lea r8, [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x20], rax
call fcn.140015580
test eax, eax
je 0x1400191e3
jmp 0x140019227
lea r8, [rsp + 0x70]
mov dword [rsp + 0x68], 4
call fcn.140019b30
test al, al
je 0x1400191e3
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.BE73ED5B_FC1C_4875_AC4F_833FFF79CDAA_202
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x70]
test eax, eax
jne 0x1400191dd
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x48], eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140019227
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r8d, r8d
mov rdx, r15
call fcn.140015180
mov rdx, r15
test eax, eax
je 0x14001921c
movups xmm0, xmmword [0x140068070]
mov dword [rsp + 0x28], esi
lea r9, [rsp + 0x70]
xor r8d, r8d
mov dword [rsp + 0x20], 0xca
movaps xmmword [rsp + 0x70], xmm0
call fcn.14001f680
jmp 0x140019227
mov r8d, esi
mov rcx, rdi
call fcn.14001a970
mov eax, dword [rdi + 0x384]
lea r8, str._s:_Get_K2_0x_x__K7_0x_x__Pre_K2_0x_x_r_n
mov r14d, dword [rsp + 0x64]
mov r9, r15
mov dword [rsp + 0x30], eax
mov edx, 0x40
mov dword [rsp + 0x28], r14d
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.1400171b0
movsxd r9, dword [rsp + 0x4c]
cmp r9d, 0xc0
ja case.0x140019282.12
lea rdx, [0x140000000]
movzx eax, byte [rdx + r9 + 0x1995c]
mov ecx, dword [rdx + rax*4 + 0x198f4]
add rcx, rdx
jmp rcx
movzx eax, word [rdi + 0x248]
cmp esi, eax
je 0x1400192aa
cmp esi, 0xb
je 0x1400192b6
and sil, r12b
lea r8, str.AEC__x_r_n
mov byte [rbx], sil
movzx r9d, sil
jmp 0x140019888
movzx eax, byte [rdi + 0x384]
and al, r12b
mov byte [rbx], al
movzx r9d, byte [rbx]
lea r8, str.AEC__x_r_n
jmp 0x140019888
lea eax, [rsi - 0xc]
cmp eax, r12d
jbe 0x1400192f6
movzx eax, word [rdi + 0x248]
cmp esi, eax
je 0x1400192f6
cmp esi, 0xb
je 0x1400192f6
shr esi, 1
lea r8, str.BF__x_r_n
and sil, r12b
mov byte [rbx], sil
movzx r9d, sil
jmp 0x140019888
movzx eax, word [rdi + 0x248]
cmp esi, eax
jne 0x14001930f
movzx eax, byte [rdi + 0x384]
shr al, 1
and al, r12b
mov byte [rbx], al
movzx r9d, byte [rbx]
lea r8, str.BF__x_r_n
jmp 0x140019888
shr r14d, 4
lea r8, str.NS__x_r_n
not r14b
and r14b, r12b
mov byte [rbx], r14b
movzx r9d, r14b
jmp 0x140019888
movzx eax, word [rdi + 0x248]
cmp esi, eax
je 0x140019363
and esi, 0xc
lea r8, str.FFP__x_r_n
cmp sil, 0xc
sete al
mov byte [rbx], al
movzx r9d, al
jmp 0x140019888
mov eax, dword [rdi + 0x384]
and eax, 0xc
cmp al, 0xc
jne 0x140019387
movzx eax, r12b
mov byte [rbx], r12b
movzx r9d, al
lea r8, str.FFP__x_r_n
jmp 0x140019888
xor al, al
mov byte [rbx], 0
movzx r9d, al
lea r8, str.FFP__x_r_n
jmp 0x140019888
shr r14d, 8
lea r8, str.KSS__x_r_n
and r14b, r12b
mov byte [rbx], r14b
movzx r9d, r14b
jmp 0x140019888
movzx eax, word [rdi + 0x248]
lea r8, str.VR__x_r_n
cmp esi, eax
sete al
mov byte [rbx], al
movzx r9d, al
jmp 0x140019888
cmp esi, 0xb
lea r8, str.FMV__x_r_n
sete al
mov byte [rbx], al
movzx r9d, al
jmp 0x140019888
shr r14d, 2
lea r8, str.Mic_Disable_Effect__x_r_n
and r14b, r12b
mov byte [rbx], r14b
movzx r9d, r14b
jmp 0x140019888
mov eax, dword [rsp + 0x48]
lea r8, str.Orientation_BF__x_r_n
shr eax, 1
and al, r12b
mov byte [rbx], al
movzx r9d, al
jmp 0x140019888
and r14d, r12d
lea r8, str.EXTERNAL_MIC_NS__x_r_n
mov byte [rbx], r14b
mov r9d, r14d
jmp 0x140019888
mov byte [rbx], 0
lea r8, str.NLD__x_r_n
xor r9d, r9d
jmp 0x140019888
lea rax, [rbp - 0x80]
mov rcx, rdi
lea r9, str.13AE3061_F6DC_45C1_B90C_F5E992141790_11
mov qword [rsp + 0x20], rax
lea r8, str.SOFTWAREFortemediaHowlingDection
call fcn.14001b190
cmp dword [rbp - 0x80], 0
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
cmp dword [rsp + 0x40], 0x90
mov byte [rbx], 0
jb 0x14001949e
test r14b, 0x10
jne 0x14001949e
mov byte [rbx], r12b
lea r8, str.NN_ON_NS_ON__x_r_n
mov r9d, r12d
jmp 0x140019888
xor r12d, r12d
lea r8, str.NN_ON_NS_ON__x_r_n
mov r9d, r12d
jmp 0x140019888
mov eax, 0x89
mov byte [rbx], 0
cmp dword [rsp + 0x40], eax
ja 0x1400194d6
test r14b, 0x10
jne 0x1400194d6
mov byte [rbx], r12b
lea r8, str.NN_OFF_NS_ON__x_r_n
mov r9d, r12d
jmp 0x140019888
xor r12d, r12d
lea r8, str.NN_OFF_NS_ON__x_r_n
mov r9d, r12d
jmp 0x140019888
mov eax, 0x89
mov byte [rbx], 0
cmp dword [rsp + 0x40], eax
ja 0x14001950e
test r14b, 0x10
je 0x14001950e
mov byte [rbx], r12b
lea r8, str.NN_OFF_NS_OFF__x_r_n
mov r9d, r12d
jmp 0x140019888
xor r12d, r12d
lea r8, str.NN_OFF_NS_OFF__x_r_n
mov r9d, r12d
jmp 0x140019888
mov byte [rbx], 0
test r13b, 0x20
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], 0
test r13b, 0x40
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], 0
test r12b, r13b
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], 0
test r13b, 2
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], 0
test r13b, 4
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], 0
test r13b, 8
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], 0
test r13b, 0x10
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], r12b
test r13b, r13b
jns 0x140019896
mov byte [rbx], 0
jmp 0x140019896
mov byte [rbx], 0
test byte [rsp + 0x6c], r12b
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], 0
bt r13d, 8
jae 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
lea r8, str.No_Support_r_n
jmp 0x1400197e9
mov esi, 0x40860000
mov r8d, r12d
mov dword [rsp + 0x40], esi
call fcn.140015180
mov r9d, r12d
mov rdx, r15
mov rcx, rdi
test eax, eax
je 0x140019653
movups xmm0, xmmword [0x140068070]
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 7
lea r8, [rsp + 0x40]
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], rax
call fcn.140015580
mov esi, dword [rsp + 0x40]
test eax, eax
je 0x1400196b0
jmp 0x1400196c5
lea r8, [rsp + 0x40]
mov dword [rsp + 0x68], 4
call fcn.140019b30
test al, al
je 0x1400196b0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.BE73ED5B_FC1C_4875_AC4F_833FFF79CDAA_7
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x1400196aa
mov esi, dword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400196c5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9, r15
lea r8, str.Metering::GetFMFunctionStatus__s:_Cannot_get_PreK7_value_r_n
mov edx, r12d
mov rcx, rdi
call fcn.1400171b0
mov eax, dword [rsp + 0x64]
lea r8, str._s_Render_Device_Type_d_:_Get_K2_0x_x__K7_0x_x__PreK7_0x_x_r_n
mov dword [rsp + 0x38], esi
mov r9, r15
mov dword [rsp + 0x30], eax
mov edx, r12d
mov eax, dword [rsp + 0x48]
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x3e0]
mov dword [rsp + 0x20], eax
call fcn.1400171b0
mov r9d, dword [rsp + 0x4c]
cmp r9d, 0x10
jne 0x14001975c
cmp dword [rdi + 0x3e0], r14d
jne 0x140019728
shr esi, 2
lea r8, str.SPKNS__x_r_n
not sil
and sil, r12b
mov byte [rbx], sil
movzx r9d, sil
jmp 0x140019888
test byte [rsp + 0x64], 4
jne 0x140019746
mov byte [rbx], r12b
lea r8, str.SPKNS__x_r_n
movzx esi, r12b
movzx r9d, r12b
jmp 0x140019888
xor sil, sil
mov byte [rbx], r14b
movzx r9d, sil
lea r8, str.SPKNS__x_r_n
jmp 0x140019888
cmp r9d, 0x11
jne 0x1400197a1
mov eax, dword [rdi + 0x3e0]
test eax, eax
je 0x14001977a
cmp eax, r12d
jne 0x14001978c
test byte [rdi + 0x398], 2
je 0x14001978c
mov byte [rbx], r12b
lea r8, str.SPKNS_SUPPORT__x_r_n
mov r9d, r12d
jmp 0x140019888
mov byte [rbx], r14b
lea r8, str.SPKNS_SUPPORT__x_r_n
mov r12d, r14d
mov r9d, r14d
jmp 0x140019888
lea eax, [r9 - 0x1a]
cmp eax, 0xe6
ja case.0x1400197cb.27
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x19a48]
mov ecx, dword [rdx + rax*4 + 0x19a20]
add rcx, rdx
jmp rcx
mov byte [rbx], r14b
cmp dword [rdi + 0x3e0], r14d
jne 0x1400197fc
test byte [rdi + 0x398], 4
je 0x1400197fc
lea r8, str.NN_NS_Support_SPK__0_by_force_spk_ai_icon_not_visible__spk_150:0x4_r_n
mov edx, 0x400
lea rcx, [rbp - 0x70]
call fcn.140002050
jmp 0x140019896
test byte [rsp + 0x60], r12b
je case.0x1400197cb.64
mov byte [rbx], r12b
lea r8, str.NN_NS_Support_SPK__x_r_n
mov r9d, r12d
jmp 0x140019888
mov byte [rbx], r14b
test r13b, 0x40
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], r14b
test r12b, r13b
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], r14b
test r13b, 2
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], r14b
test r13b, 4
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], r14b
test r13b, 8
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], r14b
test r13b, 0x10
je 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
mov byte [rbx], r12b
test r13b, r13b
jns 0x140019896
mov byte [rbx], r14b
jmp 0x140019896
mov byte [rbx], r14b
bt r13d, 9
jae 0x140019896
mov byte [rbx], r12b
jmp 0x140019896
lea r8, str.GetFMFunctionStatus_RENDER_PATH__not_support_flag___x_r_n
mov edx, 0x400
lea rcx, [rbp - 0x70]
call fcn.140002050
lea r9, [rbp - 0x70]
mov edx, 0x40
lea r8, [0x140068228]
mov rcx, rdi
call fcn.1400171b0
lea rcx, [rdi + 0x330]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea r8, str.Leave_Metering::GetFMFunctionStatus_r_n
mov edx, 0x40
mov rcx, rdi
call fcn.1400171b0
mov al, 1
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140024cf0
add rsp, 0x4a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret