Function at 0x1400026d0
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 - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xor esi, esi
lea rcx, [rbp + 0x1b2]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x50], rsi
mov word [rbp + 0x1b0], si
call fcn.14001be30
lea rcx, [rbp - 0x5e]
xor edx, edx
mov r8d, 0x206
mov word [rbp - 0x60], si
call fcn.14001be30
lea r8, str.SoftwareAtherosVistaAddOn
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
mov edi, esi
mov ebx, esi
call fcn.140018eac
lea r11, [rsp + 0x50]
lea r9d, [rsi + 1]
lea rdx, [rbp + 0x1b0]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002806
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x6c]
lea rdx, str.COMBINEAUDIO
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov dword [rbp - 0x6c], 4
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x70], ebx
mov rcx, qword [rsp + 0x50]
setne dil
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.BT30
xor r9d, r9d
xor r8d, r8d
mov dword [rbp - 0x6c], 4
mov qword [rsp + 0x20], rax
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 [0x1400412e8], edi
mov dword [0x1400412ec], ebx
test ebx, ebx
je 0x140002984
lea rcx, [rbp + 0x1b0]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.CBECAB40_A2C8_4ab3_ADC1_DE0FE95D8600
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400028d3
cmp eax, 2
jne 0x1400028de
movups xmm0, xmmword [0x14002ee00]
lea r9d, [rax + 8]
lea rdx, str.L2Cap_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002590
test eax, eax
je 0x1400028de
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.1400184c0
jmp 0x1400028de
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x1b0]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.DD533152_01F4_435C_ABFE_984BC21A2A65
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002979
cmp eax, 2
jne 0x140002984
movups xmm0, xmmword [0x14002ee10]
lea r9d, [rax + 8]
lea rdx, str.Lw_L2Cap_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002590
jmp 0x140002984
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140035578]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400020b0
test edi, edi
jne 0x140002c69
test eax, eax
je 0x140002a67
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea r9d, [rdi + 1]
lea rdx, [rbp - 0x60]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002a5c
cmp eax, 2
jne 0x140002a67
movups xmm0, xmmword [0x14002ee30]
lea r9d, [rdi + 0xa]
lea rdx, str.A2dp_Source_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002590
test eax, eax
je 0x140002a67
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
lea ecx, [rdi + 1]
mov r8d, eax
call fcn.1400184c0
jmp 0x140002a67
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140035588]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400020b0
test eax, eax
je 0x140002b46
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.F75A6878_698C_4f1d_806C_DF5153794059
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002b3b
cmp eax, 2
jne 0x140002b46
movups xmm0, xmmword [0x14002ee40]
lea r9d, [rax + 8]
lea rdx, str.A2dp_Sink_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002590
test eax, eax
je 0x140002b46
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.1400184c0
jmp 0x140002b46
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400355a8]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400020b0
test eax, eax
jne 0x140002b98
movups xmm0, xmmword [0x1400355c8]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400020b0
test eax, eax
jne 0x140002b98
movups xmm0, xmmword [0x1400355d8]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400020b0
test eax, eax
je 0x140002e5e
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.237C20BD_9A3B_414e_BA6E_FBB375D4F542
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002c59
cmp eax, 2
jne 0x140002e5e
movups xmm0, xmmword [0x14002ee50]
lea r9d, [rax + 8]
lea rdx, str.Sco_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002590
test eax, eax
je 0x140002e5e
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.1400184c0
jmp 0x140002e5e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002e5e
test eax, eax
jne 0x140002cd7
movups xmm0, xmmword [0x140035588]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400020b0
test eax, eax
jne 0x140002cd7
movups xmm0, xmmword [0x1400355a8]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400020b0
test eax, eax
jne 0x140002cd7
movups xmm0, xmmword [0x1400355c8]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400020b0
test eax, eax
jne 0x140002cd7
movups xmm0, xmmword [0x1400355d8]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400020b0
mov ebx, esi
test eax, eax
je 0x140002cdc
mov ebx, 1
lea rdx, str.Install_A2DP
mov ecx, 4
call fcn.1400184c0
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x140002da7
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x68]
lea r9d, [rdi + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
lea r8, str.Enabled
mov qword [rsp + 0x28], rax
lea rdx, [0x14002ff50]
mov dword [rbp - 0x70], esi
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, dword [rbp - 0x70]
lea rdx, str.A2dp_supported___x__enabled___x
mov r8d, ebx
mov ecx, 4
call fcn.1400184c0
test edi, edi
jne 0x140002dcf
mov eax, esi
cmp dword [rbp - 0x70], eax
setne al
cmp eax, ebx
je 0x140002e14
movups xmm0, xmmword [0x14002ee30]
lea rdx, str.A2dp_Source_Interface
lea rcx, [rsp + 0x60]
mov r9d, 0xa
movzx r8d, bl
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002590
test eax, eax
je 0x140002e14
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info_BthA2dpSource___error___d_n
mov ecx, 1
mov r8d, eax
call fcn.1400184c0
movups xmm0, xmmword [0x14002ee40]
lea rdx, str.A2dp_Sink_Interface
lea rcx, [rsp + 0x60]
mov r9d, 0xa
xor r8d, r8d
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002590
lea rdx, str.Sco_Interface
movups xmm0, xmmword [0x14002ee50]
lea rcx, [rbp - 0x80]
mov r9d, 0xa
xor r8d, r8d
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002590
movups xmm0, xmmword [0x140035598]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400020b0
test eax, eax
je 0x140002f39
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.13B67E97_545B_41dc_AC44_6FEDE5FE6087
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002f2e
cmp eax, 2
jne 0x140002f39
movups xmm0, xmmword [0x14002ee60]
lea r9d, [rax + 8]
lea rdx, str.Avrcp_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002590
test eax, eax
je 0x140002f39
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.1400184c0
jmp 0x140002f39
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140035608]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400020b0
test eax, eax
je 0x140002ff6
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.06a7d6e8_753a_4d7a_803d_799430aaa441
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002feb
cmp eax, 2
jne 0x140002ff6
movups xmm0, xmmword [0x14002ee80]
lea r9d, [rax + 8]
lea rdx, str.VDP_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002590
jmp 0x140002ff6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400355b8]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400020b0
test eax, eax
je 0x1400030b3
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.BC21181D_AFAB_49A0_8DD9_EFFA9268E98F
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400030a8
cmp eax, 2
jne 0x1400030b3
movups xmm0, xmmword [0x14002ee90]
lea r9d, [rax + 8]
lea rdx, str.PAN_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002590
jmp 0x1400030b3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400355e8]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400020b0
test eax, eax
je 0x14000318e
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.E8AD5CB4_FB2B_4a43_8FD7_A28367D00E0A
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003183
cmp eax, 2
jne 0x14000318e
movups xmm0, xmmword [0x14002ee70]
lea r9d, [rax + 8]
lea rdx, str.HID_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002590
test eax, eax
je 0x14000318e
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.1400184c0
jmp 0x14000318e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400355f8]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400020b0
test eax, eax
je 0x140003269
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001be30
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140018eac
lea r9, str.8855C1D2_9BFE_4b96_BCBF_CBB9682C76BD
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.1400188c4
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000325e
cmp eax, 2
jne 0x140003269
movups xmm0, xmmword [0x14002ee20]
lea r9d, [rax + 8]
lea rdx, str.Hcrp_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002590
test eax, eax
je 0x140003269
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.1400184c0
jmp 0x140003269
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareAtherosVMDevice
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400032b2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400187e0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret