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

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r12
push rbp
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x140043468]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
movups xmm0, xmmword [str.SOFTWAREAtherosVistaAddOn]
movups xmm1, xmmword [0x140031e58]
mov esi, ecx
lea rcx, [rbp + 0x218]
xor edx, edx
mov r8d, 0x1d0
movaps xmmword [rbp + 0x1e0], xmm0
movaps xmmword [rbp + 0x1f0], xmm1
movups xmm0, xmmword [0x140031e68]
movsd xmm1, qword [0x140031e78]
movaps xmmword [rbp + 0x200], xmm0
movsd qword [rbp + 0x210], xmm1
call fcn.14001dd20
lea rcx, str.Enter_DisableDriver_BOOL_disable__n_n
xor r12d, r12d
mov dword [rsp + 0x44], r12d
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 0x140010081
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 0x140010076
test esi, esi
je 0x140010076
cmp dword [rsp + 0x44], r12d
jbe 0x140010076
cmp dword [0x140046130], r12d
jne 0x140010076
call fcn.14000f450
mov r11d, dword [0x140046128]
cmp r11d, 1
jne 0x14000fe5a
cmp dword [0x140045d08], r12d
mov dword [0x1400460f8], r12d
je 0x14000fd38
lea rcx, str.radio_off_operator_on_progress__abort____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
jmp 0x1400106c8
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x140045d08], 1
mov qword [0x140045f18], rax
call fcn.14000f9c0
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.140019f40
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 5
call fcn.140019f40
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 7
call fcn.140019f40
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], r12b
call fcn.140019f40
lea rcx, str.trun_radio_off_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140045f18]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000fe18
lea rcx, str.WaitForSingleObject_g_hRadioLockEvent__5000__is_timeout____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140045d08], r12d
jmp 0x14000fe31
call fcn.140019de0
test eax, eax
je 0x14000fe31
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000f4d0
mov rcx, qword [0x140045f18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
mov qword [0x140045f18], r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1400106c8
cmp r11d, 2
jne 0x14000fff5
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 [0x1400460f8], 1
jne 0x14000ffa8
lea rcx, str.Enter_g_RadioStatus__RadioStatus_OFF_and_do_RF_kill.__r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x140045d08], r12d
jne 0x14000fd21
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 [0x140045d08], 1
mov qword [0x140045f18], 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.140019f40
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 5
call fcn.140019f40
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], 7
call fcn.140019f40
lea r8, [rsp + 0x30]
mov ecx, 0xfc72
mov edx, 1
mov byte [rsp + 0x30], r12b
call fcn.140019f40
lea rcx, str.trun_radio_off_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140045f18]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000ff94
lea rcx, str.WaitForSingleObject_g_hRadioLockEvent__5000__is_timeout____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140045d08], r12d
mov rcx, qword [0x140045f18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140045f18], r12
mov dword [0x1400460f8], r12d
call fcn.140019de0
test eax, eax
je 0x14000ffc8
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000f4d0
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.140002c70
cmp eax, 1
je 0x14000ffeb
lea rcx, str.WM_TURN_RADIO_OFF
call fcn.140002d70
mov eax, 1
jmp 0x1400106c8
test r11d, r11d
jne 0x14001005d
mov edx, dword [0x1400460f8]
lea rcx, str.Enter_else_if_g_RadioStatus__RadioStatus_NULL___the_value_of_g_isRecoverfromS3S4_is__d_n
call fcn.14000f070
cmp dword [0x1400460f8], r12d
je 0x14001004b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.14000f3d0
test eax, eax
je 0x140010046
mov rcx, qword [rsp + 0x38]
mov dword [0x1400460f8], r12d
mov dword [0x1400460fc], r12d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1400106c8
call fcn.140002a40
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1400106c8
mov rcx, qword [rsp + 0x38]
mov dword [0x1400460f8], r12d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1400106c8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea rdx, [0x1400373e8]
mov qword [rsp + 0x510], rbx
lea ecx, [rax + 2]
mov dword [0x1400460f8], r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call fcn.14001a330
lea rcx, [0x1400373e8]
call fcn.14000f070
lea rcx, str.0P_bD
mov r9d, 0x10
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140010115
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Get_Dev_info_fails__errCode___d__n
lea ecx, [rbx + 2]
mov r8d, eax
call fcn.14001a330
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Get_Dev_info_fails__errCode___d__n
mov edx, eax
call fcn.14000f070
xor eax, eax
jmp 0x1400106c0
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x518], rdi
mov dword [rsp + 0x50], 0x20
mov edi, r12d
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x140010441
mov r8d, dword [rsp + 0x64]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x48], r12d
call qword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
je 0x140010188
lea rdx, str.Incorrect_instance__ignore_it__n
mov ecx, 1
call fcn.14001a330
lea rcx, str.Incorrect_instance__ignore_it__n
call fcn.14000f070
jmp 0x140010427
test esi, esi
je 0x1400103fb
call fcn.140019de0
test eax, eax
je 0x1400101bc
lea rcx, str.TASKKILL__F__T__IM_fsquirt.exe
call fcn.14001c2c8
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000f810
mov ecx, 0x12c
jmp 0x1400101f2
lea rcx, str.WM_COPY_REG
call fcn.140002d70
call fcn.14000f9c0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000f810
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000fad0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Try_to_diable_adapter_device__n
mov ecx, 1
call fcn.14001a330
lea rcx, str.Try_to_disable_adapter_device__n
call fcn.14000f070
xor ecx, ecx
call fcn.140010e30
cmp dword [0x140046124], 1
jne 0x140010427
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, 0x14
mov rcx, rbx
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 0x140010282
lea r8, [rsp + 0x50]
mov rdx, rbx
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
jne 0x14001039a
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.14001a330
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.14000f070
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, 0x14
mov rcx, rbx
mov dword [rsp + 0x78], 5
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x1400105f7
lea r8, [rsp + 0x50]
mov rdx, rbx
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
je 0x1400105f7
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, 0x14
mov rcx, rbx
mov dword [rsp + 0x78], 2
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x1400105f7
lea r8, [rsp + 0x50]
mov rdx, rbx
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
je 0x1400105f7
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov r9d, 0x14
mov rcx, rbx
mov dword [rsp + 0x78], 4
call qword [sym.imp.SETUPAPI.dll_SetupDiSetClassInstallParamsW]
test eax, eax
je 0x1400105f7
lea r8, [rsp + 0x50]
mov rdx, rbx
mov ecx, 0x12
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
test eax, eax
je 0x1400105f7
lea rdx, str.force_disable_radio_success_
mov ecx, 1
call fcn.14001a330
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, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstallParamsW]
test eax, eax
je 0x1400105b9
test dword [rbp - 0x6c], 0x100
je 0x140010427
lea rdx, str.Unable_to_disable_adapter_now__restart_it__n
mov ecx, 1
call fcn.14001a330
lea rcx, str.Unable_to_disable_adapter_now__restart_it__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x14004612c], 1
jmp 0x140010427
lea rdx, str.Try_to_enable_adapter__n
mov ecx, 1
call fcn.14001a330
lea rcx, str.Try_to_enable_adapter__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov cl, 1
call fcn.140010e30
mov dword [0x140046130], r12d
inc edi
lea r8, [rsp + 0x50]
mov rcx, rbx
mov edx, edi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x140010140
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
lea rdx, str.DisableDriver___n
mov ecx, 2
call fcn.14001a330
lea rcx, str.DisableDriver___n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x14001062e
test esi, esi
jne 0x1400106b3
cmp dword [rsp + 0x44], 2
jne 0x1400106b3
call fcn.14000f450
mov r11d, dword [0x140046128]
cmp r11d, 2
jne 0x140010635
lea rcx, str.begin_trun_radio_on_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [0x140045d0c]
lea r8, [0x140045d10]
mov ecx, 0xfc72
call fcn.140019f40
mov edx, dword [0x140045f14]
lea r8, [0x140045f20]
mov ecx, 0xfc72
call fcn.140019f40
mov edx, dword [0x140045f10]
lea r8, [0x140045e10]
mov ecx, 0xfc72
call fcn.140019f40
lea r8, [rsp + 0x30]
lea edx, [rsi + 1]
mov ecx, 0xfc72
mov byte [rsp + 0x30], 1
call fcn.140019f40
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 0x140010590
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9d, [rsi + 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.14000f180
call fcn.140002c70
cmp eax, 1
je 0x1400106b3
lea rcx, str.WM_TURN_RADIO_ON
call fcn.140002d70
jmp 0x1400106b3
mov rcx, rbx
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.14001a330
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Fail_to_get_param__errCode___d__n
mov edx, eax
call fcn.14000f070
xor eax, eax
jmp 0x1400106b8
mov rcx, rbx
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.14001a330
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Fail_to_disable_radio__errCode___d__n
mov edx, eax
call fcn.14000f070
xor eax, eax
jmp 0x1400106b8
cmp r11d, 1
jne 0x14001062e
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 0x1400106b3
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 rdi, qword [rsp + 0x518]
mov rbx, qword [rsp + 0x510]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.14001a650
lea r11, [rsp + 0x500]
mov rsi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret