Function at 0x1400154b0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x5d0]
sub rsp, 0x6d0
mov rax, qword [0x140040468]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
lea rcx, str.Enter_function_BOOL_CheckAndRecoverDevice___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x6c]
xor ebx, ebx
xor edx, edx
mov r8d, 0x20c
mov dword [rbp - 0x70], ebx
call fcn.14001cc90
lea rcx, [rbp + 0x1f8]
xor edx, edx
movaps xmm0, xmmword [str.SOFTWAREAtherosVistaAddOnSupportedDevice]
movaps xmm1, xmmword [0x14002ff80]
mov r8d, 0x1b0
movaps xmmword [rbp + 0x1a0], xmm0
movaps xmm0, xmmword [0x14002ff90]
movaps xmmword [rbp + 0x1b0], xmm1
movaps xmm1, xmmword [0x14002ffa0]
movaps xmmword [rbp + 0x1c0], xmm0
movaps xmm0, xmmword [0x14002ffb0]
movaps xmmword [rbp + 0x1d0], xmm1
movaps xmmword [rbp + 0x1e0], xmm0
movsd xmm1, qword [0x14002ffc0]
movsd qword [rbp + 0x1f0], xmm1
call fcn.14001cc90
lea rcx, [rbp + 0x3b2]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], 8
mov word [rbp + 0x3b0], bx
call fcn.14001cc90
lea rax, [rsp + 0x68]
lea r9d, [rbx + 1]
lea rdx, [rbp + 0x1a0]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400155cf
lea rcx, str.CheckAndRecoverDevice__open_registry_SupportedDevice_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x14001586e
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140015632
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.CheckAndRecoverDevice__Get_sub_key_Count_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x14001586e
mov qword [rsp + 0x6e8], rdi
mov edi, ebx
cmp dword [rsp + 0x60], ebx
jbe 0x140015771
mov qword [rsp + 0x6e0], rsi
lea rsi, str.status
nop word [rax + rax]
lea rcx, [rbp + 0x3b0]
xor edx, edx
mov r8d, 0x208
call fcn.14001cc90
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x74]
lea r8, [rbp + 0x3b0]
mov qword [rsp + 0x28], rax
mov edx, edi
mov dword [rsp + 0x64], 0x104
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140015748
lea rax, [rbp + 0x3b0]
mov r9d, 1
xor r8d, r8d
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x78]
xor edx, edx
xor ecx, ecx
mov dword [0x14004374c], ebx
mov dword [0x140043748], ebx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x80], rsi
call fcn.1400071d0
cmp dword [0x140043748], ebx
jne 0x140015702
mov eax, ebx
jmp 0x140015735
cmp dword [0x14004374c], ebx
lea rdx, [rbp + 0x3b0]
jne 0x140015724
lea rcx, str.The_specific_driver_works_fine__Hardware_ID_is__s_n
call fcn.14000e580
mov eax, 1
jmp 0x140015735
lea rcx, str.The_specific_driver_is_not_configured__Hardware_ID_is__s_n
call fcn.14000e580
mov eax, 2
mov dword [0x14004374c], ebx
mov dword [0x140043748], ebx
mov dword [rbp - 0x70], eax
test eax, eax
jne 0x140015756
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x140015660
jmp 0x140015769
lea rdx, [rbp + 0x3b0]
lea rcx, str.CheckAndRecoverDevice_Find_Dongle_is__s._n
call fcn.14000e580
mov rsi, qword [rsp + 0x6e0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 0x70], 2
mov rdi, qword [rsp + 0x6e8]
jne 0x14001579c
lea rcx, str.Status.configStatus__DeviceNotConfigurate_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 1
lea rcx, [rbp - 0x70]
call fcn.140014f40
call fcn.1400099f0
cmp eax, 0x1e
jne 0x14001586c
cmp dword [rbp - 0x70], 1
jne 0x14001586c
lea rcx, str.BTHENUM61118058_486c_4bb0_b4b8_ace4dcadec44_LOCALMFG0000
call fcn.140015400
cmp eax, 2
je 0x1400157f0
lea rcx, str.BTHENUMdd533152_01f4_435c_abfe_984bc21a2a65_LOCALMFG0000
call fcn.140015400
cmp eax, 2
je 0x1400157f0
lea rcx, str.BTHENUMcbecab40_a2c8_4ab3_adc1_de0fe95d8600_LOCALMFG0000
call fcn.140015400
cmp eax, 2
jne 0x14001586c
lea rcx, str.The_Audio__LwFilter__VirtualBluetoothSupport_dirver_YB__do_disable_enable_driver_to_recover_it_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.Enter_Function_DisableRadioHandler__disable___d_n
mov edx, 1
call fcn.14000e580
call fcn.1400099f0
cmp eax, 0x1e
jne 0x14001582f
lea rcx, str.DisableRadioHandler__dont_send_check_msg__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140043324], 1
mov ecx, dword [0x140043300]
xor r9d, r9d
mov edx, 0x5e5d
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
lea rcx, str.Enter_Function_DisableRadioHandler__disable___d_n
xor edx, edx
call fcn.14000e580
mov ecx, dword [0x140043300]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5e5d
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, ebx
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.140019650
mov rbx, qword [rsp + 0x6f0]
add rsp, 0x6d0
pop rbp
ret