Function at 0x14015ec70
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, 0xd0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x59], r12d
lea rax, str.ReadJackInfoFromRegitry__
mov qword [rsp + 0x30], rax
lea rax, [0x14031b830]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 2]
lea r8, [0x1404675c0]
mov edx, 0x25d
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_shared_realtekjack.cpp
call fcn.140039f30
mov rcx, rdi
call fcn.14015f850
mov dword [rdi + 0x368], eax
mov qword [rbp + 7], r12
mov r8d, dword [rdi + 0x318]
lea rdx, [rbp + 7]
call fcn.14015d860
nop
mov dword [rbp - 9], r12d
mov qword [rbp - 0x29], r12
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 7]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14015ed7b
mov dword [rbp + 0xf], 4
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1f]
xor r8d, r8d
lea rdx, str.JackStatus
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp - 9]
mov dword [rdi + 0x320], eax
mov dword [rbp - 5], r12d
mov qword [rbp - 0x21], r12
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 7]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14015edef
mov dword [rbp + 0x13], 4
lea rax, [rbp + 0x13]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 5]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x23]
xor r8d, r8d
lea rdx, str.JackStatusChangedWhenPowerDown
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp - 5]
mov dword [rdi + 0x324], eax
mov dword [rbp - 1], r12d
mov qword [rbp - 0x19], r12
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 7]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14015ee63
mov dword [rbp + 0x17], 4
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x27]
xor r8d, r8d
lea rdx, str.JackWidgetId
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp - 1]
mov dword [rdi + 0x31c], eax
lea r14, [rdi + 0x330]
mov rdx, qword [r14]
lea rcx, [rdx - 0x18]
mov rbx, qword [rdi + 0x328]
sub rbx, 0x18
mov esi, 0xffffffff
cmp rcx, rbx
je 0x14015eee1
cmp dword [rbx + 0x10], 0
jl 0x14015eed1
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14015eed1
call fcn.14003c400
mov r13, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14015eec4
mov rcx, qword [rbx]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
mov rdx, rbx
call qword [case.0x14004487d.0]
lea rax, [r13 + 0x18]
mov qword [rdi + 0x328], rax
jmp 0x14015eee1
mov r8d, dword [rdx - 0x10]
lea rcx, [rdi + 0x328]
call fcn.14003beb0
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.140165610
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [r14]
sub rbx, 0x18
cmp rcx, rbx
je 0x14015ef4c
cmp dword [rbx + 0x10], 0
jl 0x14015ef3f
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14015ef3f
call fcn.14003c400
mov r13, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14015ef36
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
lea rax, [r13 + 0x18]
mov qword [r14], rax
jmp 0x14015ef4c
mov r8d, dword [rdx - 0x10]
mov rcx, r14
call fcn.14003beb0
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015ef70
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
lea rax, str.EndpointId_Realtek_:__s
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 2
lea r8, [0x1404675c0]
mov edx, 0x269
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_shared_realtekjack.cpp
call fcn.140039f30
mov r8, qword [r14]
test r8, r8
je 0x14015f314
mov rax, qword [rdi + 0x328]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14015efd4
add rax, 2
test ecx, ecx
jne 0x14015efc0
test edx, edx
je 0x14015f01b
mov rax, qword [r14]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x328]
mov qword [rsp + 0x30], rax
lea rax, str.Realtek_OldEndpointId_:_s___rEndpointId:_s
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 2
lea r8, [0x1404675c0]
mov edx, 0x26d
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_shared_realtekjack.cpp
call fcn.140039f30
lea r14, [rdi + 0x338]
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.14003c400
add rax, 0x18
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.1401657d0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [r14]
sub rbx, 0x18
cmp rcx, rbx
je 0x14015f0a1
cmp dword [rbx + 0x10], 0
jl 0x14015f094
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14015f094
call fcn.14003c400
mov r15, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14015f08b
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
lea rax, [r15 + 0x18]
mov qword [r14], rax
jmp 0x14015f0a1
mov r8d, dword [rdx - 0x10]
mov rcx, r14
call fcn.14003beb0
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015f0c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
lea rax, str.HiddenCaptureEndpointId_:__s_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 2
lea r8, [0x1404675c0]
mov edx, 0x273
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_shared_realtekjack.cpp
call fcn.140039f30
mov r8, qword [r14]
test r8, r8
je 0x14015f31f
mov rax, qword [rbp - 0x49]
mov rcx, rax
sub r8, rax
movzx r9d, word [rcx]
movzx edx, word [rcx + r8]
sub r9d, edx
jne 0x14015f128
add rcx, 2
test edx, edx
jne 0x14015f112
test r9d, r9d
je 0x14015f169
mov rdx, qword [r14]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
lea rax, str.Realtek_OldHiddenCaptureEndpointId_:_s___HiddenCaptureEndpointId:_s
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 2
lea r8, [0x1404675c0]
mov edx, 0x277
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_shared_realtekjack.cpp
call fcn.140039f30
mov rcx, rdi
call fcn.14015f330
mov ebx, dword [rdi + 0x318]
mov qword [rbp - 0x51], r12
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x14015f309
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x59], 2
mov r9d, ebx
lea r8, str.SOFTWARERealtekAudioGUI_INFORMATIONJackInfomation
lea rdx, str._sJack_d
lea rcx, [rbp - 0x51]
call fcn.140058ab0
mov dword [rbp + 3], r12d
mov qword [rbp - 0x11], r12
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rbx, qword [rbp - 0x51]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14015f230
mov dword [rbp + 0x1b], 4
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 3]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2b]
xor r8d, r8d
lea rdx, str.JackListCurrSelectIndex
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp + 3]
mov dword [rdi + 0x370], eax
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015f259
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rcx, qword [rdi + 0x378]
mov edx, dword [rdi + 0x370]
mov rax, qword [rdi + 0x380]
sub rax, rcx
sar rax, 3
cmp rdx, rax
jae 0x14015f28e
mov eax, dword [rcx + rdx*8]
mov dword [rdi + 0x390], eax
mov eax, dword [rcx + rdx*8 + 4]
mov dword [rdi + 0x394], eax
jmp 0x14015f295
mov qword [rdi + 0x390], r12
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14015f2ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14015f2dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0xd0]
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.140039950
nop
mov ecx, 0x80004005
call fcn.140039950
nop
mov ecx, 0x80004005
call fcn.140039950
int3