Function at 0x140003cf0
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 [0x140043468]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
xor esi, esi
lea rcx, [rbp + 0x192]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x50], rsi
mov word [rbp + 0x190], si
call fcn.14001dd20
lea rcx, [rbp - 0x7e]
xor edx, edx
mov r8d, 0x206
mov word [rbp - 0x80], si
call fcn.14001dd20
lea r8, str.SoftwareAtherosVistaAddOn
lea rcx, [rbp + 0x190]
mov edx, 0x104
mov edi, esi
mov ebx, esi
call fcn.14001af54
lea r11, [rsp + 0x50]
lea r9d, [rsi + 1]
lea rdx, [rbp + 0x190]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003e2a
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x74]
lea rdx, str.COMBINEAUDIO
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x74], 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, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.BT30
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x74], 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 [0x140045cc8], edi
mov dword [0x140045ccc], ebx
test ebx, ebx
je 0x140003fa8
lea rcx, [rbp + 0x190]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.CBECAB40_A2C8_4ab3_ADC1_DE0FE95D8600
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
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 0x140003ef7
cmp eax, 2
jne 0x140003f02
movups xmm0, xmmword [0x140030e00]
lea r9d, [rax + 8]
lea rdx, str.L2Cap_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
test eax, eax
je 0x140003f02
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.14001a330
jmp 0x140003f02
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x190]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.DD533152_01F4_435C_ABFE_984BC21A2A65
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
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 0x140003f9d
cmp eax, 2
jne 0x140003fa8
movups xmm0, xmmword [0x140030e10]
lea r9d, [rax + 8]
lea rdx, str.Lw_L2Cap_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
jmp 0x140003fa8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400391a0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test edi, edi
jne 0x140004280
test eax, eax
je 0x14000408b
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea r9d, [rdi + 1]
lea rdx, [rbp - 0x80]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140004080
cmp eax, 2
jne 0x14000408b
movups xmm0, xmmword [0x140030e30]
lea r9d, [rdi + 0xa]
lea rdx, str.A2dp_Source_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
test eax, eax
je 0x14000408b
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.14001a330
jmp 0x14000408b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400391b0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
je 0x14000416a
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.F75A6878_698C_4f1d_806C_DF5153794059
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
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 0x14000415f
cmp eax, 2
jne 0x14000416a
movups xmm0, xmmword [0x140030e40]
lea r9d, [rax + 8]
lea rdx, str.A2dp_Sink_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
test eax, eax
je 0x14000416a
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.14001a330
jmp 0x14000416a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400391d0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
jne 0x1400041bc
movups xmm0, xmmword [0x1400391f0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
jne 0x1400041bc
movups xmm0, xmmword [0x140039200]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
je 0x140004407
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.237C20BD_9A3B_414e_BA6E_FBB375D4F542
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
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 0x140004270
cmp eax, 2
jne 0x140004407
movups xmm0, xmmword [0x140030e50]
lea r9d, [rax + 8]
lea rdx, str.Sco_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
test eax, eax
je 0x140004407
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
jmp 0x1400043fa
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004407
test eax, eax
jne 0x1400042ee
movups xmm0, xmmword [0x1400391b0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
jne 0x1400042ee
movups xmm0, xmmword [0x1400391d0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
jne 0x1400042ee
movups xmm0, xmmword [0x1400391f0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
jne 0x1400042ee
movups xmm0, xmmword [0x140039200]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
mov edi, esi
test eax, eax
je 0x1400042f3
mov edi, 1
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400043c2
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x7c]
lea r8, str.Enabled
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
lea rdx, [0x140034060]
mov qword [rsp + 0x28], rax
mov r9d, 0x18
mov dword [rsp + 0x78], esi
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 0x1400043c2
mov eax, esi
cmp dword [rsp + 0x78], eax
setne al
cmp eax, edi
je 0x140004407
movups xmm0, xmmword [0x140030e30]
lea rdx, str.A2dp_Source_Interface
lea rcx, [rsp + 0x60]
mov r9d, 0xa
movzx r8d, dil
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
test eax, eax
je 0x140004407
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.14001a330
movups xmm0, xmmword [0x1400391c0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
je 0x1400044e6
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.13B67E97_545B_41dc_AC44_6FEDE5FE6087
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
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 0x1400044db
cmp eax, 2
jne 0x1400044e6
movups xmm0, xmmword [0x140030e60]
lea r9d, [rax + 8]
lea rdx, str.Avrcp_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
test eax, eax
je 0x1400044e6
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.14001a330
jmp 0x1400044e6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140039230]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
je 0x1400045a7
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.06a7d6e8_753a_4d7a_803d_799430aaa441
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
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 0x14000459c
cmp eax, 2
jne 0x1400045a7
movups xmm0, xmmword [0x140030e80]
lea r9d, [rax + 8]
lea rdx, str.VDP_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
jmp 0x1400045a7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400391e0]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
je 0x140004668
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.BC21181D_AFAB_49A0_8DD9_EFFA9268E98F
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
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 0x14000465d
cmp eax, 2
jne 0x140004668
movups xmm0, xmmword [0x140030e90]
lea r9d, [rax + 8]
lea rdx, str.PAN_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
jmp 0x140004668
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140039210]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
je 0x140004747
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.E8AD5CB4_FB2B_4a43_8FD7_A28367D00E0A
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
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 0x14000473c
cmp eax, 2
jne 0x140004747
movups xmm0, xmmword [0x140030e70]
lea r9d, [rax + 8]
lea rdx, str.HID_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
test eax, eax
je 0x140004747
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.14001a330
jmp 0x140004747
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140039220]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400036d0
test eax, eax
je 0x140004826
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x208
call fcn.14001dd20
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea rcx, [rbp + 0x190]
mov edx, 0x104
call fcn.14001af54
lea r9, str.8855C1D2_9BFE_4b96_BCBF_CBB9682C76BD
lea r8, [rbp + 0x190]
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.14001a734
lea r11, [rsp + 0x50]
lea rdx, [rbp - 0x80]
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 0x14000481b
cmp eax, 2
jne 0x140004826
movups xmm0, xmmword [0x140030e20]
lea r9d, [rax + 8]
lea rdx, str.Hcrp_Interface
lea rcx, [rsp + 0x60]
mov r8b, 1
movaps xmmword [rsp + 0x60], xmm0
call fcn.140003bb0
test eax, eax
je 0x140004826
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.14001a330
jmp 0x140004826
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 0x14000486f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.14001a650
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