Function at 0x140128f20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x3c8]
test rcx, rcx
je 0x1401298fc
cmp qword [rdi + 0x150], 0
je 0x1401298fc
call fcn.140125440
mov r12d, eax
mov ecx, eax
call fcn.1401257b0
xor ebx, ebx
lea r14d, [rbx + 1]
cmp eax, 6
jb 0x140128fca
mov rcx, qword [rdi + 0x150]
cmp dword [rcx + 0xc8], 9
jne 0x140128fc5
test dword [rcx + 0x1d0], 0x400000
je 0x140128fc5
mov rcx, qword [rdi + 0x3d0]
test rcx, rcx
je 0x140128fc5
call fcn.1400902e0
test eax, eax
jne 0x140128fca
mov r13d, r14d
jmp 0x140128fcd
mov r13d, ebx
mov dword [rbp - 0x61], r13d
mov rcx, qword [rdi + 0x3c8]
call fcn.140125fb0
mov dword [rbp - 0x3d], eax
mov rcx, qword [rdi + 0x3c8]
call fcn.140126300
mov dword [rbp - 0x39], eax
mov ecx, r12d
call fcn.1401257b0
mov dword [rbp - 0x41], eax
mov dword [rdi + 0x1408], ebx
mov dword [rbp - 0x6d], ebx
mov dword [rbp - 0x69], ebx
lea rax, [rbp - 0x79]
mov qword [rsp + 0x48], rax
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x140129934
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x79], rax
lea r15, str.FrontPanelWid
mov rdx, r15
lea rcx, [rbp - 0x79]
call fcn.1400168b0
mov rsi, 0xffffffffffffffff
test al, al
jne 0x14012906b
mov rax, rsi
nop
inc rax
cmp word [r15 + rax*2], 0
jne 0x140129050
mov r8d, eax
mov rdx, r15
lea rcx, [rbp - 0x79]
call fcn.140016ad0
nop
mov qword [rbp - 0x31], rbx
mov dword [rbp - 0x29], ebx
mov qword [rbp - 0x21], rbx
mov dword [rbp - 0x71], ebx
mov r9d, r14d
lea r8, str.SOFTWARERealtekRealtekEffectsDriver_
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x31]
call fcn.140024490
test eax, eax
je 0x1401290cc
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1401290a6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x79]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14012916c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14012916c
mov dword [rbp - 0x51], 4
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x4d]
xor r8d, r8d
mov rdx, qword [rbp - 0x79]
mov rbx, qword [rbp - 0x31]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14012913f
cmp dword [rbp - 0x4d], 4
jne 0x14012913f
mov eax, dword [rbp - 0x71]
mov dword [rbp - 0x6d], eax
test rbx, rbx
je 0x14012911b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x79]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140129138
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r15d, r14d
xor ebx, ebx
jmp 0x14012916f
test rbx, rbx
je 0x14012914d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x79]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14012916a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ebx, ebx
mov r15d, ebx
lea rax, [rsp + 0x48]
mov qword [rbp - 0x59], rax
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x14012993f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.RearPanelWid
lea rcx, [rsp + 0x48]
call fcn.1400168b0
test al, al
jne 0x1401291d8
mov rax, rsi
lea rdx, str.RearPanelWid
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1401291c0
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140016ad0
nop
mov qword [rbp - 0x19], rbx
mov dword [rbp - 0x11], ebx
mov qword [rbp - 9], rbx
mov dword [rbp - 0x59], ebx
mov r9d, r14d
lea r8, str.SOFTWARERealtekRealtekEffectsDriver_
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x19]
call fcn.140024490
test eax, eax
je 0x14012923a
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140129213
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401292dd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1401292dd
mov dword [rbp - 0x49], 4
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x45]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401292af
cmp dword [rbp - 0x45], 4
jne 0x1401292af
mov eax, dword [rbp - 0x59]
mov dword [rbp - 0x69], eax
test rbx, rbx
je 0x14012928a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401292a8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, r14d
xor ebx, ebx
jmp 0x1401292e0
test rbx, rbx
je 0x1401292bd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401292db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ebx, ebx
mov r9d, ebx
test r15d, r15d
je 0x140129317
mov rax, qword [rdi + 0x150]
cmp dword [rax + 0x64], 0xffffffff
jne 0x140129317
mov ecx, ebx
mov edx, dword [rax + 0x264]
test edx, edx
je 0x140129317
add rax, 0x268
mov r8d, dword [rbp - 0x6d]
cmp dword [rax], r8d
je 0x140129351
inc ecx
add rax, 4
cmp ecx, edx
jb 0x140129308
test r9d, r9d
je 0x140129358
mov rax, qword [rdi + 0x150]
cmp dword [rax + 0x64], 0xffffffff
jne 0x140129358
mov ecx, ebx
mov edx, dword [rax + 0x264]
test edx, edx
je 0x140129358
add rax, 0x268
mov r8d, dword [rbp - 0x69]
nop
cmp dword [rax], r8d
je 0x140129351
inc ecx
add rax, 4
cmp ecx, edx
jb 0x140129340
jmp 0x140129358
mov dword [rdi + 0x1408], r14d
mov rax, qword [rdi + 0x148]
test dword [rax + 0x1bc], 0x10000000
je 0x140129560
cmp dword [rdi + 0x1408], 0
je 0x140129560
test r13d, r13d
jne 0x140129560
cmp dword [rbp - 0x41], 2
ja 0x140129560
lea rcx, [rdi + 0x1010]
lea edx, [r13 + 5]
call fcn.14015f68c
lea rcx, [rdi + 0x10f8]
lea edx, [r13 + 5]
call fcn.14015f68c
lea rcx, [rdi + 0x1238]
lea edx, [r13 + 5]
call fcn.14015f68c
lea edx, [r13 + 5]
lea rcx, [rdi + 0x1320]
call fcn.14015f68c
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x140129929
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r15, [0x140393240]
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.1400168b0
test al, al
jne 0x14012942c
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x140129410
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.140016ad0
nop
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
mov rcx, qword [rdi + 0x1360]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, r14d
lea rcx, [rdi + 0x1320]
call fcn.14015e8ec
mov rcx, qword [rdi + 0x148]
add rcx, 0x558
mov r8d, 0x9f4
lea rdx, [rsp + 0x40]
call fcn.1400a4220
mov r9, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x14a
mov rcx, qword [rdi + 0x1360]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x148]
add rcx, 0x558
mov r8d, 0x9f5
lea rdx, [rsp + 0x40]
call fcn.1400a4220
mov r9, qword [rsp + 0x40]
mov r8, r14
mov edx, 0x14a
mov rcx, qword [rdi + 0x1360]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x148]
add rcx, 0x558
mov r8d, 0x9f6
lea rdx, [rsp + 0x40]
call fcn.1400a4220
mov rbx, qword [rsp + 0x40]
mov r9, rbx
mov edx, 0x14a
mov r8d, 2
mov rcx, qword [rdi + 0x1360]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
mov rcx, qword [rdi + 0x1360]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp - 0x65], 0
lea rdx, [rbp - 0x65]
call fcn.140126d50
test eax, eax
je 0x140129547
movsxd r8, dword [rbp - 0x65]
xor r9d, r9d
mov edx, 0x14e
mov rcx, qword [rdi + 0x1360]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140129598
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140129598
lea rcx, [rdi + 0x1010]
xor edx, edx
call fcn.14015f68c
lea rcx, [rdi + 0x10f8]
xor edx, edx
call fcn.14015f68c
lea rcx, [rdi + 0x1238]
xor edx, edx
call fcn.14015f68c
lea rcx, [rdi + 0x1320]
xor edx, edx
call fcn.14015f68c
mov eax, r13d
neg eax
sbb ebx, ebx
and ebx, 5
lea rcx, [rdi + 0x1410]
mov edx, ebx
call fcn.14015f68c
lea rcx, [rdi + 0x14f8]
mov edx, ebx
call fcn.14015f68c
mov edx, ebx
lea rcx, [rdi + 0x1670]
call fcn.14015f68c
mov rax, qword [rdi + 0x148]
lea r15, [rdi + 0x17e8]
mov rcx, r15
test byte [rax + 0x34], 0x10
je 0x1401295e7
xor edx, edx
jmp 0x1401295e9
mov edx, ebx
call fcn.14015f68c
mov rax, qword [rdi + 0x148]
lea rsi, [rdi + 0x1960]
mov rcx, rsi
test byte [rax + 0x10], 1
je 0x140129609
xor edx, edx
jmp 0x14012960b
mov edx, ebx
call fcn.14015f68c
mov rax, qword [rdi + 0x148]
test byte [rax + 0x34], 0x10
je 0x14012968f
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
lea rdx, [rbp + 0x17]
mov rcx, qword [rdi + 0x1828]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 0x17]
mov rcx, rdi
call fcn.140160bc4
lea rdx, [rbp + 7]
mov rcx, qword [rdi + 0x19a0]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.140160bc4
mov r9d, dword [rbp + 0x1b]
mov dword [rbp + 0xb], r9d
mov dword [rsp + 0x30], 5
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, dword [rbp + 7]
xor edx, edx
mov rcx, rsi
call fcn.14015f5bc
test r12d, 0x1e0
mov edx, 0
setne dl
mov rcx, r15
call fcn.14015e8ec
test r12b, 0x50
mov edx, 0
setne dl
mov rcx, rsi
call fcn.14015e8ec
mov rax, qword [rdi + 0x148]
test dword [rax + 0x28], 0x4000
je 0x1401296d5
test r12b, 0x30
je 0x1401296d5
mov ebx, r14d
jmp 0x1401296d7
xor ebx, ebx
mov edx, ebx
xor edx, 1
lea rcx, [rdi + 0x1670]
call fcn.14015e8ec
mov eax, dword [rdi + 0x1640]
mov dword [rdi + 0x1644], eax
mov esi, dword [rbp - 0x3d]
mov eax, esi
shr eax, 2
and eax, 1
mov dword [rdi + 0x1640], eax
mov r9d, 0x101
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x1538]
call qword [sym.imp.USER32.dll_RedrawWindow]
xor r9d, r9d
lea r8d, [r9 - 4]
mov rdx, qword [rdi + 0x1538]
mov ecx, 0x800a
call qword [sym.imp.USER32.dll_NotifyWinEvent]
test sil, 8
je 0x140129745
test ebx, ebx
jne 0x140129745
mov ecx, r14d
jmp 0x140129747
xor ecx, ecx
mov eax, dword [rdi + 0x17b8]
mov dword [rdi + 0x17bc], eax
mov dword [rdi + 0x17b8], ecx
mov r9d, 0x101
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x16b0]
call qword [sym.imp.USER32.dll_RedrawWindow]
xor r9d, r9d
lea r8d, [r9 - 4]
mov rdx, qword [rdi + 0x16b0]
mov ecx, 0x800a
call qword [sym.imp.USER32.dll_NotifyWinEvent]
mov eax, dword [rdi + 0x1930]
mov dword [rdi + 0x1934], eax
mov ecx, esi
and ecx, 0x600
xor eax, eax
cmp ecx, 0x600
sete al
mov dword [rdi + 0x1930], eax
mov r9d, 0x101
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x1828]
call qword [sym.imp.USER32.dll_RedrawWindow]
xor r9d, r9d
lea r8d, [r9 - 4]
mov rdx, qword [rdi + 0x1828]
mov ecx, 0x800a
call qword [sym.imp.USER32.dll_NotifyWinEvent]
mov eax, dword [rdi + 0x1aa8]
mov dword [rdi + 0x1aac], eax
mov eax, esi
and eax, 0x30
xor edx, edx
cmp al, 0x30
sete dl
mov dword [rdi + 0x1aa8], edx
mov r9d, 0x101
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x19a0]
call qword [sym.imp.USER32.dll_RedrawWindow]
xor r9d, r9d
lea r8d, [r9 - 4]
mov rdx, qword [rdi + 0x19a0]
mov ecx, 0x800a
call qword [sym.imp.USER32.dll_NotifyWinEvent]
cmp dword [rbp - 0x61], 0
je 0x140129878
mov rcx, qword [rdi + 0x3c8]
call fcn.140126140
mov r11d, eax
mov ecx, r12d
call fcn.140125590
mov r8d, esi
not r8d
and r8d, eax
mov ecx, r11d
and ecx, esi
not ecx
and ecx, r11d
or r8d, ecx
xor r9d, r9d
lea rdx, [0x140396190]
mov rcx, qword [rdi + 0x3c8]
call fcn.140101d60
mov rax, qword [rdi + 0x148]
test dword [rax + 0x10], 0x4000000
jne 0x1401298fc
test r12b, 3
mov edx, 0
sete dl
lea rcx, [rdi + 0x1d38]
call fcn.14015e8ec
mov eax, dword [rbp - 0x39]
and eax, 3
xor edx, edx
cmp al, 3
sete dl
lea rcx, [rdi + 0x1bc0]
call fcn.1400f9200
mov ecx, r12d
call fcn.140125590
and eax, 0x634
mov ecx, eax
and ecx, dword [rbp - 0x39]
cmp ecx, eax
jne 0x1401298d3
test eax, eax
jne 0x1401298d6
xor r14d, r14d
mov edx, r14d
lea rcx, [rdi + 0x1d38]
call fcn.1400f9200
cmp dword [rdi + 0x1d08], 1
je 0x1401298fc
xor edx, edx
lea rcx, [rdi + 0x1d38]
call fcn.14015e8ec
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402ecc20
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140012800
int3
mov ecx, 0x80004005
call fcn.140012800
int3
mov ecx, 0x80004005
call fcn.140012800
int3