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

Disassembly:
push rbp
push r12
push r14
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140040468]
xor rax, rsp
mov qword [rbp + 0x400], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x140030990]
mov r12d, ecx
lea rcx, [rbp + 0x228]
xor edx, edx
mov r8d, 0x1d0
movaps xmmword [rbp + 0x1f0], xmm0
movaps xmmword [rbp + 0x200], xmm1
movups xmm0, xmmword [0x1400309a0]
movsd xmm1, qword [0x1400309b0]
movaps xmmword [rbp + 0x210], xmm0
movsd qword [rbp + 0x220], xmm1
call fcn.14001cc90
lea rcx, str.Enter_DisableDriver_BOOL_disable__n_n
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x54], 4
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1400099f0
cmp eax, 0x1e
jne 0x14000f2d6
mov dword [0x140043708], r14d
test r12d, r12d
je 0x14000f29f
lea rcx, str.Try_to_disable_adapter_device_on_win10__n
call fcn.14000e580
xor ecx, ecx
call fcn.1400104f0
jmp 0x14000f2c0
lea rcx, str.Try_to_enable_adapter_device_on_win10__n
call fcn.14000e580
mov cl, 1
call fcn.1400104f0
mov dword [0x140043750], r14d
mov dword [0x140043324], r14d
lea rcx, str.Leave_DisableDriver_BOOL_disable__on_win10_n
call fcn.14000e580
mov eax, 1
jmp 0x14000fd6f
lea rax, [rsp + 0x38]
lea rdx, [rbp + 0x1f0]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f6e0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x54]
lea rdx, str.SwitchRadio
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000f6d5
test r12d, r12d
je 0x14000f6d5
cmp dword [rsp + 0x40], r14d
jbe 0x14000f6d5
cmp dword [0x140043750], r14d
jne 0x14000f6d5
call fcn.14000ea50
mov r11d, dword [0x140043740]
cmp r11d, 1
jne 0x14000f4b9
cmp dword [0x140043328], r14d
mov dword [0x140043708], r14d
je 0x14000f397
lea rcx, str.radio_off_operator_on_progress__abort____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
jmp 0x14000fd6f
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x140043328], 1
mov qword [0x140043538], rax
call fcn.14000efc0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.begin_trun_radio_off_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 3
call fcn.140018ed0
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 5
call fcn.140018ed0
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 7
call fcn.140018ed0
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], r14b
call fcn.140018ed0
lea rcx, str.trun_radio_off_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140043538]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000f477
lea rcx, str.WaitForSingleObject_g_hRadioLockEvent__5000__is_timeout____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140043328], r14d
jmp 0x14000f490
call fcn.140018c90
test eax, eax
je 0x14000f490
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000ead0
mov rcx, qword [0x140043538]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
mov qword [0x140043538], r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14000fd6f
cmp r11d, 2
jne 0x14000f654
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x48]
lea r9d, [r11 + 2]
lea rdx, str.SwitchRadio
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], r11d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x140043708], 1
jne 0x14000f607
lea rcx, str.Enter_g_RadioStatus__RadioStatus_OFF_and_do_RF_kill.__r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x140043328], r14d
jne 0x14000f380
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, str.begin_trun_radio_off_r_n
mov dword [0x140043328], 1
mov qword [0x140043538], rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rsp + 0x31]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x31], 3
call fcn.140018ed0
lea r8, [rsp + 0x31]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x31], 5
call fcn.140018ed0
lea r8, [rsp + 0x31]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x31], 7
call fcn.140018ed0
lea r8, [rsp + 0x31]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x31], r14b
call fcn.140018ed0
lea rcx, str.trun_radio_off_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140043538]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000f5f3
lea rcx, str.WaitForSingleObject_g_hRadioLockEvent__5000__is_timeout____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140043328], r14d
mov rcx, qword [0x140043538]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140043538], r14
mov dword [0x140043708], r14d
call fcn.140018c90
test eax, eax
je 0x14000f627
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000ead0
lea rcx, str.In_condition__g_RadioStatus__RadioStatus_OFF__radio_on_off_status_updated_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001d50
cmp eax, 1
je 0x14000f64a
lea rcx, str.WM_TURN_RADIO_OFF
call fcn.140001e50
mov eax, 1
jmp 0x14000fd6f
test r11d, r11d
jne 0x14000f6bc
mov edx, dword [0x140043708]
lea rcx, str.Enter_else_if_g_RadioStatus__RadioStatus_NULL___the_value_of_g_isRecoverfromS3S4_is__d_n
call fcn.14000e580
cmp dword [0x140043708], r14d
je 0x14000f6aa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.14000e9d0
test eax, eax
je 0x14000f6a5
mov rcx, qword [rsp + 0x38]
mov dword [0x140043708], r14d
mov dword [0x14004370c], r14d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000fd6f
call fcn.140001b00
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000fd6f
mov rcx, qword [rsp + 0x38]
mov dword [0x140043708], r14d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000fd6f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea rdx, [0x1400351c8]
mov qword [rsp + 0x548], rsi
lea ecx, [rax + 2]
mov dword [0x140043708], r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call fcn.140019330
lea rcx, [0x1400351c8]
call fcn.14000e580
lea rcx, str.0P_bD
mov r9d, 0x10
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000f774
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Get_Dev_info_fails__errCode___d__n
lea ecx, [rsi + 2]
mov r8d, eax
call fcn.140019330
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Get_Dev_info_fails__errCode___d__n
mov edx, eax
call fcn.14000e580
xor eax, eax
jmp 0x14000fd67
mov qword [rsp + 0x540], rbx
mov qword [rsp + 0x550], rdi
mov qword [rsp + 0x518], r13
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x510], r15
mov dword [rsp + 0x60], 0x20
mov r13d, r14d
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000facb
mov r15d, 0x190
nop dword [rax]
mov r8d, dword [rsp + 0x74]
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x44]
xor r9d, r9d
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x4c], r14d
call qword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
je 0x14000f808
lea rdx, str.Incorrect_instance__ignore_it__n
mov ecx, 1
call fcn.140019330
lea rcx, str.Incorrect_instance__ignore_it__n
call fcn.14000e580
jmp 0x14000faaf
test r12d, r12d
je 0x14000fa83
call fcn.140018c90
test eax, eax
je 0x14000f83d
lea rcx, str.TASKKILL__F__T__IM_fsquirt.exe
call fcn.14001b2c8
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000ee10
mov ecx, 0x12c
jmp 0x14000f885
lea rcx, str.WM_COPY_REG
call fcn.140001e50
call fcn.14000e610
mov edi, eax
call fcn.14000efc0
mov ebx, 0x258
test edi, edi
cmovne ebx, r15d
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000f0d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000ee10
mov ecx, 0x5dc
test edi, edi
cmovne ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Try_to_diable_adapter_device__n
mov ecx, 1
call fcn.140019330
lea rcx, str.Try_to_disable_adapter_device__n
call fcn.14000e580
xor ecx, ecx
call fcn.1400104f0
cmp dword [0x14004373c], 1
jne 0x14000faaf
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov r9d, 0x14
mov rcx, rsi
mov dword [rbp - 0x80], 8
mov dword [rbp - 0x7c], 0x12
mov dword [rbp - 0x78], 2
mov qword [rbp - 0x74], 2
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x14000f910
lea r8, [rsp + 0x60]
mov rdx, rsi
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
jne 0x14000fa22
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_disable_radio__errCode___d__n__try_force_disable
mov ecx, 1
mov r8d, eax
call fcn.140019330
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Fail_to_disable_radio__errCode___d___try_force_disable_n
mov edx, eax
call fcn.14000e580
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov r9d, 0x14
mov rcx, rsi
mov dword [rbp - 0x78], 5
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x14000fc86
lea r8, [rsp + 0x60]
mov rdx, rsi
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
je 0x14000fc86
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov r9d, 0x14
mov rcx, rsi
mov dword [rbp - 0x78], 2
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x14000fc86
lea r8, [rsp + 0x60]
mov rdx, rsi
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
je 0x14000fc86
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov r9d, 0x14
mov rcx, rsi
mov dword [rbp - 0x78], 4
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x14000fc86
lea r8, [rsp + 0x60]
mov rdx, rsi
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
je 0x14000fc86
lea rdx, str.force_disable_radio_success_
mov ecx, 1
call fcn.140019330
lea rcx, str.force_disable_radio_success__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.Try_to_diable_adapter_device__pdp.cbSize__sizeof_SP_DEVINSTALL_PARAMS____n_n
mov dword [rbp - 0x60], 0x248
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstallParamsW]
test eax, eax
je 0x14000fc48
test dword [rbp - 0x5c], 0x100
je 0x14000faaf
lea rdx, str.Unable_to_disable_adapter_now__restart_it__n
mov ecx, 1
call fcn.140019330
lea rcx, str.Unable_to_disable_adapter_now__restart_it__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140043744], 1
jmp 0x14000faaf
lea rdx, str.Try_to_enable_adapter__n
mov ecx, 1
call fcn.140019330
lea rcx, str.Try_to_enable_adapter__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov cl, 1
call fcn.1400104f0
mov dword [0x140043750], r14d
inc r13d
lea r8, [rsp + 0x60]
mov rcx, rsi
mov edx, r13d
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14000f7c0
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
lea rdx, str.DisableDriver___n
mov ecx, 2
call fcn.140019330
lea rcx, str.DisableDriver___n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test r13d, r13d
je 0x14000fcbd
test r12d, r12d
jne 0x14000fd42
cmp dword [rsp + 0x40], 2
jne 0x14000fd42
call fcn.14000ea50
mov r11d, dword [0x140043740]
cmp r11d, 2
jne 0x14000fcc4
lea rcx, str.begin_trun_radio_on_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [0x14004332c]
lea r8, [0x140043330]
mov ecx, 0xfc72
call fcn.140018ed0
mov edx, dword [0x140043534]
lea r8, [0x140043540]
mov ecx, 0xfc72
call fcn.140018ed0
mov edx, dword [0x140043530]
lea r8, [0x140043430]
mov ecx, 0xfc72
call fcn.140018ed0
lea r8, [rsp + 0x32]
lea edx, [r12 + 1]
mov ecx, 0xfc72
mov byte [rsp + 0x32], 1
call fcn.140018ed0
lea rcx, str.trun_radio_on_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [rsp + 0x38]
lea rdx, [rbp + 0x1f0]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000fc1f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x58]
lea r9d, [r12 + 4]
lea rdx, str.SwitchRadio
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.radio_on_off_status_updated_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 1
call fcn.14000e780
call fcn.140001d50
cmp eax, 1
je 0x14000fd42
lea rcx, str.WM_TURN_RADIO_ON
call fcn.140001e50
jmp 0x14000fd42
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_get_param__errCode___d__n
mov r8d, eax
mov ecx, 1
call fcn.140019330
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Fail_to_get_param__errCode___d__n
mov edx, eax
call fcn.14000e580
xor eax, eax
jmp 0x14000fd47
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Fail_to_disable_radio__errCode___d__n
mov r8d, eax
mov ecx, 1
call fcn.140019330
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Fail_to_disable_radio__errCode___d__n
mov edx, eax
call fcn.14000e580
xor eax, eax
jmp 0x14000fd47
cmp r11d, 1
jne 0x14000fcbd
lea rax, [rsp + 0x38]
lea rdx, [rbp + 0x1f0]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000fd42
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x50]
lea rdx, str.SwitchRadio
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.In_condition__g_RadioStatus__RadioStatus_ON__radio_on_off_status_updated_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
mov r13, qword [rsp + 0x518]
mov rdi, qword [rsp + 0x550]
mov rbx, qword [rsp + 0x540]
mov r15, qword [rsp + 0x510]
mov rsi, qword [rsp + 0x548]
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140019650
add rsp, 0x520
pop r14
pop r12
pop rbp
ret