Function at 0x140002a70
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 [0x14004e010]
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.14001c4c0
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SoftwareAtherosVistaAddOn
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
mov edi, r14d
mov ebx, r14d
call fcn.1400223c4
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 0x140002bac
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 [0x14004fb78], edi
mov esi, pe_nt_image_headers64
mov dword [0x14004fb7c], ebx
test ebx, ebx
je 0x140002ec0
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
lea edx, [rsi + 4]
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x140002d4a
cmp eax, 2
jne 0x140002d55
movups xmm0, xmmword [0x140040988]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x140002ca3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140002ca3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140002c80
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140002cca
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x140002d55
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 0x140002d55
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 0x140002d55
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x140002cf0
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.14001a030
jmp 0x140002d55
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x140002eb5
cmp eax, 2
jne 0x140002ec0
movups xmm0, xmmword [0x140040998]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x140002e34
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140002e34
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140002e11
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140002e58
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x140002ec0
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 0x140002ec0
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 0x140002ec0
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x140002e75
jmp 0x140002ec0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140043c80]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test edi, edi
jne 0x1400033f4
test eax, eax
je 0x140003075
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x14000306a
cmp eax, 2
jne 0x140003075
movups xmm0, xmmword [0x140040948]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x140002fc3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140002fc3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140002fa0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140002fea
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x140003075
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 0x140003075
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 0x140003075
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x140003010
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.14001a030
jmp 0x140003075
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140043cc0]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
je 0x140003225
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x14000321a
cmp eax, 2
jne 0x140003225
movups xmm0, xmmword [0x140040968]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x140003173
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003173
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003150
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x14000319a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x140003225
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 0x140003225
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 0x140003225
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x1400031c0
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.14001a030
jmp 0x140003225
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140043c40]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
jne 0x140003277
movups xmm0, xmmword [0x140043ca0]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
jne 0x140003277
movups xmm0, xmmword [0x140043c70]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
je 0x14000363c
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x1400033e4
cmp eax, 2
jne 0x14000363c
movups xmm0, xmmword [0x140040908]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x140003356
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003356
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003333
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
je 0x1400035b4
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 0x14000363c
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 0x14000363c
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x140003390
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_set_BT_service_info__error___d_n
jmp 0x14000362f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000363c
test eax, eax
jne 0x140003463
movups xmm0, xmmword [0x140043cc0]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
jne 0x140003463
movups xmm0, xmmword [0x140043c40]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
jne 0x140003463
movups xmm0, xmmword [0x140043ca0]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
jne 0x140003463
movups xmm0, xmmword [0x140043c70]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
mov edi, r14d
test eax, eax
je 0x140003468
mov edi, 1
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x140003546
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, [0x14003e7a0]
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 0x140003546
mov eax, r14d
cmp dword [rsp + 0x70], eax
setne al
cmp eax, edi
je 0x14000363c
movups xmm0, xmmword [0x140040948]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x1400035a3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400035a3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003580
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x1400035c7
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x14000363c
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 0x14000363c
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 0x14000363c
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x1400035e4
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.14001a030
movups xmm0, xmmword [0x140043c50]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
je 0x1400037f5
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x1400037ea
cmp eax, 2
jne 0x1400037f5
movups xmm0, xmmword [0x140040918]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x140003743
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003743
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003720
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x14000376a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x1400037f5
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 0x1400037f5
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 0x1400037f5
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x140003790
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.14001a030
jmp 0x1400037f5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140043c90]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
je 0x14000397f
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x140003974
cmp eax, 2
jne 0x14000397f
movups xmm0, xmmword [0x140040978]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x1400038f3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400038f3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400038d0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140003917
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x14000397f
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 0x14000397f
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 0x14000397f
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x140003934
jmp 0x14000397f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140043cd0]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
je 0x140003b0f
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x140003b04
cmp eax, 2
jne 0x140003b0f
movups xmm0, xmmword [0x140040928]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x140003a83
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003a83
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003a60
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140003aa7
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x140003b0f
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 0x140003b0f
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 0x140003b0f
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x140003ac4
jmp 0x140003b0f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140043c60]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
je 0x140003cc5
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x140003cba
cmp eax, 2
jne 0x140003cc5
movups xmm0, xmmword [0x140040938]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x140003c13
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003c13
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003bf0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
jne 0x140003c3a
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x140003cc5
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 0x140003cc5
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 0x140003cc5
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x140003c60
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.14001a030
jmp 0x140003cc5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x140043c20]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1400025b0
test eax, eax
je 0x140003e75
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14001c4c0
lea r8, str.SystemCurrentControlSetServicesBTHPORTParametersLocalServices_s
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.1400223c4
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 0x140003e6a
cmp eax, 2
jne 0x140003e75
movups xmm0, xmmword [0x140040958]
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x40c
movaps xmmword [rsp + 0x50], xmm0
call fcn.14001c4c0
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 0x140003dc4
movzx eax, word [r9 + r8]
test ax, ax
je 0x140003dc4
mov word [r8], ax
add r8, 2
sub rsi, 1
jne 0x140003da0
test rsi, rsi
lea rax, [r8 - 2]
cmovne rax, r8
mov word [rax], r14w
jne 0x140003deb
lea rdx, str.Copying_svc_name_failed_n
mov ecx, 1
call fcn.14001a030
jmp 0x140003e75
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 0x140003e75
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 0x140003e75
mov r8d, eax
lea rdx, str.BluetoothSetLocalServiceInfo_failed__err___d_n
mov ecx, 2
call fcn.14001a030
inc ebx
cmp ebx, 0xa
jl 0x140003e10
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.14001a030
jmp 0x140003e75
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 0x140003ebf
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14001a550
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