Function at 0x14000b604
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13, rdx
mov r12d, ecx
and dword [rbp + 0x77], 0
xor r8d, r8d
lea rdx, str.WaitForDebugger
lea rcx, [rbp + 0x77]
call fcn.14006b8e8
test eax, eax
je 0x14000b662
jmp 0x14000b657
mov ecx, 0x64
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
je 0x14000b64c
int3
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov ebx, eax
mov dword [rbp + 0x7f], eax
test eax, eax
jns 0x14000b682
mov r9d, eax
mov edx, 0x5c
jmp 0x14000b838
and dword [rbp + 0x77], 0
lea r8, str.SafeMode
lea rdx, str.BootId
lea rcx, [rbp + 0x77]
call fcn.14006b8e8
xor r14d, r14d
lea ecx, [r14 + 2]
cmp eax, dword [0x7ffe02c4]
cmove r14d, ecx
xor esi, esi
lea edi, [rcx - 1]
mov r15d, edi
cmp r12d, edi
jle 0x14000b858
lea rbx, [r13 + 8]
xor r13d, r13d
mov rcx, qword [rbx]
movzx eax, word [rcx]
sub ax, 0x2d
mov edx, 0xfffd
test dx, ax
jne 0x14000b7e4
lea rdx, [rcx + 2]
lea rcx, str.safemode
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000b790
mov rdx, qword [rbx]
add rdx, 2
lea rcx, str.safemode:off
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000b741
mov rdx, qword [rbx]
add rdx, 2
lea rcx, str.debug
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
jne 0x14000b72d
mov r14d, edi
jmp 0x14000b730
mov rsi, qword [rbx]
add r15d, edi
add rbx, 8
cmp r15d, r12d
jl 0x14000b6c7
jmp 0x14000b7e7
mov dil, r13b
mov dword [rbp + 0x77], r13d
lea r8, str.SafeMode
lea rdx, str.BootId
lea rcx, [rbp + 0x77]
call fcn.14006b8e8
cmp eax, dword [0x7ffe02c4]
je 0x14000b771
lea rcx, str.Spectrum_safe_mode_is_already_disabled_n
jmp 0x14000b789
mov dword [rbp + 0x77], r13d
lea rdx, [rbp + 0x77]
call fcn.14006b9c8
test al, al
je 0x14000b7db
lea rcx, str.Spectrum_safe_mode_disabled_n
call fcn.1400a14f0
jmp 0x14000b7e7
mov dil, r13b
mov dword [rbp + 0x77], r13d
mov ebx, dword [0x7ffe02c4]
lea r8, str.SafeMode
lea rdx, str.BootId
lea rcx, [rbp + 0x77]
call fcn.14006b8e8
cmp eax, ebx
jne 0x14000b7c2
lea rcx, str.Spectrum_safe_mode_is_already_enabled_n
jmp 0x14000b789
mov dword [rbp + 0x77], ebx
lea rdx, [rbp + 0x77]
call fcn.14006b9c8
test al, al
je 0x14000b7db
lea rcx, str.Spectrum_safe_mode_enabled_n
jmp 0x14000b789
lea rcx, str.Failed_to_set_Spectrum_safe_mode_n
jmp 0x14000b789
mov rsi, rcx
test rsi, rsi
je 0x14000b84d
mov rdx, rsi
lea rcx, str.Unrecognized_parameter:__ls_n
call fcn.1400a14f0
lea rcx, str.Parameters:_n
call fcn.1400a14f0
lea rcx, str.__debug_____________to_run_the_service_executable_in_debug_mode_n
call fcn.1400a14f0
lea rcx, str.__safemode__________to_set_up_the_service_to_run_in_safe_mode_n
call fcn.1400a14f0
lea rcx, str.__safemode:off______to_disable_safe_mode_if_enabled_n
call fcn.1400a14f0
mov ebx, 0x80070057
mov r9d, ebx
mov edx, 0x9f
lea r8, str.analoginput_spectrum_serviceexelaunch.cpp
mov rcx, qword [rbp + 0x5f]
call fcn.140003b74
jmp 0x14000b909
test dil, dil
je 0x14000b8f5
jmp 0x14000b85b
xor r13d, r13d
xor r8d, r8d
lea rdx, [0x1400e86c0]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlGetDeviceFamilyInfoEnum]
cmp dword [0x1400e86c0], 0xa
sete bl
call fcn.140009818
mov dil, al
call fcn.140082f64
test eax, eax
setne sil
lea rax, [0x14000f0f0]
mov rcx, qword [0x1400e82e8]
test rcx, rcx
je 0x14000b8a6
cmp rcx, rax
jne 0x14000b92c
mov qword [0x1400e82e8], rax
call fcn.14000b250
call fcn.14000df44
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000b8dd
cmp dword [rdx], r13d
jbe 0x14000b8dd
call fcn.14000df44
mov byte [rsp + 0x20], sil
mov r9b, dil
mov r8b, bl
mov edx, r14d
call fcn.14000d088
mov byte [0x1400e7900], r13b
mov ecx, r14d
call fcn.14000fa10
test eax, eax
jne 0x14000b8f5
call fcn.14000b48c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov ebx, r13d
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov r8d, 0x90
lea rcx, [rbp - 0x69]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rbp - 0x69]
call fcn.1400037bc
int3