Function at 0x1400112c0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1910
call fcn.14011c260
sub rsp, rax
movaps xmmword [rsp + 0x1900], xmm6
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x18f0], rax
lea rbx, [rcx + 0x27568]
mov rsi, rcx
lea r14, str.OPTIONS
xor r13d, r13d
lea r8, str.First_Time_Start
xor r9d, r9d
mov dword [rcx + 0x54888], r13d
mov rdx, r14
mov rcx, rbx
call fcn.140085200
lea r11, [rsp + 0x6a0]
lea rdi, [0x140000000]
mov rax, qword [rdi + 0x12c910]
lea rcx, [rsp + 0x6ca]
xor edx, edx
mov qword [r11], rax
mov rax, qword [rdi + 0x12c918]
mov r8d, 0x1de
mov qword [r11 + 8], rax
mov rax, qword [rdi + 0x12c920]
mov qword [r11 + 0x10], rax
mov rax, qword [rdi + 0x12c928]
mov qword [r11 + 0x18], rax
mov rax, qword [rdi + 0x12c930]
mov qword [r11 + 0x20], rax
movzx eax, word [rdi + 0x12c938]
mov word [r11 + 0x28], ax
call fcn.1400fce30
mov rax, qword [rdi + 0x12c940]
lea r11, [rsp + 0x8a8]
lea rcx, [rsp + 0x8c6]
xor edx, edx
mov qword [r11], rax
mov rax, qword [rdi + 0x12c948]
mov r8d, 0x1ea
mov qword [r11 + 8], rax
mov rax, qword [rdi + 0x12c950]
mov qword [r11 + 0x10], rax
mov eax, dword [rdi + 0x12c958]
mov dword [r11 + 0x18], eax
movzx eax, word [rdi + 0x12c95c]
mov word [r11 + 0x1c], ax
call fcn.1400fce30
mov rax, qword [rdi + 0x12c960]
lea r11, [rsp + 0xab0]
lea rcx, [rsp + 0xad0]
xor edx, edx
mov qword [r11], rax
mov rax, qword [rdi + 0x12c968]
mov r8d, 0x1e8
mov qword [r11 + 8], rax
mov rax, qword [rdi + 0x12c970]
mov qword [r11 + 0x10], rax
mov rax, qword [rdi + 0x12c978]
mov qword [r11 + 0x18], rax
call fcn.1400fce30
mov rax, qword [rdi + 0x12c980]
lea r11, [rsp + 0xcb8]
lea rcx, [rsp + 0xcdc]
xor edx, edx
mov qword [r11], rax
mov rax, qword [rdi + 0x12c988]
mov r8d, 0x1e4
mov qword [r11 + 8], rax
mov rax, qword [rdi + 0x12c990]
mov qword [r11 + 0x10], rax
mov rax, qword [rdi + 0x12c998]
mov qword [r11 + 0x18], rax
mov eax, dword [rdi + 0x12c9a0]
mov dword [r11 + 0x20], eax
call fcn.1400fce30
mov rax, qword [rdi + 0x12c9a8]
lea r11, [rsp + 0xec0]
xor edx, edx
mov r8d, 0x1f0
mov qword [r11], rax
mov rax, qword [rdi + 0x12c9b0]
lea rcx, [rsp + 0xed8]
mov qword [r11 + 8], rax
mov rax, qword [rdi + 0x12c9b8]
mov qword [r11 + 0x10], rax
call fcn.1400fce30
mov rax, qword [rdi + 0x12c9c0]
lea r11, [rsp + 0x10c8]
mov qword [r11], rax
mov rax, qword [rdi + 0x12c9c8]
lea rcx, [rsp + 0x10ec]
mov qword [r11 + 8], rax
mov rax, qword [rdi + 0x12c9d0]
xor edx, edx
mov qword [r11 + 0x10], rax
mov rax, qword [rdi + 0x12c9d8]
mov r8d, 0x1e4
mov qword [r11 + 0x18], rax
mov eax, dword [rdi + 0x12c9e0]
mov dword [r11 + 0x20], eax
call fcn.1400fce30
mov rax, qword [rdi + 0x12c9e8]
lea r11, [rsp + 0x12d0]
lea rcx, [rsp + 0x12f6]
xor edx, edx
mov qword [r11], rax
mov rax, qword [rdi + 0x12c9f0]
mov r8d, 0x1e2
mov qword [r11 + 8], rax
mov rax, qword [rdi + 0x12c9f8]
mov qword [r11 + 0x10], rax
mov rax, qword [rdi + 0x12ca00]
mov qword [r11 + 0x18], rax
mov eax, dword [rdi + 0x12ca08]
mov dword [r11 + 0x20], eax
movzx eax, word [rdi + 0x12ca0c]
mov word [r11 + 0x24], ax
call fcn.1400fce30
mov rax, qword [rdi + 0x12ca10]
lea r11, [rsp + 0x14d8]
lea rcx, [rsp + 0x1502]
xor edx, edx
mov qword [r11], rax
mov rax, qword [rdi + 0x12ca18]
mov r8d, 0x1de
mov qword [r11 + 8], rax
mov rax, qword [rdi + 0x12ca20]
mov qword [r11 + 0x10], rax
mov rax, qword [rdi + 0x12ca28]
mov qword [r11 + 0x18], rax
mov rax, qword [rdi + 0x12ca30]
mov qword [r11 + 0x20], rax
movzx eax, word [rdi + 0x12ca38]
mov word [r11 + 0x28], ax
call fcn.1400fce30
mov rax, qword [rdi + 0x12ca40]
lea r11, [rsp + 0x16e0]
lea rcx, [rsp + 0x16fc]
xor edx, edx
mov qword [r11], rax
mov rax, qword [rdi + 0x12ca48]
mov r8d, 0x1ec
mov qword [r11 + 8], rax
mov rax, qword [rdi + 0x12ca50]
mov qword [r11 + 0x10], rax
mov eax, dword [rdi + 0x12ca58]
mov dword [r11 + 0x18], eax
call fcn.1400fce30
lea rbp, [rsi + 0x21328]
lea rdi, [rsp + 0x6a0]
lea r12d, [r13 + 9]
test rbx, rbx
je 0x140011711
test rdi, rdi
je 0x140011711
mov ecx, dword [rbp]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400116da
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011711
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rdi, 0x208
add rbp, 0x4c
sub r12, 1
jne 0x140011622
xor r8w, r8w
mov ecx, r13d
lea rdx, [rsi + 0x21338]
cmp dword [rdx], r13d
je 0x140011745
mov eax, 1
shl ax, cl
or r8w, ax
add ecx, 1
add rdx, 0x4c
cmp ecx, 8
jl 0x140011734
test rbx, rbx
je 0x140011bf0
movzx ecx, r8w
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011801
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001183c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.JackPluggedStatus
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140011bf0
mov ecx, dword [rsi + 0x26668]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400118ee
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011929
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.bPlugIn_Mute_On
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140011bf0
mov ecx, dword [rsi + 0x2666c]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400119db
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011a16
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.Enable_JackDetect
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140011bf0
mov ecx, dword [rsi + 0x26674]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011ac8
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011b03
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.Auto_Pop_Dialog
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140011bf0
mov ecx, dword [rsi + 0x26688]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011bb5
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011bf0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.Auto_Pop_General_Input_Dialog
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r13d
cmp dword [rsi + 0x56428], eax
setne al
test rbx, rbx
je 0x140012453
test eax, eax
mov ecx, r13d
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
sete cl
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011cb0
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011ceb
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.SimpleMode
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140012453
mov ecx, dword [rsi + 0x2669c]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011d9d
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011dd8
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.Show_TrayIcon
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140012453
mov ecx, dword [rsi + 0x266a0]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011e8a
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011ec5
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.Show_Plugged_Message
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140012453
mov ecx, dword [rsi + 0x266d8]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011f77
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011fb2
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.Enable_Front_Panel_Jack_Detect
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140012453
mov ecx, dword [rsi + 0x266a4]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140012064
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001209f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.Sdif_In_Auto_SampleRate
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140012453
mov ecx, dword [rsi + 0x27500]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140012151
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001218c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.bMicBoost
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140012453
mov ecx, dword [rsi + 0x27504]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001223e
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140012279
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.bFrontMicBoost
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140012453
mov ecx, dword [rsi + 0x27430]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001232b
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140012366
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.Multi_Language
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140012453
mov ecx, dword [rsi + 0x212e0]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140012418
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140012453
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, str.DefaultDeviceIndex
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movss xmm6, dword [0x140143588]
mov edi, r13d
add rsi, 0x212e8
nop
nop
nop
lea rdx, str._d_LeftVolume
lea rcx, [rsp + 0x490]
mov r8d, edi
call fcn.14001e4d0
test rbx, rbx
je 0x14001257c
movss xmm0, dword [rsi - 4]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
mulss xmm0, xmm6
cvttss2si ecx, xmm0
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140012540
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x50]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001257c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, [rsp + 0x490]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str._d_RightVolume
lea rcx, [rsp + 0x490]
mov r8d, edi
call fcn.14001e4d0
test rbx, rbx
je 0x140012687
movss xmm0, dword [rsi]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
mulss xmm0, xmm6
cvttss2si ecx, xmm0
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001264b
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x60]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140012687
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x280]
lea rdx, [rsp + 0x490]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str._d_Mute
lea rcx, [rsp + 0x490]
mov r8d, edi
call fcn.14001e4d0
test rbx, rbx
je 0x140012789
mov ecx, dword [rsi + 4]
lea rdx, [rsp + 0x280]
mov r9d, 0xa
mov r8d, 0x104
call fcn.1400fa960
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], r14
call fcn.14001e4d0
lea r11, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001274d
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x58]
lea r9, str.REG_SZ
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140012789
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x280]
lea rdx, [rsp + 0x490]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 1
add rsi, 0xc
cmp edi, 5
jl 0x140012470
mov rcx, qword [rsp + 0x18f0]
xor rcx, rsp
call fcn.1400f9790
lea r11, [rsp + 0x1910]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret