Function at 0x14000dfc0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov r13, rdx
and dword [rbp + 0x77], 0
xor r8d, r8d
lea rdx, str.WaitForDebugger
lea rcx, [rbp + 0x77]
call fcn.14004fbc4
test eax, eax
je 0x14000e022
jmp 0x14000e011
mov ecx, 0x64
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x14000e000
int3
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
nop dword [rax + rax]
mov ebx, eax
mov dword [rbp + 0x7f], eax
test eax, eax
jns 0x14000e048
mov r9d, eax
mov edx, 0x5b
jmp 0x14000e221
and dword [rbp + 0x77], 0
lea r8, str.SafeMode
lea rdx, str.BootId
lea rcx, [rbp + 0x77]
call fcn.14004fbc4
xor r15d, r15d
lea r8d, [r15 + 2]
cmp eax, dword [0x7ffe02c4]
cmove r15d, r8d
xor esi, esi
lea edi, [rsi + 1]
mov r12b, dil
mov r14d, edi
cmp dword [rbp + 0x67], edi
jle 0x14000e34f
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 0x14000e1cd
lea rdx, [rcx + 2]
lea rcx, str.safemode
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000e179
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]
nop dword [rax + rax]
test eax, eax
je 0x14000e121
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]
nop dword [rax + rax]
test eax, eax
jne 0x14000e108
mov r15d, edi
jmp 0x14000e10b
mov rsi, qword [rbx]
add r14d, edi
add rbx, 8
cmp r14d, dword [rbp + 0x67]
jge 0x14000e1d0
jmp 0x14000e090
mov r12b, r13b
mov dword [rbp + 0x77], r13d
lea r8, str.SafeMode
lea rdx, str.BootId
lea rcx, [rbp + 0x77]
call fcn.14004fbc4
cmp eax, dword [0x7ffe02c4]
je 0x14000e151
lea rcx, str.Spectrum_safe_mode_is_already_disabled_n
jmp 0x14000e169
mov dword [rbp + 0x77], r13d
lea rdx, [rbp + 0x77]
call fcn.14004fcb0
test al, al
je 0x14000e170
lea rcx, str.Spectrum_safe_mode_disabled_n
call fcn.14007f71c
jmp 0x14000e1d0
lea rcx, str.Failed_to_set_Spectrum_safe_mode_n
jmp 0x14000e169
mov r12b, r13b
mov dword [rbp + 0x77], r13d
mov ebx, dword [0x7ffe02c4]
lea r8, str.SafeMode
lea rdx, str.BootId
lea rcx, [rbp + 0x77]
call fcn.14004fbc4
cmp eax, ebx
jne 0x14000e1ab
lea rcx, str.Spectrum_safe_mode_is_already_enabled_n
jmp 0x14000e169
mov dword [rbp + 0x77], ebx
lea rdx, [rbp + 0x77]
call fcn.14004fcb0
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 0x14000e169
mov rsi, rcx
test rsi, rsi
je 0x14000e236
mov rdx, rsi
lea rcx, str.Unrecognized_parameter:__ls_n
call fcn.14007f71c
lea rcx, str.Parameters:_n
call fcn.14007f71c
lea rcx, str.__debug_____________to_run_the_service_executable_in_debug_mode_n
call fcn.14007f71c
lea rcx, str.__safemode__________to_set_up_the_service_to_run_in_safe_mode_n
call fcn.14007f71c
lea rcx, str.__safemode:off______to_disable_safe_mode_if_enabled_n
call fcn.14007f71c
mov ebx, 0x80070057
mov r9d, ebx
mov edx, 0x9e
lea r8, str.analoginput_spectrum_serviceexelaunch.cpp
mov rcx, qword [rbp + 0x5f]
call fcn.140005fe4
jmp 0x14000e325
test r12b, r12b
je 0x14000e305
mov r8d, 2
mov eax, dword [0x1400b1d90]
cmp eax, r8d
je 0x14000e288
test eax, eax
jne 0x14000e285
cmp byte [0x1400b1b88], r13b
jne 0x14000e27c
xor r8d, r8d
lea rdx, [0x1400b0e8c]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlGetDeviceFamilyInfoEnum]
nop dword [rax + rax]
mov byte [0x1400b1b88], dil
cmp dword [0x1400b0e8c], 0xa
je 0x14000e288
mov dil, r13b
call fcn.14000bfd4
mov bl, al
call fcn.140066258
test eax, eax
setne sil
lea rax, [0x140010bb0]
mov rcx, qword [0x1400b1950]
test rcx, rcx
je 0x14000e2b6
cmp rcx, rax
jne 0x14000e357
mov qword [0x1400b1950], rax
call fcn.14000dc34
call fcn.1400100ec
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000e2ed
cmp dword [rdx], r13d
jbe 0x14000e2ed
call fcn.1400100ec
mov byte [rsp + 0x20], sil
mov r9b, bl
mov r8b, dil
mov edx, r15d
call fcn.14000f7b8
mov byte [0x1400b0e90], r13b
mov ecx, r15d
call fcn.140011610
test eax, eax
jne 0x14000e305
call fcn.14000de38
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
mov ebx, r13d
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r13d, r13d
jmp 0x14000e245
xor edx, edx
mov r8d, 0x98
lea rcx, [rbp - 0x79]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rbp - 0x79]
call fcn.140005e04
int3