Function at 0x14000ebe0
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 [0x140051288], edi
mov dword [0x1400514b0], edi
lea edx, [rdi + 1]
call fcn.140019d10
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 [0x140051288], edi
jne 0x14000ec40
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x14000ec26
lea rcx, str.Leave_Function_QueryRadioStatus____n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x1400514b0]
cmp eax, 1
jne 0x14000ed5a
cmp dword [0x140051178], edi
mov dword [0x14005117c], edi
je case.default.0x14000ec7b
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 [0x140051178], 1
mov qword [0x140051398], rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rsp + 0x40]
mov byte [rsp + 0x40], 3
mov edx, 1
call fcn.140019d10
lea r8, [rsp + 0x40]
mov byte [rsp + 0x40], 5
mov edx, 1
call fcn.140019d10
lea r8, [rsp + 0x40]
mov byte [rsp + 0x40], 7
mov edx, 1
call fcn.140019d10
lea r8, [rsp + 0x40]
mov byte [rsp + 0x40], dil
mov edx, 1
call fcn.140019d10
lea rcx, str.trun_radio_off_End_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x140051398]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000ed3b
lea rcx, str.WaitForSingleObject_g_hRadioLockEvent__5000__is_timeout____r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140051178], edi
mov rcx, qword [0x140051398]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140051398], rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp eax, 2
jne case.default.0x14000ed76
lea rcx, str.In_condition__g_RadioStatus__RadioStatus_OFF__radio_on_off_status_updated_r_n
mov dword [0x14005117c], edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
jne 0x14000edf5
mov edx, dword [0x14005117c]
lea rcx, str.Enter_else_if_g_RadioStatus__RadioStatus_NULL___the_value_of_g_isRecoverfromS3S4_is__d_n
call fcn.14000e530
cmp dword [0x14005117c], edi
je 0x14000edfb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140051284]
lea rcx, str.The_wakeup_time_is__d_n
mov ebx, eax
call fcn.14000e530
mov edx, ebx
lea rcx, str.The_current_time_is__d_n
call fcn.14000e530
mov eax, dword [0x140051284]
mov ecx, ebx
sub ecx, eax
cmp ecx, 0x2710
jbe 0x14000edde
lea rcx, str.In_Function_IsResetRadioS3S4TimeOut____dwCurrent___g_dwTimeS3S4___RESETRADIOS3S4TIMEOUT__n
jmp 0x14000ede9
cmp ebx, eax
jae 0x14000ee06
lea rcx, str.In_Function_IsResetRadioS3S4TimeOut___gettickcount_is_out_of_date__so_return_TRUE__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x140051284], edi
mov dword [0x14005117c], edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140001cb0
sub byte [rbx - 0x1cac98a], ch
invalid
xor eax, 0xdcce42fe
mov eax, 0x3f769999
cli
movsd dword [rdi], dword [rsi]
invalid
mov cs, word [0xf5c14537]
invalid
cmpsb byte [rsi], byte [rdi]
fidiv dword [0x13dc80841]
xchg ebp, eax
wait
test eax, 0xf6dba7
fild qword [rdi + 0x63c33b62]
loopne 0x140080989
mov ebp, dword [rdx + 0x46]
ret 0x2cb1
push rsp
and esi, edx
and al, 0xa
xchg esi, eax
push 0xfffffffffffffffa
invalid
imul ebp, esi, 0xeab676fd
invalid