Function at 0x140002a20
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 [0x140052010]
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.14001bd50
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SoftwareAtherosVistaAddOn
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
mov edi, r14d
mov ebx, r14d
call fcn.140025408
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 0x140002b5c
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 [0x140053b98], edi
mov esi, 0x100
mov dword [0x140053b9c], ebx
test ebx, ebx
je 0x140002e70
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea edx, [rsi + 4]
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x140002cfa
cmp eax, 2
jne 0x140002d05
movups xmm0, xmmword [0x140044eb8]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x140002c53
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140002c53
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140002c30
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140002c7a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x140002d05
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 0x140002d05
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 0x140002d05
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140002ca0
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.1400194a0
jmp 0x140002d05
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x140002e65
cmp eax, 2
jne 0x140002e70
movups xmm0, xmmword [0x140044ec8]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x140002de4
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140002de4
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140002dc1
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140002e08
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x140002e70
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 0x140002e70
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 0x140002e70
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140002e25
jmp 0x140002e70
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x14004a888]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test edi, edi
jne 0x1400033a4
test eax, eax
je 0x140003025
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x14000301a
cmp eax, 2
jne 0x140003025
movups xmm0, xmmword [0x140044e78]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x140002f73
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140002f73
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140002f50
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140002f9a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x140003025
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 0x140003025
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 0x140003025
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140002fc0
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.1400194a0
jmp 0x140003025
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x14004a8e8]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
je 0x1400031d5
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x1400031ca
cmp eax, 2
jne 0x1400031d5
movups xmm0, xmmword [0x140044e98]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x140003123
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003123
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003100
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x14000314a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x1400031d5
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 0x1400031d5
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 0x1400031d5
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140003170
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.1400194a0
jmp 0x1400031d5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x14004a848]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
jne 0x140003227
movups xmm0, xmmword [0x14004a8c8]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
jne 0x140003227
movups xmm0, xmmword [0x14004a878]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
je 0x1400035ec
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x140003394
cmp eax, 2
jne 0x1400035ec
movups xmm0, xmmword [0x140044e38]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x140003306
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003306
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400032e3
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
je 0x140003564
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 0x1400035ec
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 0x1400035ec
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140003340
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
jmp 0x1400035df
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400035ec
test eax, eax
jne 0x140003413
movups xmm0, xmmword [0x14004a8e8]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
jne 0x140003413
movups xmm0, xmmword [0x14004a848]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
jne 0x140003413
movups xmm0, xmmword [0x14004a8c8]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
jne 0x140003413
movups xmm0, xmmword [0x14004a878]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
mov edi, r14d
test eax, eax
je 0x140003418
mov edi, 1
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x1400034f6
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, [0x140042df0]
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 0x1400034f6
mov eax, r14d
cmp dword [rsp + 0x70], eax
setne al
cmp eax, edi
je 0x1400035ec
movups xmm0, xmmword [0x140044e78]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x140003553
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003553
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003530
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140003577
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x1400035ec
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 0x1400035ec
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 0x1400035ec
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140003594
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.1400194a0
movups xmm0, xmmword [0x14004a858]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
je 0x1400037a5
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x14000379a
cmp eax, 2
jne 0x1400037a5
movups xmm0, xmmword [0x140044e48]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x1400036f3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400036f3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400036d0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x14000371a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x1400037a5
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 0x1400037a5
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 0x1400037a5
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140003740
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.1400194a0
jmp 0x1400037a5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x14004a898]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
je 0x14000392f
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x140003924
cmp eax, 2
jne 0x14000392f
movups xmm0, xmmword [0x140044ea8]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x1400038a3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400038a3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003880
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x1400038c7
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x14000392f
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 0x14000392f
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 0x14000392f
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x1400038e4
jmp 0x14000392f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x14004a8f8]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
je 0x140003abf
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x140003ab4
cmp eax, 2
jne 0x140003abf
movups xmm0, xmmword [0x140044e58]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x140003a33
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003a33
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003a10
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140003a57
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x140003abf
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 0x140003abf
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 0x140003abf
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140003a74
jmp 0x140003abf
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x14004a868]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
je 0x140003c75
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x140003c6a
cmp eax, 2
jne 0x140003c75
movups xmm0, xmmword [0x140044e68]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x140003bc3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003bc3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003ba0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140003bea
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x140003c75
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 0x140003c75
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 0x140003c75
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140003c10
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.1400194a0
jmp 0x140003c75
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x14004a828]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.140002570
test eax, eax
je 0x140003e25
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001bd50
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140025408
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 0x140003e1a
cmp eax, 2
jne 0x140003e25
movups xmm0, xmmword [0x140044e88]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001bd50
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 0x140003d74
movzx eax, word [r9 + r8]
test ax, ax
je 0x140003d74
mov word [r8], ax
add r8, 2
sub rsi, 1
jne 0x140003d50
test rsi, rsi
lea rax, [r8 - 2]
cmovne rax, r8
mov word [rax], r14w
jne 0x140003d9b
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.1400194a0
jmp 0x140003e25
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 0x140003e25
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 0x140003e25
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.1400194a0
inc ebx
cmp ebx, 0xa
jl 0x140003dc0
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.1400194a0
jmp 0x140003e25
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 0x140003e6f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400198d0
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