Function at 0x1400071d8
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r15, rdx
mov r12d, ecx
and dword [rax + 0x18], 0
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionSpectrum
lea rdx, str.WaitForDebugger
lea rcx, [rax + 0x18]
call fcn.140067f94
test eax, eax
je 0x140007234
jmp 0x140007229
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 0x14000721e
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 [rsp + 0x88], eax
test eax, eax
jns 0x140007269
mov rcx, qword [rsp + 0x68]
mov r9d, eax
lea r8, str.analoginput_spectrum_serviceexelaunch.cpp
mov edx, 0x5e
call fcn.140003734
jmp 0x140007481
call fcn.140007094
neg al
sbb esi, esi
and esi, 2
xor edi, edi
mov bpl, 1
lea r14d, [rdi + 1]
cmp r12d, r14d
jle 0x1400073d1
lea rbx, [r15 + 8]
mov rcx, qword [rbx]
movzx eax, word [rcx]
sub ax, 0x2d
mov edx, 0xfffd
test dx, ax
jne 0x14000735e
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 0x14000732c
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 0x1400072fe
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 0x1400072ed
lea esi, [rax + 1]
jmp 0x1400072f0
mov rdi, qword [rbx]
inc r14d
add rbx, 8
cmp r14d, r12d
jl 0x14000728b
jmp 0x140007361
xor bpl, bpl
call fcn.140007094
test al, al
jne 0x140007313
lea rcx, str.Spectrum_safe_mode_is_already_disabled_n
jmp 0x140007325
xor ecx, ecx
call fcn.140007138
test al, al
je 0x140007355
lea rcx, str.Spectrum_safe_mode_disabled_n
call fcn.140099010
jmp 0x140007361
xor bpl, bpl
call fcn.140007094
test al, al
je 0x140007341
lea rcx, str.Spectrum_safe_mode_is_already_enabled_n
jmp 0x140007325
mov cl, 1
call fcn.140007138
test al, al
je 0x140007355
lea rcx, str.Spectrum_safe_mode_enabled_n
jmp 0x140007325
lea rcx, str.Failed_to_set_Spectrum_safe_mode_n
jmp 0x140007325
mov rdi, rcx
test rdi, rdi
je 0x1400073c8
mov rdx, rdi
lea rcx, str.Unrecognized_parameter:__ls_n
call fcn.140099010
lea rcx, str.Parameters:_n
call fcn.140099010
lea rcx, str.__debug_____________to_run_the_service_executable_in_debug_mode_n
call fcn.140099010
lea rcx, str.__safemode__________to_set_up_the_service_to_run_in_safe_mode_n
call fcn.140099010
lea rcx, str.__safemode:off______to_disable_safe_mode_if_enabled_n
call fcn.140099010
mov rcx, qword [rsp + 0x68]
mov ebx, 0x80070057
mov r9d, ebx
lea r8, str.analoginput_spectrum_serviceexelaunch.cpp
mov edx, 0xa1
call fcn.1400036b8
jmp 0x140007481
test bpl, bpl
je 0x14000746e
xor r8d, r8d
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlGetDeviceFamilyInfoEnum]
cmp dword [rsp + 0x80], 0xa
sete bl
call fcn.140005804
mov dil, al
call fcn.14007c094
test eax, eax
setne bpl
lea rax, [0x140008ac0]
mov rcx, qword [0x1400e20e0]
test rcx, rcx
je 0x140007421
cmp rcx, rax
je 0x140007421
mov ecx, 7
int 0x29
mov qword [0x1400e20e0], rax
call fcn.140006d24
call fcn.140007fc8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140007457
cmp dword [rdx], 0
jbe 0x140007457
call fcn.140007fc8
mov byte [rsp + 0x20], bpl
mov r9b, dil
mov r8b, bl
mov edx, esi
call fcn.140007b7c
mov byte [0x1400e1690], 0
mov ecx, esi
call fcn.140009028
test eax, eax
jne 0x14000746e
call fcn.140006f24
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]
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret