Function at 0x1400b6030
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
cmp dword [r9 + 0x14], 4
je 0x1400b6077
xor al, al
jmp 0x1400b61bd
mov rcx, qword [r9]
test rcx, rcx
je 0x1400b608a
call qword [sym.imp.Qt5Core.dll_long_long___int64____cdecl_QtPrivate::qustrlen_unsigned_short_int_const____ptr64_]
mov rdx, qword [r14]
jmp 0x1400b608e
xor eax, eax
xor edx, edx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdx
mov r8d, 1
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x1400b61e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
lea r12, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_dnscachecontrol.cpp
mov qword [rsp + 0x28], r12
lea r13, [0x1400ffeb3]
mov qword [rsp + 0x30], r13
mov r8d, 0x18b
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x80]
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 [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm1
xor r9d, r9d
lea r8d, [rdi + 2]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
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], dil
je 0x1400b619e
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.Unable_to_open_service
call fcn.140008d80
cmp byte [rbx + 0x128], dil
je 0x1400b619e
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x38]
lea rcx, [rbx + 0x40]
call fcn.140066c80
cmp byte [rbx + 0x128], dil
je 0x1400b619e
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], dil
je 0x1400b619e
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x24]
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 - 0x38]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
xor sil, sil
test rdi, rdi
je 0x1400b61b9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, sil
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400cdb50
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsi]
mov dword [rsp + 0x70], 0
mov r8, qword [rsi + 8]
sub r8, rbx
lea r9, [rsp + 0x70]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x1400b62fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
lea r12, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_dnscachecontrol.cpp
mov qword [rsp + 0x28], r12
lea r13, [0x1400ffeb3]
mov qword [rsp + 0x30], r13
mov r8d, 0x195
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x80]
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 [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
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 0x1400b62f9
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.Unable_to_get_config_of_service
call fcn.140008d80
cmp byte [rbx + 0x128], 0
je 0x1400b62f9
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x38]
lea rcx, [rbx + 0x40]
call fcn.140066c80
cmp byte [rbx + 0x128], 0
je 0x1400b62f9
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 0x1400b62f9
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x24]
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
jmp 0x1400b619e
lea r11, [0x140146ef0]
mov rbx, qword [rbx + 0x10]
lea r15, [0x140146f70]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400b6320
mov rsi, qword [r11 + 0x10]
mov r10, r11
cmp qword [r11 + 0x18], 8
jb 0x1400b633b
mov r10, qword [r11]
mov rdx, rsi
cmp rax, rsi
cmovb rdx, rax
mov rcx, rbx
test rdx, rdx
je 0x1400b6382
movzx r8d, word [r10]
movzx r9d, word [rbx]
cmp r8w, r9w
jb 0x1400b6389
sub r10, rbx
cmp r8w, r9w
ja 0x1400b6389
cmp rdx, 1
je 0x1400b6382
dec rdx
add rcx, 2
movzx r8d, word [rcx + r10]
movzx r9d, word [rcx]
cmp r8w, r9w
jae 0x1400b6362
jmp 0x1400b6389
cmp rsi, rax
jb 0x1400b6389
jbe 0x1400b639b
add r11, 0x20
cmp r11, r15
je 0x1400b61a8
jmp 0x1400b6310
cmp r11, r15
je 0x1400b61a8
mov r15d, dword [r14 + 0x2c]
lea r12, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_dnscachecontrol.cpp
mov qword [rsp + 0x28], r12
lea r13, [0x1400ffeb3]
mov qword [rsp + 0x30], r13
mov r8d, 0x1a5
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x80]
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 [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm1
xor r9d, r9d
lea r8d, [r9 + 3]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
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 0x1400b6483
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.Found_running_NetworkService_service
call fcn.140008d80
cmp byte [rbx + 0x128], 0
je 0x1400b6483
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x38]
lea rcx, [rbx + 0x40]
call fcn.140066c80
cmp byte [rbx + 0x128], 0
je 0x1400b6483
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, str.with_PID
lea rcx, [rbx + 0x40]
call fcn.140008d80
cmp byte [rbx + 0x128], 0
je 0x1400b6483
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
mov edx, r15d
lea rcx, [rbx + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
mov r8d, r15d
xor edx, edx
mov ecx, 0x1001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x1400b6594
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov r8d, 0x1ad
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x80]
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 [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm1
xor r9d, r9d
lea r8d, [rbx + 3]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
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 rsi, rax
cmp byte [rax + 0x128], bl
je 0x1400b6582
mov rcx, rax
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rcx, [rsi + 0x40]
lea rdx, str.Cant_open_process
call fcn.140008d80
cmp byte [rsi + 0x128], bl
je 0x1400b6582
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
mov edx, r15d
lea rcx, [rsi + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
cmp byte [rsi + 0x128], bl
je 0x1400b6582
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [0x1400eb5b0]
lea rcx, [rsi + 0x40]
call fcn.140008d80
cmp byte [rsi + 0x128], bl
je 0x1400b6582
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x24]
lea rcx, [rsi + 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 - 0x38]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
xor sil, sil
jmp 0x1400b678f
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov r8d, 0x1b1
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
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 - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x70], xmm1
xor r9d, r9d
lea r8d, [r9 + 3]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x38]
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 rsi, rax
cmp byte [rax + 0x128], 0
je 0x1400b6688
mov rcx, rax
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rcx, [rsi + 0x40]
lea rdx, str.Terminating_NetworkService_service
call fcn.140008d80
cmp byte [rsi + 0x128], 0
je 0x1400b6688
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x38]
lea rcx, [rsi + 0x40]
call fcn.140066c80
movzx eax, byte [rsi + 0x128]
test al, al
je 0x1400b6688
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [0x140100344]
lea rcx, [rsi + 0x40]
call fcn.140008d80
movzx eax, byte [rsi + 0x128]
test al, al
je 0x1400b6688
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
mov edx, r15d
lea rcx, [rsi + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
cmp byte [rsi + 0x128], 0
je 0x1400b6688
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, str.to_allow_Dnscache_to_restart
lea rcx, [rsi + 0x40]
call fcn.140008d80
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1400b678c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov r8d, 0x1b6
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
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 - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x70], xmm1
xor r9d, r9d
lea r8d, [r9 + 3]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x38]
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 rsi, rax
cmp byte [rax + 0x128], 0
je 0x1400b677d
mov rcx, rax
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rcx, [rsi + 0x40]
lea rdx, str.Cant_open_process
call fcn.140008d80
cmp byte [rsi + 0x128], 0
je 0x1400b677d
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
mov edx, r15d
lea rcx, [rsi + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
cmp byte [rsi + 0x128], 0
je 0x1400b677d
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [0x1400eb5b0]
lea rcx, [rsi + 0x40]
call fcn.140008d80
cmp byte [rsi + 0x128], 0
je 0x1400b677d
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x24]
lea rcx, [rsi + 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 - 0x38]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
xor sil, sil
jmp 0x1400b678f
mov sil, 1
test rbx, rbx
je 0x1400b67a8
mov byte [rsp + 0x20], 0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_WinCloseHandle::operator___void____ptr64____ptr64]
nop
jmp 0x1400b61ab