Function at 0x140002a30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
xor r14d, r14d
lea rcx, [rbp + 0x5a0]
xor edx, edx
mov qword [rsp + 0x60], r14
mov r8d, 0x208
call fcn.14001b960
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SoftwareAtherosVistaAddOn
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
mov edi, r14d
mov ebx, r14d
call fcn.14002168c
lea rax, [rsp + 0x60]
xor r8d, r8d
lea r9d, [r14 + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x5a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002b6c
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rdx, str.COMBINEAUDIO
lea rax, [rsp + 0x68]
mov dword [rsp + 0x6c], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x68], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x68], ebx
lea rax, [rsp + 0x6c]
mov rcx, qword [rsp + 0x60]
lea rdx, str.BT30
mov qword [rsp + 0x28], rax
setne dil
lea rax, [rsp + 0x68]
mov dword [rsp + 0x6c], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x68], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x68], ebx
mov rcx, qword [rsp + 0x60]
setne bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x14004eb88], edi
mov esi, 0x100
mov dword [0x14004eb8c], ebx
test ebx, ebx
je 0x140002e80
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea edx, [rsi + 4]
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.CBECAB40_A2C8_4ab3_ADC1_DE0FE95D8600
lea r8, [rbp + 0x5a0]
lea edx, [rsi + 4]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002d0a
cmp eax, 2
jne 0x140002d15
movups xmm0, xmmword [0x14003fa48]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.L2Cap_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
mov edx, esi
sub r8, rax
lea rcx, [rbp - 0x70]
nop dword [rax]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140002c63
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140002c63
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140002c40
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140002c8a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x140002d15
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140002d15
mov ebx, 1
nop word [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140002d15
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x140002cb0
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.140019630
jmp 0x140002d15
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.DD533152_01F4_435C_ABFE_984BC21A2A65
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002e75
cmp eax, 2
jne 0x140002e80
movups xmm0, xmmword [0x14003fa58]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.Lw_L2Cap_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
mov rdx, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140002df4
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140002df4
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140002dd1
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140002e18
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x140002e80
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140002e80
mov ebx, 1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140002e80
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x140002e35
jmp 0x140002e80
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140042d40]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test edi, edi
jne 0x1400033b4
test eax, eax
je 0x140003035
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000302a
cmp eax, 2
jne 0x140003035
movups xmm0, xmmword [0x14003fa08]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.A2dp_Source_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
mov rdx, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140002f83
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140002f83
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140002f60
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140002faa
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x140003035
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140003035
mov ebx, 1
nop word [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140003035
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x140002fd0
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.140019630
jmp 0x140003035
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140042d80]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
je 0x1400031e5
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.F75A6878_698C_4f1d_806C_DF5153794059
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400031da
cmp eax, 2
jne 0x1400031e5
movups xmm0, xmmword [0x14003fa28]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.A2dp_Sink_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
mov rdx, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
nop
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140003133
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003133
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003110
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x14000315a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x1400031e5
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x1400031e5
mov ebx, 1
nop word [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x1400031e5
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x140003180
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.140019630
jmp 0x1400031e5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140042d00]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
jne 0x140003237
movups xmm0, xmmword [0x140042d60]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
jne 0x140003237
movups xmm0, xmmword [0x140042d30]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
je 0x1400035fc
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.237C20BD_9A3B_414e_BA6E_FBB375D4F542
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400033a4
cmp eax, 2
jne 0x1400035fc
movups xmm0, xmmword [0x14003f9c8]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.Sco_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
mov rdx, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140003316
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003316
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400032f3
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
je 0x140003574
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x1400035fc
mov ebx, 1
nop dword [rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x1400035fc
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x140003350
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
jmp 0x1400035ef
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400035fc
test eax, eax
jne 0x140003423
movups xmm0, xmmword [0x140042d80]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
jne 0x140003423
movups xmm0, xmmword [0x140042d00]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
jne 0x140003423
movups xmm0, xmmword [0x140042d60]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
jne 0x140003423
movups xmm0, xmmword [0x140042d30]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
mov edi, r14d
test eax, eax
je 0x140003428
mov edi, 1
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.61118058_486C_4bb0_B4B8_ACE4DCADEC44
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003506
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea r8, str.Enabled
lea rax, [rsp + 0x70]
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x28], rax
lea rdx, [0x14003d980]
mov r9d, 0x18
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x74], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140003506
mov eax, r14d
cmp dword [rsp + 0x70], eax
setne al
cmp eax, edi
je 0x1400035fc
movups xmm0, xmmword [0x14003fa08]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.A2dp_Source_Interface
mov dword [rbp - 0x80], edi
lea rax, [rbp - 0x70]
mov rdx, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
nop dword [rax + rax]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140003563
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003563
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003540
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140003587
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x1400035fc
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x1400035fc
mov ebx, 1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x1400035fc
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x1400035a4
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.140019630
movups xmm0, xmmword [0x140042d10]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
je 0x1400037b5
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.13B67E97_545B_41dc_AC44_6FEDE5FE6087
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400037aa
cmp eax, 2
jne 0x1400037b5
movups xmm0, xmmword [0x14003f9d8]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.Avrcp_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
mov rdx, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140003703
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003703
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400036e0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x14000372a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x1400037b5
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x1400037b5
mov ebx, 1
nop word [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x1400037b5
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x140003750
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.140019630
jmp 0x1400037b5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140042d50]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
je 0x14000393f
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.06a7d6e8_753a_4d7a_803d_799430aaa441
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003934
cmp eax, 2
jne 0x14000393f
movups xmm0, xmmword [0x14003fa38]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.VDP_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
mov rdx, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
nop
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x1400038b3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400038b3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003890
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x1400038d7
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x14000393f
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x14000393f
mov ebx, 1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x14000393f
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x1400038f4
jmp 0x14000393f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140042d90]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
je 0x140003acf
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.BC21181D_AFAB_49A0_8DD9_EFFA9268E98F
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003ac4
cmp eax, 2
jne 0x140003acf
movups xmm0, xmmword [0x14003f9e8]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.PAN_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
mov rdx, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
nop dword [rax]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140003a43
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003a43
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003a20
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140003a67
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x140003acf
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140003acf
mov ebx, 1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140003acf
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x140003a84
jmp 0x140003acf
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140042d20]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
je 0x140003c85
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.E8AD5CB4_FB2B_4a43_8FD7_A28367D00E0A
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003c7a
cmp eax, 2
jne 0x140003c85
movups xmm0, xmmword [0x14003f9f8]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r8, str.HID_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
mov rdx, rsi
sub r8, rax
lea rcx, [rbp - 0x70]
nop dword [rax]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140003bd3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003bd3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003bb0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140003bfa
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x140003c85
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140003c85
mov ebx, 1
nop word [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140003c85
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x140003c20
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.140019630
jmp 0x140003c85
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140042ce0]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002580
test eax, eax
je 0x140003e35
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001b960
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.14002168c
lea r9, str.8855C1D2_9BFE_4b96_BCBF_CBB9682C76BD
mov edx, 0x104
lea r8, [rbp + 0x5a0]
lea rcx, [rbp + 0x390]
call fcn.140001040
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003e2a
cmp eax, 2
jne 0x140003e35
movups xmm0, xmmword [0x14003fa18]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001b960
lea r9, str.Hcrp_Interface
mov dword [rbp - 0x80], 1
lea rax, [rbp - 0x70]
sub r9, rax
lea r8, [rbp - 0x70]
nop dword [rax]
lea rax, [rsi + 0x7ffffefe]
test rax, rax
je 0x140003d84
movzx eax, word [r9 + r8]
test ax, ax
je 0x140003d84
mov word [r8], ax
add r8, 2
sub rsi, 1
jne 0x140003d60
test rsi, rsi
lea rax, [r8 - 2]
cmovne rax, r8
mov word [rax], r14w
jne 0x140003dab
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.140019630
jmp 0x140003e35
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140003e35
mov ebx, 1
nop dword [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.BluetoothApis.dll_BluetoothSetLocalServiceInfo]
test eax, eax
je 0x140003e35
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.140019630
inc ebx
cmp ebx, 0xa
jl 0x140003dd0
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.140019630
jmp 0x140003e35
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareAtherosVMDevice
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140003e7f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140019b40
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret