Function at 0x140002e00
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 [0x140040468]
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.14001cc90
lea rcx, [rbp - 0x5e]
xor edx, edx
mov r8d, 0x206
mov word [rbp - 0x60], si
call fcn.14001cc90
lea r8, str.SoftwareAtherosVistaAddOn
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
mov edi, esi
mov ebx, esi
call fcn.140019d1c
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 0x140002f36
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 [0x1400432e8], edi
mov dword [0x1400432ec], ebx
test ebx, ebx
je 0x1400030b4
lea rcx, [rbp + 0x1b0]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.CBECAB40_A2C8_4ab3_ADC1_DE0FE95D8600
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x140003003
cmp eax, 2
jne 0x14000300e
movups xmm0, xmmword [0x14002fe20]
lea r9d, [rax + 8]
lea rdx, str.L2Cap_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002cc0
test eax, eax
je 0x14000300e
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.140019330
jmp 0x14000300e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x1b0]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.DD533152_01F4_435C_ABFE_984BC21A2A65
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x1400030a9
cmp eax, 2
jne 0x1400030b4
movups xmm0, xmmword [0x14002fe30]
lea r9d, [rax + 8]
lea rdx, str.Lw_L2Cap_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002cc0
jmp 0x1400030b4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140037108]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027e0
test edi, edi
jne 0x140003399
test eax, eax
je 0x140003197
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x14000318c
cmp eax, 2
jne 0x140003197
movups xmm0, xmmword [0x14002fe50]
lea r9d, [rdi + 0xa]
lea rdx, str.A2dp_Source_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002cc0
test eax, eax
je 0x140003197
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.140019330
jmp 0x140003197
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140037118]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027e0
test eax, eax
je 0x140003276
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.F75A6878_698C_4f1d_806C_DF5153794059
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x14000326b
cmp eax, 2
jne 0x140003276
movups xmm0, xmmword [0x14002fe60]
lea r9d, [rax + 8]
lea rdx, str.A2dp_Sink_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002cc0
test eax, eax
je 0x140003276
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.140019330
jmp 0x140003276
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140037138]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027e0
test eax, eax
jne 0x1400032c8
movups xmm0, xmmword [0x140037158]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027e0
test eax, eax
jne 0x1400032c8
movups xmm0, xmmword [0x140037168]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027e0
test eax, eax
je 0x14000358e
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.237C20BD_9A3B_414e_BA6E_FBB375D4F542
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x140003389
cmp eax, 2
jne 0x14000358e
movups xmm0, xmmword [0x14002fe70]
lea r9d, [rax + 8]
lea rdx, str.Sco_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002cc0
test eax, eax
je 0x14000358e
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.140019330
jmp 0x14000358e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000358e
test eax, eax
jne 0x140003407
movups xmm0, xmmword [0x140037118]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027e0
test eax, eax
jne 0x140003407
movups xmm0, xmmword [0x140037138]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027e0
test eax, eax
jne 0x140003407
movups xmm0, xmmword [0x140037158]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027e0
test eax, eax
jne 0x140003407
movups xmm0, xmmword [0x140037168]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400027e0
mov ebx, esi
test eax, eax
je 0x14000340c
mov ebx, 1
lea rdx, str.Install_A2DP
mov ecx, 4
call fcn.140019330
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x1400034d7
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, [0x1400319b0]
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.140019330
test edi, edi
jne 0x1400034ff
mov eax, esi
cmp dword [rbp - 0x70], eax
setne al
cmp eax, ebx
je 0x140003544
movups xmm0, xmmword [0x14002fe50]
lea rdx, str.A2dp_Source_Interface
lea rcx, [rsp + 0x60]
mov r9d, 0xa
movzx r8d, bl
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002cc0
test eax, eax
je 0x140003544
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.140019330
movups xmm0, xmmword [0x14002fe60]
lea rdx, str.A2dp_Sink_Interface
lea rcx, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
movaps xmmword [rsp + 0x60], xmm0
call fcn.140002cc0
lea rdx, str.Sco_Interface
movups xmm0, xmmword [0x14002fe70]
lea rcx, [rbp - 0x80]
mov r9d, 1
xor r8d, r8d
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002cc0
movups xmm0, xmmword [0x140037128]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400027e0
test eax, eax
je 0x140003669
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.13B67E97_545B_41dc_AC44_6FEDE5FE6087
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x14000365e
cmp eax, 2
jne 0x140003669
movups xmm0, xmmword [0x14002fe80]
lea r9d, [rax + 8]
lea rdx, str.Avrcp_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002cc0
test eax, eax
je 0x140003669
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.140019330
jmp 0x140003669
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140037198]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400027e0
test eax, eax
je 0x140003726
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.06a7d6e8_753a_4d7a_803d_799430aaa441
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x14000371b
cmp eax, 2
jne 0x140003726
movups xmm0, xmmword [0x14002fea0]
lea r9d, [rax + 8]
lea rdx, str.VDP_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002cc0
jmp 0x140003726
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140037148]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400027e0
test eax, eax
je 0x1400037e3
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.BC21181D_AFAB_49A0_8DD9_EFFA9268E98F
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x1400037d8
cmp eax, 2
jne 0x1400037e3
movups xmm0, xmmword [0x14002feb0]
lea r9d, [rax + 8]
lea rdx, str.PAN_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002cc0
jmp 0x1400037e3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140037178]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400027e0
test eax, eax
je 0x1400038be
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.E8AD5CB4_FB2B_4a43_8FD7_A28367D00E0A
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x1400038b3
cmp eax, 2
jne 0x1400038be
movups xmm0, xmmword [0x14002fe90]
lea r9d, [rax + 8]
lea rdx, str.HID_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002cc0
test eax, eax
je 0x1400038be
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.140019330
jmp 0x1400038be
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140037188]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400027e0
test eax, eax
je 0x140003999
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x1b0]
mov edx, 0x104
call fcn.140019d1c
lea r9, str.8855C1D2_9BFE_4b96_BCBF_CBB9682C76BD
lea r8, [rbp + 0x1b0]
lea rcx, [rbp - 0x60]
mov edx, 0x104
call fcn.140019734
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 0x14000398e
cmp eax, 2
jne 0x140003999
movups xmm0, xmmword [0x14002fe40]
lea r9d, [rax + 8]
lea rdx, str.Hcrp_Interface
lea rcx, [rbp - 0x80]
mov r8b, 1
movaps xmmword [rbp - 0x80], xmm0
call fcn.140002cc0
test eax, eax
je 0x140003999
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.140019330
jmp 0x140003999
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 0x1400039e2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140019650
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