Function at 0x1400075d8
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.140069a84
test eax, eax
je 0x140007634
jmp 0x140007629
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 0x14000761e
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 + 0x80], eax
test eax, eax
jns 0x140007658
mov r9d, eax
mov edx, 0x60
jmp 0x1400077aa
call fcn.140007498
neg al
sbb esi, esi
and esi, 2
xor edi, edi
mov bpl, 1
lea r14d, [rdi + 1]
cmp r12d, r14d
jle 0x1400077c9
lea rbx, [r15 + 8]
mov rcx, qword [rbx]
movzx eax, word [rcx]
sub ax, 0x2d
mov edx, 0xfffd
test dx, ax
jne 0x140007756
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 0x140007724
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 0x1400076ed
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 0x1400076dc
lea esi, [rax + 1]
jmp 0x1400076df
mov rdi, qword [rbx]
inc r14d
add rbx, 8
cmp r14d, r12d
jl 0x14000767a
jmp 0x140007759
xor bpl, bpl
call fcn.140007498
test al, al
jne 0x140007702
lea rcx, str.Spectrum_safe_mode_is_already_disabled_n
jmp 0x140007714
xor ecx, ecx
call fcn.14000753c
test al, al
je 0x14000771b
lea rcx, str.Spectrum_safe_mode_disabled_n
call fcn.14009bc50
jmp 0x140007759
lea rcx, str.Failed_to_set_Spectrum_safe_mode_n
jmp 0x140007714
xor bpl, bpl
call fcn.140007498
test al, al
je 0x140007739
lea rcx, str.Spectrum_safe_mode_is_already_enabled_n
jmp 0x140007714
mov cl, 1
call fcn.14000753c
lea rcx, str.Spectrum_safe_mode_enabled_n
lea rdx, str.Failed_to_set_Spectrum_safe_mode_n
test al, al
cmove rcx, rdx
jmp 0x140007714
mov rdi, rcx
test rdi, rdi
je 0x1400077c0
mov rdx, rdi
lea rcx, str.Unrecognized_parameter:__ls_n
call fcn.14009bc50
lea rcx, str.Parameters:_n
call fcn.14009bc50
lea rcx, str.__debug_____________to_run_the_service_executable_in_debug_mode_n
call fcn.14009bc50
lea rcx, str.__safemode__________to_set_up_the_service_to_run_in_safe_mode_n
call fcn.14009bc50
lea rcx, str.__safemode:off______to_disable_safe_mode_if_enabled_n
call fcn.14009bc50
mov ebx, 0x80070057
mov r9d, ebx
mov edx, 0xa3
lea r8, str.analoginput_spectrum_serviceexelaunch.cpp
mov rcx, qword [rsp + 0x68]
call fcn.140003748
jmp 0x140007877
test bpl, bpl
je 0x140007864
xor r8d, r8d
lea rdx, [0x1400e6308]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlGetDeviceFamilyInfoEnum]
cmp dword [0x1400e6308], 0xa
sete bl
call fcn.14000584c
mov dil, al
call fcn.14007f004
test eax, eax
setne bpl
lea rax, [0x140008d30]
mov rcx, qword [0x1400e6230]
test rcx, rcx
je 0x140007817
cmp rcx, rax
je 0x140007817
mov ecx, 7
int 0x29
mov qword [0x1400e6230], rax
call fcn.140007120
call fcn.140008200
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000784d
cmp dword [rdx], 0
jbe 0x14000784d
call fcn.140008200
mov byte [rsp + 0x20], bpl
mov r9b, dil
mov r8b, bl
mov edx, esi
call fcn.140007d80
mov byte [0x1400e5790], 0
mov ecx, esi
call fcn.140009258
test eax, eax
jne 0x140007864
call fcn.140007328
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