Function at 0x140012e80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x7a8]
sub rsp, 0x8a8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov esi, r9d
mov r14, r8
mov ebx, edx
mov rdi, rcx
and edx, 0xffffff00
call fcn.140025a80
test rax, rax
je 0x140012eee
mov r10, qword [rax]
mov ecx, dword [rbp + 0x800]
mov dword [rsp + 0x20], ecx
mov r9d, esi
mov r8, r14
mov edx, ebx
mov rcx, rax
call qword [r10 + 0x18]
jmp 0x140013344
mov rax, qword [rdi + 0x90]
test rax, rax
jne 0x140012f19
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audiocoresetting.cpp
mov edx, 0x299
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x140013344
cmp ebx, 0x23000400
ja 0x140013021
je 0x140012fe0
sub ebx, 0x2300010b
je 0x140012fb9
sub ebx, 0x10a
je 0x140012f6a
cmp ebx, 1
jne 0x140012f12
test dword [rax + 0x50], 0x8000
mov eax, 0xddf
mov r8d, 0xc6a
cmovne r8d, eax
mov rdx, r14
mov rcx, rdi
call fcn.140025e00
jmp 0x14001333f
mov rdx, r14
mov rcx, rdi
test byte [rax + 0x548], 2
je 0x140012f99
test dword [rax + 0x50], 0x8000
mov eax, 0x1f50
mov r8d, 0x13f0
cmovne r8d, eax
call fcn.140025e00
jmp 0x14001333f
test dword [rax + 0x50], 0x8000
mov eax, 0xdde
mov r8d, 0xc12
cmovne r8d, eax
call fcn.140025e00
jmp 0x14001333f
mov rax, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2300010b
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, eax
mov rdx, r14
mov rcx, rdi
call fcn.140025e00
jmp 0x14001333f
lea rdx, [rax + 0x458]
test rdx, rdx
jne 0x140012ffe
xor esi, esi
mov r8d, esi
mov rcx, r14
call fcn.140010390
jmp 0x14001333f
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140013005
mov esi, edi
mov r8d, edi
mov rcx, r14
call fcn.140010390
jmp 0x14001333f
sub ebx, 0x23000401
je 0x1400131b6
sub ebx, 1
je 0x140013143
cmp ebx, 0x203
jne 0x140012f12
xor esi, esi
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x68], rsi
lea rdx, str.Sound_Blaster
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140013063
mov r8d, eax
mov rcx, r14
call fcn.140010390
mov r9d, 0x20019
lea r8, str.SoftwareCreative_TechSB_Plugin_for_Dell_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.1400146e0
mov rbx, qword [rsp + 0x58]
test eax, eax
jne 0x14001311b
mov dword [rsp + 0x34], 0x800
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.TabName
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001311b
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
ja 0x14001311b
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x1400130fa
test al, 1
jne 0x14001311b
shr rax, 1
cmp word [rbp + rax*2 - 0x72], 0
je 0x1400130fe
jmp 0x14001311b
mov word [rbp - 0x70], si
lea rax, [rbp - 0x70]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140013102
mov r8d, edi
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.140010390
test rbx, rbx
je 0x14001312c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
test rbx, rbx
je 0x14001333f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001333f
lea rcx, [rax + 0x278]
lea rdx, [rsp + 0x48]
call fcn.1400e2900
nop
mov rax, qword [rdi + 0x90]
mov rcx, qword [rax + 0x538]
test rcx, rcx
je 0x140013176
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x90]
mov rdi, 0xffffffffffffffff
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x14001318b
xor esi, esi
jmp 0x14001319c
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x140013190
mov esi, eax
mov r8d, esi
mov rcx, r14
call fcn.140010390
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
jmp 0x14001332c
lea r15, [rax + 0x4f8]
mov rcx, qword [r15]
movzx eax, word [rcx]
xor esi, esi
lea rdi, [rsi - 1]
cmp ax, word [0x140328530]
je 0x1400131db
add rcx, 0xffffffffffffffe8
jmp 0x1400132f0
lea rdx, [0x140345118]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], si
jne 0x1400131e5
mov r8d, eax
mov rcx, r15
call fcn.140010390
mov word [rsp + 0x78], si
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x3c], esi
mov eax, 0x20
mov word [rsp + 0x30], ax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x38]
call fcn.140075d70
test eax, eax
js 0x1400132e9
movzx ecx, word [rsp + 0x30]
call fcn.14028c550
movsx ecx, al
mov r9d, dword [rsp + 0x38]
mov ebx, r9d
shl ebx, 8
mov edx, dword [rsp + 0x3c]
add ebx, edx
shl ebx, 8
lea eax, [rcx - 0x61]
cmp ax, 0x19
ja 0x14001325e
movzx eax, cx
add ebx, 0xffffffa0
add ebx, eax
cmp cx, 0x20
jne 0x140013280
mov dword [rsp + 0x20], edx
lea r8, str._d._d
mov edx, 0xa
lea rcx, [rsp + 0x78]
call fcn.140075ca0
jmp 0x1400132a1
movzx eax, cx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea r8, str._d._d_c
mov edx, 0xa
lea rcx, [rsp + 0x78]
call fcn.140075ca0
test ebx, ebx
je 0x1400132e9
lea rdx, [0x140345120]
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], si
jne 0x1400132b0
mov r8d, eax
mov rcx, r15
call fcn.140010390
lea rcx, [rsp + 0x78]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x1400132d0
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.14001bf50
mov rcx, qword [r15]
sub rcx, 0x18
call fcn.140014810
lea rbx, [rax + 0x18]
mov rdx, rbx
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14001331c
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140013310
mov esi, eax
mov r8d, esi
mov rcx, r14
call fcn.140010390
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14001333f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.140281bf0
add rsp, 0x8a8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret