Function at 0x1400067f0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb60]
sub rsp, 0xc60
mov rax, qword [0x14004e038]
xor rax, rsp
mov qword [rbp + 0xb50], rax
mov rbx, rcx
mov r14, rdx
mov rcx, rdx
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharUpperW]
test byte [rbx + 0x270], 4
je 0x140006862
mov r9, r14
lea r8, str.Enter_Metering::IsSupport__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0x350]
call fcn.140001140
lea rcx, [rbp + 0x350]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov rdi, qword [rbx + 0x238]
xor r12d, r12d
mov esi, r12d
lea r15d, [r12 + 1]
cmp dword [rbx + 0x248], r12d
jbe 0x1400068cd
nop dword [rax]
test rdi, rdi
je 0x1400068bc
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharUpperW]
mov r8, r14
mov rax, rdi
sub r8, rdi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400068b4
add rax, 2
test ecx, ecx
jne 0x1400068a0
test edx, edx
je 0x140006970
add rdi, 0x118
inc esi
cmp esi, dword [rbx + 0x248]
jb 0x140006880
mov esi, r12d
mov rdi, qword [rbx + 0x240]
cmp dword [rbx + 0x24c], r12d
jbe 0x14000692d
test rdi, rdi
je 0x14000691c
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharUpperW]
mov r8, r14
mov rax, rdi
sub r8, rdi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140006914
add rax, 2
test ecx, ecx
jne 0x140006900
test edx, edx
je 0x1400069b7
add rdi, 0x118
inc esi
cmp esi, dword [rbx + 0x24c]
jb 0x1400068e0
test byte [rbx + 0x270], r15b
je 0x140006943
lea rcx, str.Metering::IsSupport__No_Endpoint_Found_r_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
xor al, al
mov rcx, qword [rbp + 0xb50]
xor rcx, rsp
call fcn.14000c610
lea r11, [rsp + 0xc60]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rbx + 0x230], r12d
mov rdx, 0xffffffffffffffff
mov eax, dword [rdi + 0x100]
mov dword [rbx + 0x208], eax
mov eax, dword [rdi + 0x104]
mov dword [rbx + 0x214], eax
inc rdx
cmp word [r14 + rdx*2], r12w
jne 0x140006996
inc rdx
lea rcx, [rbx + 0x40]
mov r8, r14
call fcn.140017e40
mov eax, dword [rbx + 0x230]
jmp 0x1400069d9
mov dword [rbx + 0x230], r15d
mov eax, dword [rdi + 0x100]
mov dword [rbx + 0x208], eax
mov eax, dword [rdi + 0x104]
mov dword [rbx + 0x214], eax
mov eax, r15d
test eax, eax
jne 0x140006a1a
xor r9d, r9d
lea r8, [rbx + 0x228]
mov rdx, r14
mov rcx, rbx
call fcn.140008a80
test al, al
jne 0x140006c49
mov qword [rbx + 0x228], r12
test byte [rbx + 0x270], r15b
je 0x140006943
lea rcx, str.Metering::IsSupport__No_Endpoint_Property_Key_r_n
jmp 0x14000693d
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionMMDevicesAudioRender
mov qword [rsp + 0x30], r12
mov edx, 0x200
mov dword [rsp + 0x44], r12d
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x38], r12
call fcn.140017e40
lea r8, [0x1400436ec]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.140017ea8
mov r8, r14
lea rcx, [rsp + 0x50]
mov edx, 0x200
call fcn.140017ea8
lea r8, str.Properties
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.140017ea8
lea rax, [rsp + 0x38]
mov r9d, 0x2001b
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov r9d, eax
test eax, eax
jne 0x140006c81
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.1da5d803_d492_4edd_8c23_e0c0ffee7f0e_0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140006c49
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [rsp + 0x44], r15d
jne 0x140006c42
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionMMDevicesAudioRender
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.140017e40
lea r8, [0x1400436ec]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.140017ea8
mov r8, r14
lea rcx, [rsp + 0x50]
mov edx, 0x200
call fcn.140017ea8
lea r8, str.FxProperties
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.140017ea8
lea rax, [rsp + 0x30]
mov r9d, 0x2001b
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006c42
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_4
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 0xff
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x38], r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_1
lea rax, [rsp + 0x4c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_6
lea rax, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp dword [rsp + 0x48], r12d
jne 0x140006c2e
cmp dword [rsp + 0x4c], r12d
jne 0x140006c2e
mov r15d, r12d
jmp 0x140006c37
cmp dword [rsp + 0x38], r12d
cmovne r15d, r12d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rbx + 0x268], r15d
test byte [rbx + 0x270], 4
je 0x140006c7a
mov r9, r14
lea r8, str.Leave_Metering::IsSupport__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0x350]
call fcn.140001140
lea rcx, [rbp + 0x350]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov al, 1
jmp 0x140006945
mov eax, dword [rbx + 0x270]
test r15b, al
je 0x140006943
lea r8, str.Cannot_Open_EndpointProperty_Key__x_r_n
mov edx, 0x400
lea rcx, [rbp + 0x750]
call fcn.140001140
lea rcx, [rbp + 0x750]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov eax, dword [rbx + 0x270]
test r15b, al
je 0x140006943
lea rcx, str.Metering::IsSupport__No_Render_Endpoint_Property_Key_r_n
jmp 0x14000693d