Function at 0x140002910
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x14004b008]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
xor esi, esi
lea rcx, [rbp + 0x190]
xor edx, edx
mov qword [rsp + 0x50], rsi
mov r8d, 0x208
call fcn.14001c790
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SoftwareAtherosVistaAddOn
mov edx, 0x104
lea rcx, [rbp + 0x190]
mov edi, esi
mov ebx, esi
call fcn.140020ee4
lea rax, [rsp + 0x50]
xor r8d, r8d
lea r9d, [rsi + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x190]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002a3f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rdx, str.COMBINEAUDIO
lea rax, [rsp + 0x70]
mov dword [rsp + 0x74], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x70], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x70], ebx
lea rax, [rsp + 0x74]
mov rcx, qword [rsp + 0x50]
lea rdx, str.BT30
mov qword [rsp + 0x28], rax
setne dil
lea rax, [rsp + 0x70]
mov dword [rsp + 0x74], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x70], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x70], ebx
mov rcx, qword [rsp + 0x50]
setne bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x14004be58], edi
mov dword [0x14004be5c], ebx
test ebx, ebx
je 0x140002bbd
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.CBECAB40_A2C8_4ab3_ADC1_DE0FE95D8600
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002b0c
cmp eax, 2
jne 0x140002b17
movups xmm0, xmmword [0x14003df18]
lea r9d, [rax + 8]
mov r8b, 1
lea rdx, str.L2Cap_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
test eax, eax
je 0x140002b17
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
mov ecx, 1
mov r8d, eax
call fcn.140018d20
jmp 0x140002b17
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.DD533152_01F4_435C_ABFE_984BC21A2A65
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002bb2
cmp eax, 2
jne 0x140002bbd
movups xmm0, xmmword [0x14003df28]
lea r9d, [rax + 8]
mov r8b, 1
lea rdx, str.Lw_L2Cap_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
jmp 0x140002bbd
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400412b0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test edi, edi
jne 0x140002e95
test eax, eax
je 0x140002ca0
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002c95
cmp eax, 2
jne 0x140002ca0
movups xmm0, xmmword [0x14003ded8]
lea r9d, [rdi + 0xa]
mov r8b, 1
lea rdx, str.A2dp_Source_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
test eax, eax
je 0x140002ca0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
lea ecx, [rdi + 1]
call fcn.140018d20
jmp 0x140002ca0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400412f0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
je 0x140002d7f
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.F75A6878_698C_4f1d_806C_DF5153794059
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002d74
cmp eax, 2
jne 0x140002d7f
movups xmm0, xmmword [0x14003def8]
lea r9d, [rax + 8]
mov r8b, 1
lea rdx, str.A2dp_Sink_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
test eax, eax
je 0x140002d7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
mov ecx, 1
mov r8d, eax
call fcn.140018d20
jmp 0x140002d7f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140041270]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
jne 0x140002dd1
movups xmm0, xmmword [0x1400412d0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
jne 0x140002dd1
movups xmm0, xmmword [0x1400412a0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
je 0x14000301c
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.237C20BD_9A3B_414e_BA6E_FBB375D4F542
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002e85
cmp eax, 2
jne 0x14000301c
movups xmm0, xmmword [0x14003de98]
lea r9d, [rax + 8]
mov r8b, 1
lea rdx, str.Sco_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
test eax, eax
je 0x14000301c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
jmp 0x14000300f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000301c
test eax, eax
jne 0x140002f03
movups xmm0, xmmword [0x1400412f0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
jne 0x140002f03
movups xmm0, xmmword [0x140041270]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
jne 0x140002f03
movups xmm0, xmmword [0x1400412d0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
jne 0x140002f03
movups xmm0, xmmword [0x1400412a0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
mov edi, esi
test eax, eax
je 0x140002f08
mov edi, 1
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002fd7
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
lea r8, str.Enabled
lea rax, [rsp + 0x78]
mov dword [rsp + 0x78], esi
mov qword [rsp + 0x28], rax
lea rdx, [0x14003bc30]
mov r9d, 0x18
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x7c], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140002fd7
mov eax, esi
cmp dword [rsp + 0x78], eax
setne al
cmp eax, edi
je 0x14000301c
movups xmm0, xmmword [0x14003ded8]
mov r9d, 0xa
lea rdx, str.A2dp_Source_Interface
movzx r8d, dil
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
test eax, eax
je 0x14000301c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info_BthA2dpSource___error___d_n
mov r8d, eax
mov ecx, 1
call fcn.140018d20
movups xmm0, xmmword [0x140041280]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
je 0x1400030fb
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.13B67E97_545B_41dc_AC44_6FEDE5FE6087
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400030f0
cmp eax, 2
jne 0x1400030fb
movups xmm0, xmmword [0x14003dea8]
lea r9d, [rax + 8]
mov r8b, 1
lea rdx, str.Avrcp_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
test eax, eax
je 0x1400030fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
mov ecx, 1
mov r8d, eax
call fcn.140018d20
jmp 0x1400030fb
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400412c0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
je 0x1400031bc
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.06a7d6e8_753a_4d7a_803d_799430aaa441
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400031b1
cmp eax, 2
jne 0x1400031bc
movups xmm0, xmmword [0x14003df08]
lea r9d, [rax + 8]
mov r8b, 1
lea rdx, str.VDP_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
jmp 0x1400031bc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140041300]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
je 0x14000327d
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.BC21181D_AFAB_49A0_8DD9_EFFA9268E98F
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003272
cmp eax, 2
jne 0x14000327d
movups xmm0, xmmword [0x14003deb8]
lea r9d, [rax + 8]
mov r8b, 1
lea rdx, str.PAN_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
jmp 0x14000327d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140041290]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
je 0x14000335c
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.E8AD5CB4_FB2B_4a43_8FD7_A28367D00E0A
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003351
cmp eax, 2
jne 0x14000335c
movups xmm0, xmmword [0x14003dec8]
lea r9d, [rax + 8]
mov r8b, 1
lea rdx, str.HID_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
test eax, eax
je 0x14000335c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
mov ecx, 1
mov r8d, eax
call fcn.140018d20
jmp 0x14000335c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140041260]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002310
test eax, eax
je 0x14000343b
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.14001c790
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140020ee4
lea r9, str.8855C1D2_9BFE_4b96_BCBF_CBB9682C76BD
mov edx, 0x104
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call fcn.140001040
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003430
cmp eax, 2
jne 0x14000343b
movups xmm0, xmmword [0x14003dee8]
lea r9d, [rax + 8]
mov r8b, 1
lea rdx, str.Hcrp_Interface
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027d0
test eax, eax
je 0x14000343b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
mov ecx, 1
mov r8d, eax
call fcn.140018d20
jmp 0x14000343b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareAtherosVMDevice
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140003484
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140019260
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret