Function at 0x140040b40
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x460], rax
movsxd rax, dword [rcx + 0x538]
mov r9, qword [rcx + 0x110]
mov qword [r11 + 0x10], rbx
imul rax, rax, 0x208
mov qword [r11 + 0x18], rbp
lea rbp, [0x1401acbf0]
xor edi, edi
add rax, rbp
add r9, 0x27568
mov rsi, rcx
je 0x140040c46
test rax, rax
je 0x140040c46
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea r9d, [rdi + 1]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140040bf3
mov eax, edi
jmp 0x140040c48
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyPLEnable
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x250]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140040c37
mov eax, edi
jmp 0x140040c48
lea rcx, [rsp + 0x250]
call fcn.1400fa6e0
jmp 0x140040c48
mov eax, edi
mov dword [rsi + 0x968], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x140040d21
test rax, rax
je 0x140040d21
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140040cd4
mov eax, edi
jmp 0x140040d23
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyPLMode
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140040d15
mov eax, edi
jmp 0x140040d23
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x140040d23
mov eax, edi
mov dword [rsi + 0x96c], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x140040dfc
test rax, rax
je 0x140040dfc
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140040daf
mov eax, edi
jmp 0x140040dfe
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyPLCW
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140040df0
mov eax, edi
jmp 0x140040dfe
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x140040dfe
mov eax, edi
mov dword [rsi + 0x974], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x140040ed7
test rax, rax
je 0x140040ed7
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140040e8a
mov eax, edi
jmp 0x140040ed9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyPLDim
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140040ecb
mov eax, edi
jmp 0x140040ed9
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x140040ed9
mov eax, edi
mov dword [rsi + 0x970], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x140040fb2
test rax, rax
je 0x140040fb2
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140040f65
mov eax, edi
jmp 0x140040fb4
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyPLPM
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140040fa6
mov eax, edi
jmp 0x140040fb4
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x140040fb4
mov eax, edi
mov dword [rsi + 0x978], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x14004108d
test rax, rax
je 0x14004108d
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140041040
mov eax, edi
jmp 0x14004108f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyPLAutoBalance
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140041081
mov eax, edi
jmp 0x14004108f
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x14004108f
mov eax, edi
mov dword [rsi + 0x97c], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x140041168
test rax, rax
je 0x140041168
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14004111b
mov eax, edi
jmp 0x14004116a
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyVHSEnable
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14004115c
mov eax, edi
jmp 0x14004116a
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x14004116a
mov eax, edi
mov dword [rsi + 0x980], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x140041243
test rax, rax
je 0x140041243
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400411f6
mov eax, edi
jmp 0x140041245
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyVHSHpMode
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140041237
mov eax, edi
jmp 0x140041245
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x140041245
mov eax, edi
mov dword [rsi + 0x98c], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x14004131e
test rax, rax
je 0x14004131e
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400412d1
mov eax, edi
jmp 0x140041320
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyVHSMode
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140041312
mov eax, edi
jmp 0x140041320
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x140041320
mov eax, edi
mov dword [rsi + 0x984], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x1400413f9
test rax, rax
je 0x1400413f9
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400413ac
mov eax, edi
jmp 0x1400413fb
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyVHSVirSpkMode
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400413ed
mov eax, edi
jmp 0x1400413fb
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x1400413fb
mov eax, edi
mov dword [rsi + 0x988], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x1400414d4
test rax, rax
je 0x1400414d4
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140041487
mov eax, edi
jmp 0x1400414d6
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbySSExpanderEnable
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400414c8
mov eax, edi
jmp 0x1400414d6
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x1400414d6
mov eax, edi
mov dword [rsi + 0x990], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x1400415af
test rax, rax
je 0x1400415af
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140041562
mov eax, edi
jmp 0x1400415b1
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbySSExpanderWidth
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400415a3
mov eax, edi
jmp 0x1400415b1
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x1400415b1
mov eax, edi
mov dword [rsi + 0x994], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x14004168a
test rax, rax
je 0x14004168a
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14004163d
mov eax, edi
jmp 0x14004168c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbySSHPEnable
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14004167e
mov eax, edi
jmp 0x14004168c
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x14004168c
mov eax, edi
mov dword [rsi + 0x998], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x140041765
test rax, rax
je 0x140041765
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140041718
mov eax, edi
jmp 0x140041767
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbySSHPMode
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140041759
mov eax, edi
jmp 0x140041767
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x140041767
mov eax, edi
mov dword [rsi + 0x99c], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x140041840
test rax, rax
je 0x140041840
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400417f3
mov eax, edi
jmp 0x140041842
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyNBEnable
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140041834
mov eax, edi
jmp 0x140041842
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x140041842
mov eax, edi
mov dword [rsi + 0x9a0], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x14004191b
test rax, rax
je 0x14004191b
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400418ce
mov eax, edi
jmp 0x14004191d
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyNBCutoff
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14004190f
mov eax, edi
jmp 0x14004191d
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x14004191d
mov eax, edi
mov dword [rsi + 0x9a4], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
je 0x1400419f6
test rax, rax
je 0x1400419f6
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400419a9
mov eax, edi
jmp 0x1400419f8
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyNBBoost
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400419ea
mov eax, edi
jmp 0x1400419f8
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x1400419f8
mov eax, edi
mov dword [rsi + 0x9a8], eax
movsxd rax, dword [rsi + 0x538]
mov r9, qword [rsi + 0x110]
imul rax, rax, 0x208
add rax, rbp
add r9, 0x27568
mov rbp, qword [rsp + 0x490]
je 0x140041ad9
test rax, rax
je 0x140041ad9
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x250]
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call fcn.14001e4d0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x250]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140041a8c
mov eax, edi
jmp 0x140041adb
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.DolbyNBOutput
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140041acd
mov eax, edi
jmp 0x140041adb
lea rcx, [rsp + 0x40]
call fcn.1400fa6e0
jmp 0x140041adb
mov eax, edi
mov rbx, qword [rsp + 0x488]
mov dword [rsi + 0x9ac], eax
movsxd rax, dword [rsi + 0x120]
test eax, eax
mov rcx, qword [rsi + 0x110]
js 0x140041b4e
cmp rax, qword [rcx + 0xac0]
jge 0x140041b4e
cmp rax, qword [rcx + 0xac0]
jge 0x140041b2b
test rax, rax
js 0x140041b2b
test rax, rax
mov rcx, qword [rcx + 0xab0]
je 0x140041b2e
nop
sub rax, 1
mov rcx, qword [rcx]
jne 0x140041b20
jmp 0x140041b2e
mov rcx, rdi
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140041b4e
mov rcx, qword [rax + 0x828]
test rcx, rcx
je 0x140041b4e
mov edx, 4
call qword [0x1401ca990]
mov rcx, qword [rsi + 0x110]
mov edx, dword [rsi + 0x120]
add rcx, 0xa88
call fcn.140090190
test eax, eax
je 0x140041bdc
cmp eax, 1
je 0x140041bdc
movsxd rax, dword [rsi + 0x120]
mov rcx, qword [rsi + 0x110]
mov dword [rsi + 0x964], 1
test eax, eax
js 0x140041c40
cmp rax, qword [rcx + 0xac0]
jge 0x140041c40
cmp rax, qword [rcx + 0xac0]
jge 0x140041bc0
test rax, rax
js 0x140041bc0
test rax, rax
mov rdi, qword [rcx + 0xab0]
je 0x140041bc0
sub rax, 1
mov rdi, qword [rdi]
jne 0x140041bb7
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140041c40
mov rcx, qword [rax + 0x828]
test rcx, rcx
je 0x140041c40
mov edx, 4
jmp 0x140041c3a
movsxd rax, dword [rsi + 0x120]
mov rcx, qword [rsi + 0x110]
mov dword [rsi + 0x964], edi
test eax, eax
js 0x140041c40
cmp rax, qword [rcx + 0xac0]
jge 0x140041c40
cmp rax, qword [rcx + 0xac0]
jge 0x140041c20
test rax, rax
js 0x140041c20
test rax, rax
mov rdi, qword [rcx + 0xab0]
je 0x140041c20
sub rax, 1
mov rdi, qword [rdi]
jne 0x140041c17
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140041c40
mov rcx, qword [rax + 0x828]
test rcx, rcx
je 0x140041c40
mov edx, 3
call qword [0x1401ca990]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400f9790
mov rsi, qword [rsp + 0x498]
add rsp, 0x470
pop rdi
ret