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

Disassembly:
push rbp
push r12
push r13
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x14002ef90]
mov r12d, ecx
lea rcx, [rbp + 0x218]
xor edx, edx
mov r8d, 0x1d0
movaps xmmword [rbp + 0x1e0], xmm0
movaps xmmword [rbp + 0x1f0], xmm1
movups xmm0, xmmword [0x14002efa0]
movsd xmm1, qword [0x14002efb0]
movaps xmmword [rbp + 0x200], xmm0
movsd qword [rbp + 0x210], xmm1
call fcn.14001be30
lea rcx, str.Enter_DisableDriver_BOOL_disable__n_n
xor r13d, r13d
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x4c], 4
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r11, [rsp + 0x38]
lea rdx, [rbp + 0x1e0]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ee0e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x4c]
lea rdx, str.SwitchRadio
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ee03
test r12d, r12d
je 0x14000ee03
cmp dword [rsp + 0x44], r13d
jbe 0x14000ee03
cmp dword [0x140041750], r13d
jne 0x14000ee03
call fcn.14000e1e0
mov r11d, dword [0x140041740]
cmp r11d, 1
jne 0x14000ebe7
cmp dword [0x140041328], r13d
mov dword [0x140041708], r13d
je 0x14000eac5
lea rcx, str.radio_off_operator_on_progress__abort____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
jmp 0x14000f490
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x140041328], 1
mov qword [0x140041538], rax
call fcn.14000e750
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.140018060
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 5
call fcn.140018060
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 7
call fcn.140018060
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], r13b
call fcn.140018060
lea rcx, str.trun_radio_off_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140041538]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000eba5
lea rcx, str.WaitForSingleObject_g_hRadioLockEvent__5000__is_timeout____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140041328], r13d
jmp 0x14000ebbe
call fcn.140017e20
test eax, eax
je 0x14000ebbe
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000e260
mov rcx, qword [0x140041538]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
mov qword [0x140041538], r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14000f490
cmp r11d, 2
jne 0x14000ed82
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 [0x140041708], 1
jne 0x14000ed35
lea rcx, str.Enter_g_RadioStatus__RadioStatus_OFF_and_do_RF_kill.__r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x140041328], r13d
jne 0x14000eaae
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 [0x140041328], 1
mov qword [0x140041538], rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 3
call fcn.140018060
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 5
call fcn.140018060
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 7
call fcn.140018060
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], r13b
call fcn.140018060
lea rcx, str.trun_radio_off_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140041538]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000ed21
lea rcx, str.WaitForSingleObject_g_hRadioLockEvent__5000__is_timeout____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140041328], r13d
mov rcx, qword [0x140041538]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140041538], r13
mov dword [0x140041708], r13d
call fcn.140017e20
test eax, eax
je 0x14000ed55
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000e260
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.140001640
cmp eax, 1
je 0x14000ed78
lea rcx, str.WM_TURN_RADIO_OFF
call fcn.140001740
mov eax, 1
jmp 0x14000f490
test r11d, r11d
jne 0x14000edea
mov edx, dword [0x140041708]
lea rcx, str.Enter_else_if_g_RadioStatus__RadioStatus_NULL___the_value_of_g_isRecoverfromS3S4_is__d_n
call fcn.14000dcd0
cmp dword [0x140041708], r13d
je 0x14000edd8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.14000e160
test eax, eax
je 0x14000edd3
mov rcx, qword [rsp + 0x38]
mov dword [0x140041708], r13d
mov dword [0x14004170c], r13d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000f490
call fcn.140001410
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000f490
mov rcx, qword [rsp + 0x38]
mov dword [0x140041708], r13d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000f490
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea rdx, [0x1400336b8]
mov qword [rsp + 0x530], rdi
lea ecx, [rax + 2]
mov dword [0x140041708], r13d
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call fcn.1400184c0
lea rcx, [0x1400336b8]
call fcn.14000dcd0
lea rcx, str.0P_bD
mov r9d, 0x10
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000eea2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Get_Dev_info_fails__errCode___d__n
lea ecx, [rdi + 2]
mov r8d, eax
call fcn.1400184c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Get_Dev_info_fails__errCode___d__n
mov edx, eax
call fcn.14000dcd0
xor eax, eax
jmp 0x14000f488
mov qword [rsp + 0x520], rbx
mov qword [rsp + 0x528], rsi
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x538], r14
mov dword [rsp + 0x50], 0x20
mov esi, r13d
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000f1f5
mov r14d, 0x190
nop word [rax + rax]
mov r8d, dword [rsp + 0x64]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x48], r13d
call qword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
je 0x14000ef38
lea rdx, str.Incorrect_instance__ignore_it__n
mov ecx, 1
call fcn.1400184c0
lea rcx, str.Incorrect_instance__ignore_it__n
call fcn.14000dcd0
jmp 0x14000f1db
test r12d, r12d
je 0x14000f1af
call fcn.140017e20
test eax, eax
je 0x14000ef6d
lea rcx, str.TASKKILL__F__T__IM_fsquirt.exe
call fcn.14001a458
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000e5a0
mov ecx, 0x12c
jmp 0x14000efa6
lea rcx, str.WM_COPY_REG
call fcn.140001740
call fcn.14000dd60
mov ebx, eax
call fcn.14000e750
mov ecx, 0x3e8
test ebx, ebx
cmovne ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000e5a0
mov ecx, 0x5dc
test ebx, ebx
cmovne ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Try_to_diable_adapter_device__n
mov ecx, 1
call fcn.1400184c0
lea rcx, str.Try_to_disable_adapter_device__n
call fcn.14000dcd0
xor ecx, ecx
call fcn.14000fc30
cmp dword [0x14004173c], 1
jne 0x14000f1db
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, 0x14
mov rcx, rdi
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x74], 0x12
mov dword [rsp + 0x78], 2
mov qword [rsp + 0x7c], 2
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x14000f036
lea r8, [rsp + 0x50]
mov rdx, rdi
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
jne 0x14000f14e
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.1400184c0
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.14000dcd0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, 0x14
mov rcx, rdi
mov dword [rsp + 0x78], 5
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x14000f3af
lea r8, [rsp + 0x50]
mov rdx, rdi
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
je 0x14000f3af
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, 0x14
mov rcx, rdi
mov dword [rsp + 0x78], 2
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x14000f3af
lea r8, [rsp + 0x50]
mov rdx, rdi
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
je 0x14000f3af
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, 0x14
mov rcx, rdi
mov dword [rsp + 0x78], 4
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x14000f3af
lea r8, [rsp + 0x50]
mov rdx, rdi
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
je 0x14000f3af
lea rdx, str.force_disable_radio_success_
mov ecx, 1
call fcn.1400184c0
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 - 0x70], 0x248
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstallParamsW]
test eax, eax
je 0x14000f371
test dword [rbp - 0x6c], 0x100
je 0x14000f1db
lea rdx, str.Unable_to_disable_adapter_now__restart_it__n
mov ecx, 1
call fcn.1400184c0
lea rcx, str.Unable_to_disable_adapter_now__restart_it__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140041744], 1
jmp 0x14000f1db
lea rdx, str.Try_to_enable_adapter__n
mov ecx, 1
call fcn.1400184c0
lea rcx, str.Try_to_enable_adapter__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov cl, 1
call fcn.14000fc30
mov dword [0x140041750], r13d
inc esi
lea r8, [rsp + 0x50]
mov rcx, rdi
mov edx, esi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14000eef0
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
lea rdx, str.DisableDriver___n
mov ecx, 2
call fcn.1400184c0
lea rcx, str.DisableDriver___n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test esi, esi
je 0x14000f3e6
test r12d, r12d
jne 0x14000f46b
cmp dword [rsp + 0x44], 2
jne 0x14000f46b
call fcn.14000e1e0
mov r11d, dword [0x140041740]
cmp r11d, 2
jne 0x14000f3ed
lea rcx, str.begin_trun_radio_on_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [0x14004132c]
lea r8, [0x140041330]
mov ecx, 0xfc72
call fcn.140018060
mov edx, dword [0x140041534]
lea r8, [0x140041540]
mov ecx, 0xfc72
call fcn.140018060
mov edx, dword [0x140041530]
lea r8, [0x140041430]
mov ecx, 0xfc72
call fcn.140018060
lea r8, [rsp + 0x30]
lea edx, [r12 + 1]
mov ecx, 0xfc72
mov byte [rsp + 0x30], 1
call fcn.140018060
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 + 0x1e0]
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 0x14000f348
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9d, [r12 + 4]
lea rdx, str.SwitchRadio
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 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.14000df10
call fcn.140001640
cmp eax, 1
je 0x14000f46b
lea rcx, str.WM_TURN_RADIO_ON
call fcn.140001740
jmp 0x14000f46b
mov rcx, rdi
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.1400184c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Fail_to_get_param__errCode___d__n
mov edx, eax
call fcn.14000dcd0
xor eax, eax
jmp 0x14000f470
mov rcx, rdi
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.1400184c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Fail_to_disable_radio__errCode___d__n
mov edx, eax
call fcn.14000dcd0
xor eax, eax
jmp 0x14000f470
cmp r11d, 1
jne 0x14000f3e6
lea rax, [rsp + 0x38]
lea rdx, [rbp + 0x1e0]
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 0x14000f46b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea rdx, str.SwitchRadio
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 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 rbx, qword [rsp + 0x520]
mov rsi, qword [rsp + 0x528]
mov r14, qword [rsp + 0x538]
mov rdi, qword [rsp + 0x530]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400187e0
add rsp, 0x500
pop r13
pop r12
pop rbp
ret