Function at 0x1400c4320
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rdx
mov rcx, qword [rcx + 0x48]
test rcx, rcx
jne 0x1400c44ab
lea r15, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_servicestate.cpp
mov qword [rsp + 0x20], r15
lea r12, [0x1401028d0]
mov qword [rsp + 0x28], r12
mov r8d, 0x19d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::SourceLocation::constructor_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___const____ptr64__int____ptr64]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x60], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x10]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::constructor_class_kapps::core::SourceLocation__enum_kapps::core::LogMessage::Level__class_kapps::core::LogCategory_const____ptr64____ptr64]
mov rbx, rax
cmp byte [rax + 0x128], 0
je 0x1400c4422
mov rcx, rax
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rcx, [rbx + 0x40]
lea rdx, str.Cant_stop_service
call fcn.140008d80
cmp byte [rbx + 0x128], 0
je 0x1400c4422
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsi + 0x20]
lea rcx, [rbx + 0x30]
call fcn.1400a4650
cmp byte [rbx + 0x128], 0
je 0x1400c4422
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rcx, [rbx + 0x40]
lea rdx, str.__service_was_not_open
call fcn.140008d80
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r12
mov r8d, 0x19f
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::SourceLocation::constructor_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___const____ptr64__int____ptr64]
movups xmm1, xmmword [rax]
movups xmm2, xmmword [rax + 0x10]
mov rax, qword [sym.imp.pia_commonlib.dll_const_Error::vftable]
mov qword [rsp + 0x38], rax
mov rcx, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rsp + 0x78], rcx
xorps xmm0, xmm0
mov qword [rsp + 0x70], 0x578
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDateTime::constructor_void____ptr64]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140038740
jmp 0x1400c4605
lea r8, [rbp - 0x30]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400c45fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea r15, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_servicestate.cpp
mov qword [rsp + 0x20], r15
lea r12, [0x1401028d0]
mov qword [rsp + 0x28], r12
mov r8d, 0x1a6
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::SourceLocation::constructor_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___const____ptr64__int____ptr64]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x60], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x10]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::constructor_class_kapps::core::SourceLocation__enum_kapps::core::LogMessage::Level__class_kapps::core::LogCategory_const____ptr64____ptr64]
mov rbx, rax
cmp byte [rax + 0x128], 0
je 0x1400c45ad
mov rcx, rax
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rcx, [rbx + 0x40]
lea rdx, str.Cant_stop_service
call fcn.140008d80
movzx eax, byte [rbx + 0x128]
test al, al
je 0x1400c45ad
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsi + 0x20]
lea rcx, [rbx + 0x30]
call fcn.1400a4650
movzx eax, byte [rbx + 0x128]
test al, al
je 0x1400c45ad
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [0x1400eb5b0]
lea rcx, [rbx + 0x40]
call fcn.140008d80
cmp byte [rbx + 0x128], 0
je 0x1400c45ad
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x40]
call qword [sym.imp.kapps_core.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_kapps::core::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64__class_kapps::core::WinErrTracer_const____ptr64_]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r12
mov r8d, 0x1a8
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::SourceLocation::constructor_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___const____ptr64__int____ptr64]
movups xmm1, xmmword [rax]
movups xmm2, xmmword [rax + 0x10]
mov rax, qword [sym.imp.pia_commonlib.dll_const_Error::vftable]
mov qword [rsp + 0x38], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rsp + 0x78], rax
jmp 0x1400c446a
mov rdx, rdi
mov rcx, rsi
call fcn.1400c4290
mov rax, rdi
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1400cdb50
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret