Function at 0x140053010
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf90
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0xf80], rax
mov r13, rcx
call fcn.1400cc6e8
mov rcx, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
jne 0x14005306c
mov ecx, 0x80004005
call fcn.1400025a0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
mov r8d, dword [r13 + 0x5b38]
imul r8, r8, 0x208
lea rax, [0x1401a38f0]
add r8, rax
lea rdx, str.EQ_Custom__s
lea rcx, [r13 + 0x6368]
call fcn.1400029a0
mov rax, qword [r13 + 0x6368]
cmp dword [rax - 8], 1
jle 0x1400530c2
mov edx, dword [rax - 0x10]
lea rcx, [r13 + 0x6368]
call fcn.140002620
mov rax, qword [r13 + 0x6368]
mov r9, qword [r13 + 0x5b30]
add r9, 0x27568
je 0x140053191
test rax, rax
je 0x140053191
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x20], rax
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x320]
call fcn.14001e4d0
lea r11, [rsp + 0x48]
mov qword [rsp + 0x20], r11
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x320]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14005313e
xor eax, eax
jmp 0x140053193
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.EQ_Custom_num
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140053182
xor eax, eax
jmp 0x140053193
lea rcx, [rsp + 0xb60]
call fcn.1400fa6e0
jmp 0x140053193
xor eax, eax
test eax, eax
jle 0x1400535cf
mov r14d, 1
mov r15d, eax
nop
nop
nop
xor edx, edx
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x70]
call fcn.1400fce30
xor r11d, r11d
mov qword [rsp + 0xd0], r11
mov qword [rsp + 0xd8], r11
mov qword [rsp + 0xe0], r11
mov qword [rsp + 0xe8], r11
mov qword [rsp + 0xf0], r11
mov qword [rsp + 0xf8], r11
mov word [rsp + 0x100], r11w
mov r8d, r14d
lea rdx, str.EQ_Custom__d_name
lea rcx, [rsp + 0x30]
call fcn.1400029a0
mov rbx, qword [rsp + 0x30]
cmp dword [rbx - 8], 1
jle 0x14005322d
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140002620
mov rbx, qword [rsp + 0x30]
mov rax, qword [r13 + 0x6368]
cmp dword [rax - 8], 1
jle 0x140053249
mov edx, dword [rax - 0x10]
lea rcx, [r13 + 0x6368]
call fcn.140002620
mov rax, qword [r13 + 0x6368]
mov r9, qword [r13 + 0x5b30]
add r9, 0x27568
je 0x14005333b
test rax, rax
je 0x14005333b
test rbx, rbx
je 0x14005333b
mov dword [rsp + 0x38], 0x104
mov qword [rsp + 0x20], rax
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x740]
call fcn.14001e4d0
lea r11, [rsp + 0x58]
mov qword [rsp + 0x20], r11
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x740]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005333b
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x140053321
lea r8, [0x14012c778]
mov edx, 0x19
lea rcx, [rsp + 0xd0]
call fcn.1400f9e00
jmp 0x14005333b
lea r8, [rsp + 0x110]
mov edx, 0x19
lea rcx, [rsp + 0xd0]
call fcn.1400f9e00
cmp word [rsp + 0xd0], 0
je 0x1400535c1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xd0]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [rdx + 0x18], rax
mov rax, qword [rcx + 0x20]
mov qword [rdx + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rdx + 0x28], rax
movzx eax, word [rcx + 0x30]
mov word [rdx + 0x30], ax
xor esi, esi
lea r12, [rsp + 0xa4]
nop
nop
nop
mov dword [rsp + 0x20], esi
mov r9d, r14d
lea r8, str.EQ_Custom__d__d
mov edx, 0x104
lea rcx, [rsp + 0x950]
call fcn.1400fa580
mov r11, qword [r13 + 0x6368]
cmp dword [r11 - 8], 1
jle 0x1400533de
mov edx, dword [r11 - 0x10]
lea rcx, [r13 + 0x6368]
call fcn.140002620
mov rax, qword [r13 + 0x6368]
mov r9, qword [r13 + 0x5b30]
add r9, 0x27568
je 0x1400534ae
test rax, rax
je 0x1400534ae
mov dword [rsp + 0x3c], 0x104
mov qword [rsp + 0x20], rax
lea r8, str.SYSTEMCurrentControlSetServicesVIA_HD_Audio_Codec_DefaultVDeckINI
lea rdx, str._s_s_s_
lea rcx, [rsp + 0x530]
call fcn.14001e4d0
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x530]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14005345a
xor eax, eax
jmp 0x1400534b0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x950]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14005349f
xor eax, eax
jmp 0x1400534b0
lea rcx, [rsp + 0xd70]
call fcn.1400fa6e0
jmp 0x1400534b0
xor eax, eax
mov dword [r12], eax
add esi, 1
add r12, 4
cmp esi, 0xa
jl 0x1400533a0
mov ecx, 0x70
call fcn.1400c909c
mov rdi, rax
test rax, rax
je 0x1400535c1
xor edx, edx
lea r8d, [rdx + 0x70]
mov rcx, rax
call fcn.1400fce30
lea rdx, [rsp + 0x70]
mov rcx, qword [rdx]
mov qword [rdi], rcx
mov rcx, qword [rdx + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rdx + 0x10]
mov qword [rdi + 0x10], rcx
mov rax, qword [rdx + 0x18]
mov qword [rdi + 0x18], rax
mov rax, qword [rdx + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rdx + 0x28]
mov qword [rdi + 0x28], rax
movzx eax, word [rdx + 0x30]
mov word [rdi + 0x30], ax
mov eax, dword [rsp + 0xa4]
mov dword [rdi + 0x34], eax
mov eax, dword [rsp + 0xa8]
mov dword [rdi + 0x38], eax
mov eax, dword [rsp + 0xac]
mov dword [rdi + 0x3c], eax
mov eax, dword [rsp + 0xb0]
mov dword [rdi + 0x40], eax
mov eax, dword [rsp + 0xb4]
mov dword [rdi + 0x44], eax
mov eax, dword [rsp + 0xb8]
mov dword [rdi + 0x48], eax
mov eax, dword [rsp + 0xbc]
mov dword [rdi + 0x4c], eax
mov eax, dword [rsp + 0xc0]
mov dword [rdi + 0x50], eax
mov eax, dword [rsp + 0xc4]
mov dword [rdi + 0x54], eax
mov eax, dword [rsp + 0xc8]
mov dword [rdi + 0x58], eax
mov rax, qword [r13 + 0x120]
test rax, rax
je 0x1400535ab
mov qword [rax + 0x68], rdi
mov rax, qword [r13 + 0x120]
mov qword [rdi + 0x60], rax
mov qword [r13 + 0x120], rdi
jmp 0x1400535b9
mov qword [r13 + 0x118], rdi
mov qword [r13 + 0x120], rdi
add dword [r13 + 0x110], 1
add r14d, 1
sub r15, 1
jne 0x1400531b0
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400535eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.DSOUND.dll_DirectSoundCaptureEnumerateW]
mov rcx, qword [rsp + 0xf80]
xor rcx, rsp
call fcn.1400f9790
lea r11, [rsp + 0xf90]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret