Function at 0x1400c3ed0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rdx
xor r13d, r13d
mov dword [rsp + 0x3c], r13d
mov rcx, qword [rcx + 0x48]
test rcx, rcx
jne 0x1400c405f
lea r15, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_servicestate.cpp
mov qword [rsp + 0x28], r15
lea r12, [0x1401028d0]
mov qword [rsp + 0x30], r12
mov r8d, 0x179
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x40]
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 - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x50], xmm1
xor r9d, r9d
lea r8d, [r13 + 2]
lea rdx, [rbp - 0x60]
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], r13b
je 0x1400c3fd8
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_start_service
call fcn.140008d80
cmp byte [rbx + 0x128], r13b
je 0x1400c3fd8
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x30]
call fcn.1400a4650
cmp byte [rbx + 0x128], r13b
je 0x1400c3fd8
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 + 0x28], r15
mov qword [rsp + 0x30], r12
mov r8d, 0x17b
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x40]
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 + 0x48], rax
mov rcx, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x80], 0x578
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm2
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDateTime::constructor_void____ptr64]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.140038740
jmp 0x1400c4259
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400c41ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r15, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_servicestate.cpp
mov qword [rsp + 0x28], r15
lea r12, [0x1401028d0]
mov qword [rsp + 0x30], r12
mov r8d, 0x181
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x40]
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 - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x50], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp - 0x60]
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 0x1400c415d
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_start_service
call fcn.140008d80
movzx eax, byte [rbx + 0x128]
test al, al
je 0x1400c415d
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x30]
call fcn.1400a4650
movzx eax, byte [rbx + 0x128]
test al, al
je 0x1400c415d
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 0x1400c415d
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x20]
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 + 0x28], r15
mov qword [rsp + 0x30], r12
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x40]
cmp dword [rsp + 0x20], 0x50a
jne 0x1400c41bb
mov r8d, 0x186
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 + 0x48], rax
mov qword [rbp - 0x80], 0x834
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x78], rax
jmp 0x1400c4027
mov r8d, 0x187
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 + 0x48], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x78], rax
jmp 0x1400c401f
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x38], 5
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x38]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1400c4d40
nop
mov rdx, rax
mov rcx, rsi
call fcn.1400c4ee0
mov dword [rsp + 0x3c], 2
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400c4259
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 4], eax
cmp eax, 1
jne 0x1400c4247
mov rax, qword [rbx + 8]
mov rcx, rbx
call rax
lock xadd dword [rbx], edi
cmp edi, 1
jne 0x1400c4259
mov rcx, rbx
call fcn.1400ce198
nop
mov rax, rsi
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1400cdb50
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret