Function at 0x1400d6630
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xbe0]
sub rsp, 0xce0
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rbp + 0xbd0], rax
mov edi, r9d
mov rbx, r8
mov r13, rcx
mov r14, qword [rbp + 0xc40]
mov r12, qword [rbp + 0xc50]
xor r15d, r15d
mov dword [r12], r15d
cmp edx, 0x30002017
ja 0x1400d7550
je 0x1400d74c2
add edx, 0xcffffffe
cmp edx, 0x16
ja case.0x1400d66b2.805306374
mov eax, edx
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xd75bc]
add rcx, rdx
jmp rcx
mov r8d, 0x2f
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_RestoreDefaultVolume
call fcn.140075db0
call fcn.140014660
mov rcx, rax
call fcn.1400ab540
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r8d, 0x36
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_LaunchPropertyPage
call fcn.140075db0
test rbx, rbx
jne 0x1400d6727
lea r8d, [rbx + 0x37]
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
xor eax, eax
jmp 0x1400d7586
mov r8, rdi
test edi, edi
je 0x1400d6767
lea rcx, [rbp + 0x3d0]
cmp rdi, 0x800
ja 0x1400d6748
mov rdx, rbx
call fcn.1400faeb0
jmp 0x1400d6767
xor edx, edx
mov r8d, 0x800
call fcn.1400fac10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
call fcn.14000cd60
mov rcx, rax
test rax, rax
je 0x1400d75b0
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x30]
call fcn.14000c4c0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x1400d67df
lea rcx, [rbp + 0x3d0]
mov rax, rbx
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400d67c0
mov r8d, eax
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x30]
call fcn.14000c750
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x38]
call fcn.1400fac10
mov qword [rbp - 0x40], 0x30000003
mov edx, 0xff
lea rcx, [rbp - 0x38]
lea rax, [rbp - 0x38]
mov r8, qword [rsp + 0x30]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7ffffeff]
test rax, rax
je 0x1400d6843
movzx eax, word [rcx + r8]
test ax, ax
je 0x1400d6843
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400d6820
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r15w
lea rcx, [rbp - 0x40]
call fcn.140089f60
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg case.0x1400d66b2.805306374
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r8d, 0x57
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_GetForceDefaultVolume
call fcn.140075db0
test r14, r14
jne 0x1400d68be
lea r8d, [r14 + 0x58]
jmp 0x1400d670d
mov rax, qword [0x1401aa490]
xor r9d, r9d
lea r8, str.ForceRestoreDefaultVolumeWhenStart
lea rdx, str.Others
lea rcx, [0x1401aa490]
mov rax, qword [rax + 0x20]
call qword [case.0x14005eeb3.0]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xc48]
mov r8d, eax
mov edi, 4
cmp eax, edi
cmovbe edi, eax
mov dword [r12], edi
xor edx, edx
mov rcx, r14
call fcn.1400fac10
mov r8d, dword [r12]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400faeb0
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, 0x61
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_nValue_d_ulBytesReturned_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r8d, 0x67
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_SetForceDefaultVolume
call fcn.140075db0
test rbx, rbx
jne 0x1400d697b
lea r8d, [rbx + 0x68]
jmp 0x1400d670d
mov esi, r15d
mov dword [rsp + 0x64], r15d
mov r8, rdi
test edi, edi
je 0x1400d69b5
cmp rdi, 4
ja 0x1400d69a3
mov rdx, rbx
lea rcx, [rsp + 0x64]
call fcn.1400faeb0
mov esi, dword [rsp + 0x64]
jmp 0x1400d69b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rax, qword [0x1401aa490]
mov r9d, esi
lea r8, str.ForceRestoreDefaultVolumeWhenStart
lea rdx, str.Others
lea rcx, [0x1401aa490]
mov rax, qword [rax + 0x28]
call qword [case.0x14005eeb3.0]
mov r9d, esi
mov r8d, 0x6f
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_nValue_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r8d, 0x75
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_GetPresetAutoSwitch
call fcn.140075db0
test r14, r14
jne 0x1400d6a32
lea r8d, [r14 + 0x76]
jmp 0x1400d670d
mov dword [r12], r15d
mov rax, qword [0x1401aa490]
xor r9d, r9d
lea r8, str.PresetAutoSwitch
lea rdx, str.Others
lea rcx, [0x1401aa490]
mov rax, qword [rax + 0x20]
call qword [case.0x14005eeb3.0]
mov ebx, eax
mov dword [rsp + 0x44], eax
mov eax, dword [rbp + 0xc48]
mov r8d, eax
mov edi, 4
cmp eax, edi
cmovbe edi, eax
mov dword [r12], edi
xor edx, edx
mov rcx, r14
call fcn.1400fac10
mov r8d, dword [r12]
lea rdx, [rsp + 0x44]
mov rcx, r14
call fcn.1400faeb0
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, 0x82
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_bPresetAutoSwitch_d_ulBytesReturned_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r8d, 0x87
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_SetPresetAutoSwitch
call fcn.140075db0
test rbx, rbx
jne 0x1400d6af5
mov r8d, 0x88
jmp 0x1400d670d
mov esi, r15d
mov dword [rsp + 0x68], r15d
cmp edi, 4
ja 0x1400d6b21
test rdi, rdi
je 0x1400d6b3a
cmp rdi, 4
jbe 0x1400d6b26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x1400d6b3a
mov edi, 4
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1400faeb0
mov esi, dword [rsp + 0x68]
mov ecx, esi
call fcn.14004b9f0
mov r9d, esi
mov r8d, 0x90
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_bPresetAutoSwitch_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
test rbx, rbx
jne 0x1400d6b7e
mov r8d, 0x95
jmp 0x1400d670d
test r9d, r9d
jne 0x1400d6b8e
mov r8d, 0x96
jmp 0x1400d670d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x1d0]
call fcn.1400fac10
mov r8, rdi
cmp rdi, 0x200
ja 0x1400d6bbf
mov rdx, rbx
lea rcx, [rbp + 0x1d0]
call fcn.1400faeb0
jmp 0x1400d6bd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov r8d, 1
lea rdx, [rbp + 0x1d0]
mov rcx, r13
call fcn.1400e6930
mov ebx, eax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8d, ebx
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s_bFound_d_PFN_s_Name_s
call fcn.140075db0
mov eax, dword [rbp + 0xc48]
cmp eax, dword [r12]
jb case.0x1400d66b2.805306374
mov dword [r14], ebx
mov edi, 4
mov dword [r12], edi
test edi, edi
seta r15b
mov rax, r15
jmp 0x1400d7586
test rbx, rbx
jne 0x1400d6c47
mov r8d, 0xa7
jmp 0x1400d670d
mov esi, 1
mov dword [rsp + 0x6c], esi
cmp edi, 4
ja 0x1400d6c76
test r9d, r9d
je 0x1400d6c8f
cmp rdi, 4
jbe 0x1400d6c7b
xor esi, esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x1400d6c8f
mov edi, 4
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x6c]
call fcn.1400faeb0
mov esi, dword [rsp + 0x6c]
mov r9d, esi
mov r8d, 0x2c3
lea rdx, str.CStoreAppMgr::ExecuteWakeUWPUpCommand
lea rcx, str._s__d_SRV_CMD_WAKE_ME_UP_bIsWakeUpCommand___d
call fcn.140075db0
test esi, esi
je 0x1400d6cea
call fcn.1400147e0
mov rcx, rax
mov edx, 0x40c
call fcn.1400e8940
call fcn.1400147e0
mov rcx, rax
mov edx, 0x40c
mov r8d, 0xa
call fcn.1400e8700
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov dword [0x1401b9684], r15d
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r8d, 0xaf
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_GetIntMicStreamActivityStatus
call fcn.140075db0
test r14, r14
jne 0x1400d6d2b
mov r8d, 0xb0
jmp 0x1400d670d
call fcn.140014310
test dword [rax + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0x100
jne 0x1400d6d47
mov r8d, SystemTimeToVariantTime
jmp 0x1400d670d
mov dword [r12], r15d
call fcn.14002c560
mov ebx, dword [0x1401b23f0]
mov dword [rsp + 0x48], ebx
mov eax, dword [rbp + 0xc48]
mov r8d, eax
mov edi, 4
cmp eax, edi
cmovbe edi, eax
mov dword [r12], edi
xor edx, edx
mov rcx, r14
call fcn.1400fac10
mov r8d, dword [r12]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1400faeb0
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, 0xbd
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_bIntMicStreamActivity_d_ulBytesReturned_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r8d, 0xc2
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_UwpLockStatus
call fcn.140075db0
test r14, r14
jne 0x1400d6dea
mov r8d, 0xc3
jmp 0x1400d670d
mov dword [r12], r15d
mov rax, qword [0x1401aa490]
xor r9d, r9d
lea r8, str.UwpLock
lea rdx, str.Others
lea rcx, [0x1401aa490]
mov rax, qword [rax + 0x20]
call qword [case.0x14005eeb3.0]
mov ebx, eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rbp + 0xc48]
mov r8d, eax
mov edi, 4
cmp eax, edi
cmovbe edi, eax
mov dword [r12], edi
xor edx, edx
mov rcx, r14
call fcn.1400fac10
mov r8d, dword [r12]
lea rdx, [rsp + 0x4c]
mov rcx, r14
call fcn.1400faeb0
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, 0xce
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_bUwpLock_d_ulBytesReturned_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r8d, 0xd3
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_HP_GetGlobalNN
call fcn.140075db0
test r14, r14
jne 0x1400d6ead
mov r8d, 0xd4
jmp 0x1400d670d
mov dword [r12], r15d
mov esi, 1
mov dword [rsp + 0x60], esi
call fcn.14006b0c0
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0xd0]
lea rdx, [rsp + 0x60]
mov rcx, r8
call qword [case.0x14005eeb3.0]
test eax, eax
jne 0x1400d6ef7
mov r8d, 0xdb
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_GetGlobalNN_fail__
call fcn.140075db0
mov eax, dword [rbp + 0xc48]
mov r8d, eax
mov edi, 4
cmp eax, edi
cmovbe edi, eax
mov dword [r12], edi
xor edx, edx
mov rcx, r14
call fcn.1400fac10
mov r8d, dword [r12]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1400faeb0
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x60]
mov r8d, 0xe1
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_bGlobalNN_d_ulBytesReturned_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r8d, 0xe6
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_HP_SetGlobalNN
call fcn.140075db0
test rbx, rbx
jne 0x1400d6f89
mov r8d, 0xe7
jmp 0x1400d670d
mov esi, 1
mov r14d, esi
mov dword [rsp + 0x70], esi
cmp edi, 4
ja 0x1400d6fbc
test rdi, rdi
je 0x1400d6fd6
cmp rdi, 4
jbe 0x1400d6fc1
xor r14d, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x1400d6fd6
mov edi, 4
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400faeb0
mov r14d, dword [rsp + 0x70]
call fcn.14006b0c0
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0xd8]
mov edx, r14d
mov rcx, r8
call qword [case.0x14005eeb3.0]
mov r9d, r14d
mov r8d, 0xee
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_bGlobalNN_d
call fcn.140075db0
mov rax, rsi
jmp 0x1400d7586
mov r8d, 0xf5
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_RestoreGlobalNN
call fcn.140075db0
call fcn.14006b0c0
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe0]
xor edx, edx
mov rcx, r8
call qword [case.0x14005eeb3.0]
mov eax, 1
jmp 0x1400d7586
lea rdx, str.ServiceCommandForSystem
test r13, r13
jne 0x1400d707d
mov r8d, 0xfc
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
xor eax, eax
jmp 0x1400d7586
mov r8d, 0xfd
lea rcx, str._s__d___SRV_CMD_RestoreGlobalNS
call fcn.140075db0
call fcn.140014660
mov rdx, r13
call fcn.1400ac390
test rax, rax
jne 0x1400d70ac
mov r8d, 0x100
jmp 0x1400d670d
mov dword [rsp + 0x38], 0x63
lea r14, [rax + 0x10]
mov esi, 1
mov r9d, esi
lea r8, [rsp + 0x38]
lea rdx, [0x1401197e8]
mov rcx, r14
call fcn.14000ab50
mov dword [rsp + 0x20], eax
mov ebx, dword [rsp + 0x38]
mov r9d, ebx
mov r8d, 0x105
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___Get_PKEY_RTK_NS_CONDITION_RESTORE_TRIGGER__d__bSuccess__d
call fcn.140075db0
mov edi, r15d
test ebx, ebx
sete dil
mov dword [rsp + 0x3c], r15d
mov r9d, esi
lea r8, [rsp + 0x3c]
lea rdx, [0x1401197e8]
mov rcx, r14
call fcn.14000ab50
test eax, eax
je 0x1400d712b
cmp dword [rsp + 0x3c], edi
jne 0x1400d712b
mov ebx, esi
jmp 0x1400d7166
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov eax, SafeArrayUnaccessData
mov word [rbp - 0x60], ax
mov dword [rbp - 0x58], edi
mov r9d, esi
lea r8, [rbp - 0x60]
lea rdx, [0x1401197e8]
mov rcx, r14
call fcn.14000bae0
mov ebx, eax
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8d, 0x107
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___Set_PKEY_RTK_NS_CONDITION_RESTORE_TRIGGER__d__bSuccess__d
call fcn.140075db0
mov rax, rsi
jmp 0x1400d7586
mov r8d, 0x10d
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_HP_GetMachineDisplayMode
call fcn.140075db0
call fcn.14006b0c0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0xf8]
mov rcx, rdx
call qword [case.0x14005eeb3.0]
mov ebx, eax
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0xc48]
mov r8d, eax
mov edi, 4
cmp eax, edi
cmovbe edi, eax
mov dword [r12], edi
xor edx, edx
mov rcx, r14
call fcn.1400fac10
mov r8d, dword [r12]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1400faeb0
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, 0x114
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_dwMachineDisplayMode_d_ulBytesReturned_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
test r14, r14
jne 0x1400d723f
mov r8d, reloc.OLEAUT32.dll_BSTR_UserUnmarshal
jmp 0x1400d670d
mov r13d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], r15
mov dword [rsp + 0x74], r15d
mov r9d, 1
lea r8, str.SOFTWARERealtekAudioExtSettings
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.140035040
test eax, eax
je 0x1400d72ab
lea r9, str.SOFTWARERealtekAudioExtSettings
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140075db0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400d7343
jmp 0x1400d733d
mov edi, 4
mov dword [rsp + 0x7c], edi
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.DefaultDisableAINR
mov rbx, qword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d7335
cmp dword [rbp - 0x80], edi
jne 0x1400d7335
mov r13d, dword [rsp + 0x74]
mov dword [rsp + 0x58], r13d
test rbx, rbx
je 0x1400d7304
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp + 0xc48]
mov r8d, eax
cmp eax, 4
cmovbe rdi, rax
mov dword [r12], edi
xor edx, edx
mov rcx, r14
call fcn.1400fac10
mov r8d, dword [r12]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1400faeb0
jmp 0x1400d7343
test rbx, rbx
je 0x1400d7343
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, r13d
mov r8d, 0x12a
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_SRV_CMD_GetTotalRemoveGen4AINR_bTotalRemoveGen4AINR_d_ulBytesReturned_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
test rbx, rbx
jne 0x1400d7388
mov r8d, 0x12f
jmp 0x1400d670d
mov esi, r15d
mov dword [rsp + 0x78], r15d
cmp edi, 4
ja 0x1400d73b4
test r9d, r9d
je 0x1400d740d
cmp rdi, 4
jbe 0x1400d73b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x1400d73cd
mov edi, 4
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.1400faeb0
mov esi, dword [rsp + 0x78]
test esi, esi
je 0x1400d740d
mov r9d, esi
lea r8, str.DefaultDisableAINR
lea rdx, str.SOFTWARERealtekAudioExtSettings
mov rcx, 0xffffffff80000002
call fcn.1400986f0
mov r9d, esi
lea r8, str.DisableAllAINROnce
lea rdx, str.SOFTWARERealtekAudioExtSettings
mov rcx, 0xffffffff80000002
call fcn.1400986f0
jmp 0x1400d7447
xor r9d, r9d
lea r8, str.DisableAllAINROnce
lea rdx, str.SOFTWARERealtekAudioExtSettings
mov rcx, 0xffffffff80000002
call fcn.140098bd0
xor r9d, r9d
lea r8, str.DefaultDisableAINR
lea rdx, str.SOFTWARERealtekAudioExtSettings
mov rcx, 0xffffffff80000002
call fcn.140098bd0
mov r9d, esi
mov r8d, 0x142
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_SRV_CMD_SetTotalRemoveGen4AINR_bTotalRemoveGen4AINR_d
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov dword [r12], 8
call fcn.140014310
mov rcx, qword [rax + 0x340]
mov qword [r14], rcx
call fcn.140014310
movzx r9d, word [rax + 0x342]
mov r8d, 0x149
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d_wSubVendorID_x
call fcn.140075db0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
mov r9, r13
mov r8d, 0x153
lea rdx, str.ServiceCommandForSystem
lea rcx, str._s__d___SRV_CMD_RestoreSounzReal2_EnpId_s
call fcn.140075db0
test r13, r13
je 0x1400d7538
lea rdx, [0x14011c160]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x1400d7538
call fcn.140014660
mov rdx, r13
call fcn.1400ac390
mov rbx, rax
call fcn.14002b330
test rbx, rbx
je case.0x1400d66b2.805306374
mov esi, 1
mov edx, esi
mov rcx, rbx
call fcn.1400e02a0
mov edx, esi
mov rcx, rbx
call fcn.1400e07d0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
call fcn.14002b330
call fcn.1400e01a0
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
cmp edx, 0x30003018
je 0x1400d7566
cmp dword [r12], 0
seta r15b
mov rax, r15
jmp 0x1400d7586
call fcn.14006b0c0
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x1a0]
mov rdx, r13
mov rcx, r8
call qword [case.0x14005eeb3.0]
cdqe
mov rcx, qword [rbp + 0xbd0]
xor rcx, rsp
call fcn.1400f4410
mov rbx, qword [rsp + 0xd28]
add rsp, 0xce0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000ce90
int3