Function at 0x140008ce0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x140008ce0
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400623f0]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov rdi, rcx
lea rax, str.CRadioManagerControl::ChangeLEDState
mov qword [rsp + 0x78], rax
lea r15, str.__CRadioManagerControl::ChangeLEDState_
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 3
lea r9, [0x14004b650]
mov r8d, 0x193
lea rdx, str.RadioManager.cpp
lea rcx, [rbp - 0x80]
call fcn.1400010c8
mov r8, qword [rsp + 0x78]
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x80]
call fcn.1400016e5
nop
xor r13d, r13d
mov esi, r13d
lea rax, vtable.SHCI.0
mov qword [rsp + 0x68], rax
or r14, 0xffffffffffffffff
mov qword [rsp + 0x70], r14
lea rdx, str..TVALZ
lea rcx, [rsp + 0x70]
call fcn.1400010a0
nop
lea rax, vtable.RegConfigAccess.0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r13
call fcn.140001370
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x140008dd3
mov ecx, 0x80004005
call fcn.140001064
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov dword [rsp + 0x38], 0xff00
mov eax, dword [rdi]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x44], 0xfffe
mov rax, qword [rdi + 8]
mov qword [rdi + 0x20], rax
mov r12d, 1
cmp rax, qword [rdi + 0x10]
je 0x140008f39
nop dword [rax]
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x38]
sub rbx, qword [rcx + 0x30]
sar rbx, 3
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 3
lea r9, [0x14004b650]
mov r8d, 0x1a9
lea rdx, str.RadioManager.cpp
lea rcx, [rbp - 0x50]
call fcn.1400010c8
mov rcx, rax
mov r8, rbx
lea rdx, str.m_RadioInstanceList.count___d
call fcn.1400016e5
mov rax, qword [rdi + 0x20]
mov rbx, qword [rax]
mov rbx, qword [rbx + 0x30]
mov rax, qword [rax]
cmp rbx, qword [rax + 0x38]
je 0x140008f16
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x30]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 2
lea r9, [0x14004b650]
mov r8d, 0x1b0
lea rdx, str.RadioManager.cpp
lea rcx, [rbp]
call fcn.1400010c8
mov rcx, rax
mov r8d, dword [rsp + 0x30]
lea rdx, str.RadioState___d
call fcn.1400016e5
cmp dword [rsp + 0x30], 0
cmove esi, r12d
add rbx, 8
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax]
cmp rbx, qword [rcx + 0x38]
jne 0x140008eb0
add qword [rdi + 0x20], 8
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x20], rax
jne 0x140008e40
test esi, esi
je 0x140008f39
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x34], r12d
jmp 0x140008f43
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x34], r13d
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140001343
lea rdx, str.SYSTEMCurrentControlSetServices_thotkeyParameters
lea rcx, [rsp + 0x50]
call fcn.1400016b8
mov r9d, 0xf003f
mov rbx, qword [rsp + 0x50]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.140001302
mov edi, eax
test eax, eax
jns 0x140008f9e
mov r8d, 0x1c9
lea rcx, [rbp + 0x50]
jmp 0x14000909d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
sete al
test al, al
je 0x140008ff7
lea rax, str.__RegConfigAccess::SetValue_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [0x14004b650]
mov r8d, 0x16b
lea rdx, str.d:_toshibasystemmodulescentennial_rmservice_rmservicedbglogRegConfig.h
lea rcx, [rbp - 0x28]
call fcn.1400010c8
mov rcx, rax
mov edi, 0x80070006
mov r8d, edi
lea rdx, str.Error_Code:_0x_x
call fcn.1400016e5
jmp 0x140009093
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.LEDSTATE
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov eax, r13d
test edi, edi
sete al
test eax, eax
jne 0x1400090ce
test edi, edi
jg 0x140009039
mov esi, edi
jmp 0x140009042
movzx esi, di
or esi, 0x80070000
lea rax, str.__RegConfigAccess::SetValue_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [0x14004b650]
mov r8d, 0x16f
lea rdx, str.d:_toshibasystemmodulescentennial_rmservice_rmservicedbglogRegConfig.h
lea rcx, [rbp + 0x28]
call fcn.1400010c8
mov rcx, rax
mov r8d, esi
lea rdx, str.Error_Code:_0x_x
call fcn.1400016e5
test edi, edi
jle 0x140009091
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x1400090ce
mov r8d, 0x1ca
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x28], r15
lea rdx, str.RadioManager.cpp
lea r9, [0x14004b650]
mov dword [rsp + 0x20], r13d
call fcn.1400010c8
mov rcx, rax
mov r8d, edi
lea rdx, str.Error_Code:_0x_x
call fcn.1400016e5
jmp 0x1400090d1
mov edi, r13d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400090e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rax, vtable.RegConfigAccess.0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
call fcn.14000121c
nop
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14000910f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rsp + 0x78]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x80]
call fcn.1400016e5
mov eax, edi
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.140011a80
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret