Function at 0x140108000
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, rcx
xor r14d, r14d
mov dword [rsp + 0x54], r14d
lea rax, str.ReadJackInfoFromRegitry__
mov qword [rsp + 0x30], rax
lea rax, [0x14022aa38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 2]
lea r8, [0x140303c50]
mov edx, 0x25c
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
mov rcx, r15
call fcn.140108bc0
mov dword [r15 + 0x8c], eax
mov qword [rbp - 0x60], r14
mov r8d, dword [r15 + 0x38]
lea rdx, [rbp - 0x60]
call fcn.140106f70
nop
mov rcx, qword [r15 + 0x58]
sub rcx, 0x18
call fcn.14001dc80
add rax, 0x18
mov qword [rbp - 8], rax
mov dword [rbp - 0x3c], r14d
mov qword [rbp - 0x70], r14
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14010811f
mov dword [rbp - 0x10], 4
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc]
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 - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp - 0x3c]
mov dword [r15 + 0x40], eax
mov dword [rbp - 0x50], r14d
mov qword [rbp - 0x78], r14
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140108191
mov dword [rbp - 0x28], 4
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
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 - 0x78]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp - 0x50]
mov dword [r15 + 0x44], eax
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x80], r14
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140108203
mov dword [rbp - 0x2c], 4
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 4]
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 - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp - 0x4c]
mov dword [r15 + 0x3c], eax
mov rcx, qword [r15 + 0x50]
sub rcx, 0x18
call fcn.14001dc80
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rax, [0x14022a4b0]
mov qword [rsp + 0x20], rax
lea r9, str.EndpointId
mov r8, qword [rbp - 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.14001fbd0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [r15 + 0x50]
sub rbx, 0x18
mov esi, 0xffffffff
cmp rcx, rbx
je 0x1401082a8
cmp dword [rbx + 0x10], 0
jl 0x14010829a
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14010829a
call fcn.14001dc80
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140108290
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rdi + 0x18]
mov qword [r15 + 0x50], rax
jmp 0x1401082a8
mov r8d, dword [rdx - 0x10]
lea rcx, [r15 + 0x50]
call fcn.140016ed0
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401082c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x30], rax
lea rax, str.EndpointId_Realtek_:__s
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
lea r8, [0x140303c50]
mov edx, 0x26b
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
mov rcx, r15
call fcn.140108bc0
mov ecx, eax
call fcn.1400ff1c0
mov r9, rax
mov ecx, dword [r15 + 0x8c]
call fcn.1400ff1c0
test r9, r9
je 0x1401083e0
test rax, rax
je 0x1401083e0
mov ecx, dword [r9 + 0xc]
cmp dword [rax + 0xc], ecx
je 0x1401083e0
lea rdi, [r15 + 0x60]
cmp ecx, 2
jne 0x1401083a1
mov rdx, qword [r15 + 0x58]
lea rcx, [rdx - 0x18]
mov rbx, qword [rdi]
sub rbx, 0x18
cmp rcx, rbx
je 0x1401083a9
cmp dword [rbx + 0x10], 0
jl 0x140108393
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140108393
call fcn.14001dc80
mov r14, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140108387
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [r14 + 0x18]
mov qword [rdi], rax
xor r14d, r14d
jmp 0x1401083a9
mov r8d, dword [rdx - 0x10]
mov rcx, rdi
call fcn.140016ed0
jmp 0x1401083a9
mov rcx, rdi
call fcn.140017080
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
lea rax, str.OldHiddenCaptureEndpointId_:__s_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
lea r8, [0x140303c50]
mov edx, 0x27b
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
mov qword [rbp - 0x38], r14
lea rbx, [0x14022a4b0]
mov qword [rsp + 0x20], rbx
lea r9, str.JackListTypeSequence
mov r8, qword [rbp - 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x38]
call fcn.14001fbd0
nop
mov dword [rsp + 0x40], r14d
mov qword [rbp - 0x58], r14
lea r9, [rsp + 0x40]
lea r8, [0x140237394]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x38]
call fcn.140023fc0
nop
lea rdi, [r15 + 0x98]
mov rax, qword [rdi]
mov qword [rdi + 8], rax
mov rax, qword [rbp - 0x58]
cmp dword [rax - 0x10], 0
je 0x14010854f
nop dword [rax + rax]
mov dword [rbp - 0x40], r14d
mov dword [rbp - 0x48], r14d
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x48]
lea rdx, str._02x_02x
mov rcx, rax
call fcn.140021be0
mov eax, dword [rbp - 0x48]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x5c], eax
mov rdx, qword [rdi + 8]
cmp qword [rdi + 0x10], rdx
je 0x140108496
mov rax, qword [rsp + 0x58]
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x1401084a3
lea r8, [rsp + 0x58]
mov rcx, rdi
call fcn.14010f7b0
lea r9, [rsp + 0x40]
lea r8, [0x140237394]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.140023fc0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x58]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14010851c
cmp dword [rbx + 0x10], 0
jl 0x14010850e
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14010850e
call fcn.14001dc80
mov r14, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140108501
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [r14 + 0x18]
mov qword [rbp - 0x58], rax
xor r14d, r14d
jmp 0x14010851c
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x58]
call fcn.140016ed0
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010853a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rbp - 0x58]
cmp dword [rax - 0x10], 0
jne 0x140108450
lea rbx, [0x14022a4b0]
mov rdx, qword [r15 + 0xa0]
mov rax, qword [rdi]
mov rcx, rax
cmp rax, rdx
je 0x140108575
cmp dword [rcx], 0
jne 0x14010856c
cmp dword [rcx + 4], 0
je 0x140108575
add rcx, 8
cmp rcx, rdx
jne 0x140108561
cmp rcx, rdx
je 0x1401085c4
cmp rax, rdx
je 0x140108599
nop
cmp dword [rax], 1
jne 0x14010858b
cmp dword [rax + 4], 0
je 0x140108594
add rax, 8
cmp rax, rdx
jne 0x140108580
cmp rax, rdx
jne 0x1401085c4
mov qword [rsp + 0x4c], 1
cmp qword [rdi + 0x10], rdx
je 0x1401085b7
mov rax, qword [rsp + 0x4c]
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x1401085c4
lea r8, [rsp + 0x4c]
mov rcx, rdi
call fcn.14010f7b0
mov rdx, qword [r15 + 0xa0]
mov rax, qword [rdi]
mov rcx, rax
cmp rax, rdx
je 0x1401085ea
cmp dword [rcx], 1
jne 0x1401085e1
cmp dword [rcx + 4], 0
je 0x1401085ea
add rcx, 8
cmp rcx, rdx
jne 0x1401085d6
cmp rcx, rdx
je 0x140108638
cmp rax, rdx
je 0x14010860d
cmp dword [rax], 0
jne 0x1401085ff
cmp dword [rax + 4], 0
je 0x140108608
add rax, 8
cmp rax, rdx
jne 0x1401085f4
cmp rax, rdx
jne 0x140108638
mov qword [rsp + 0x44], 0
cmp qword [rdi + 0x10], rdx
je 0x14010862b
mov rax, qword [rsp + 0x44]
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x140108638
lea r8, [rsp + 0x44]
mov rcx, rdi
call fcn.14010f7b0
mov dword [rbp - 0x44], r14d
mov qword [rbp - 0x68], r14
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1401086a3
mov dword [rbp - 0x30], 4
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
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 - 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, dword [rbp - 0x44]
mov dword [r15 + 0x94], ecx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jae 0x1401086d7
mov eax, dword [rdx + rcx*8]
mov ecx, dword [rdx + rcx*8 + 4]
mov dword [r15 + 0xb0], eax
mov dword [r15 + 0xb4], ecx
jmp 0x1401086e2
mov qword [r15 + 0xb0], 0
mov qword [rbp - 0x20], r14
mov r8d, dword [r15 + 0x38]
lea rdx, [rbp - 0x20]
call fcn.140106f70
nop
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], rbx
lea r9, str.EndpointIdForHiddenJack
mov r8, qword [rbp - 0x20]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.14001fbd0
mov rbx, rax
mov dword [rsp + 0x54], 2
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140108743
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rdx, qword [rbx]
lea rcx, [rdx - 0x18]
mov rbx, qword [r15 + 0x58]
sub rbx, 0x18
cmp rcx, rbx
je 0x14010879e
cmp dword [rbx + 0x10], 0
jl 0x140108790
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140108790
call fcn.14001dc80
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140108786
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rdi + 0x18]
mov qword [r15 + 0x58], rax
jmp 0x14010879e
mov r8d, dword [rdx - 0x10]
lea rcx, [r15 + 0x58]
call fcn.140016ed0
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401087bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [r15 + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.HiddenCaptureEndpointId_:__s_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
lea r8, [0x140303c50]
mov edx, 0x2a6
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
mov r8, qword [r15 + 0x50]
test r8, r8
je 0x140108a04
mov rbx, qword [rbp - 0x18]
mov rax, rbx
sub r8, rbx
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140108824
add rax, 2
test ecx, ecx
jne 0x140108810
test edx, edx
je 0x1401088c8
lea rcx, [rbx - 0x18]
mov rdi, qword [r15 + 0x48]
sub rdi, 0x18
cmp rcx, rdi
je 0x14010888a
cmp dword [rdi + 0x10], 0
jl 0x14010887a
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14010887a
call fcn.14001dc80
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14010886c
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [r8 + 8]
lea rax, [rbx + 0x18]
mov qword [r15 + 0x48], rax
mov rbx, qword [rbp - 0x18]
jmp 0x14010888a
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [r15 + 0x48]
call fcn.140016ed0
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, str.Realtek_OldEndpointId_:_s___rEndpointId:_s
mov qword [rsp + 0x28], rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 2]
lea r8, [0x140303c50]
mov edx, 0x2ab
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
mov r8, qword [r15 + 0x58]
test r8, r8
je 0x1401089f9
mov rax, qword [rbp - 8]
mov rcx, rax
sub r8, rax
nop
movzx r10d, word [rcx]
movzx edx, word [rcx + r8]
sub r10d, edx
jne 0x1401088f6
add rcx, 2
test edx, edx
jne 0x1401088e0
test r10d, r10d
je 0x140108939
mov rdx, qword [r15 + 0x58]
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], r14
mov r9d, 2
lea r8, [0x140303c50]
mov edx, 0x2b0
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_shared_realtekjack.cpp
call fcn.1400189f0
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140108957
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140108975
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140108993
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401089b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1401089cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0x120]
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.1400151f0
int3
mov ecx, 0x80004005
call fcn.1400151f0
int3