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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
lea rcx, str.Enter_Function_QueryRadioStatus____n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edi, edi
mov byte [rsp + 0x40], 8
lea r8, [rsp + 0x40]
mov dword [0x140050278], edi
mov dword [0x1400504a0], edi
lea edx, [rdi + 1]
call fcn.140019300
lea rcx, str.The_nexe_step_is_check_the_status_of_g_bisReceiveEvent__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, edi
cmp dword [0x140050278], edi
jne 0x14000e1c0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x14000e1a6
lea rcx, str.Leave_Function_QueryRadioStatus____n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x1400504a0]
cmp eax, 1
jne 0x14000e2da
cmp dword [0x140050168], edi
mov dword [0x14005016c], edi
je case.default.0x14000e1fb
lea rcx, str.radio_off_operator_on_progress__abort____r_n
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
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 [0x140050168], 1
mov qword [0x140050388], rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rsp + 0x40]
mov byte [rsp + 0x40], 3
mov edx, 1
call fcn.140019300
lea r8, [rsp + 0x40]
mov byte [rsp + 0x40], 5
mov edx, 1
call fcn.140019300
lea r8, [rsp + 0x40]
mov byte [rsp + 0x40], 7
mov edx, 1
call fcn.140019300
lea r8, [rsp + 0x40]
mov byte [rsp + 0x40], dil
mov edx, 1
call fcn.140019300
lea rcx, str.trun_radio_off_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140050388]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000e2bb
lea rcx, str.WaitForSingleObject_g_hRadioLockEvent__5000__is_timeout____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140050168], edi
mov rcx, qword [0x140050388]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140050388], rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp eax, 2
jne case.default.0x14000e2f6
lea rcx, str.In_condition__g_RadioStatus__RadioStatus_OFF__radio_on_off_status_updated_r_n
mov dword [0x14005016c], edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
jne 0x14000e375
mov edx, dword [0x14005016c]
lea rcx, str.Enter_else_if_g_RadioStatus__RadioStatus_NULL___the_value_of_g_isRecoverfromS3S4_is__d_n
call fcn.14000db40
cmp dword [0x14005016c], edi
je 0x14000e37b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140050274]
lea rcx, str.The_wakeup_time_is__d_n
mov ebx, eax
call fcn.14000db40
mov edx, ebx
lea rcx, str.The_current_time_is__d_n
call fcn.14000db40
mov eax, dword [0x140050274]
mov ecx, ebx
sub ecx, eax
cmp ecx, 0x2710
jbe 0x14000e35e
lea rcx, str.In_Function_IsResetRadioS3S4TimeOut____dwCurrent___g_dwTimeS3S4___RESETRADIOS3S4TIMEOUT__n
jmp 0x14000e369
cmp ebx, eax
jae 0x14000e386
lea rcx, str.In_Function_IsResetRadioS3S4TimeOut___gettickcount_is_out_of_date__so_return_TRUE__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140050274], edi
mov dword [0x14005016c], edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140001c00
ret
invalid
sub byte cs:[rdx - 0x13], dh
mov es, word [rax - 0x40]
out dx, eax
invalid
sahf
mov edi, 0xac02cbc
invalid
hlt