Function at 0x1400c0300
Capabilities:
Send icmp echo request

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rbp + 0x170], rax
movzx ebx, r9w
mov word [rsp + 0x64], bx
mov rdi, r8
mov esi, edx
mov dword [rsp + 0x68], edx
mov r15, rcx
mov qword [rbp - 0x68], rcx
movzx eax, byte [rbp + 0x1e0]
mov byte [rsp + 0x60], al
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea r13, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_ping.cpp
lea r14, [0x140102640]
mov eax, dword [rdx + rcx]
cmp dword [0x140147398], eax
jg 0x1400c09c6
cmp qword [0x140147390], 0
jne 0x1400c0416
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r14
mov r8d, 0x38
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x10]
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 - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x40], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp - 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 0x1400c03f6
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_send_ICMP_echo___ICMP_handle_couldnt_be_opened
call fcn.140008d80
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
xor r12d, r12d
mov qword [r15], r12
mov qword [r15 + 8], r12
jmp 0x1400c0937
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
xor r12d, r12d
mov r14d, r12d
mov qword [rbp - 0x40], r12
movzx edx, bx
test rdx, rdx
je 0x1400c043d
lea rcx, [rbp - 0x50]
call fcn.1400b7710
mov r14, qword [rbp - 0x40]
lea eax, [rbx + 0x38]
mov word [rsp + 0x78], ax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
jne 0x1400c05d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
mov qword [rbp - 0x78], r13
lea rax, [0x140102640]
mov qword [rbp - 0x70], rax
lea r8d, [rbx + 0x53]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x18]
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 - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp], xmm1
xor r9d, r9d
lea r8d, [rbx + 2]
lea rdx, [rbp - 0x10]
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 0x1400c04d9
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_ping
call fcn.140008d80
mov rdi, rbx
mov edx, esi
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Network.dll_public:_void___cdecl_QHostAddress::constructor_unsigned_int____ptr64]
nop
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.Qt5Network.dll_public:_class_QString___cdecl_QHostAddress::toString_void____ptr64]
mov rsi, rax
add rdi, 0x40
cmp byte [rbx + 0x128], 0
je 0x1400c0561
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
mov rdx, rsi
mov rcx, rdi
call fcn.14000ccf0
movzx eax, byte [rbx + 0x128]
test al, al
je 0x1400c0561
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, str.__failed_to_create_event:
mov rcx, rdi
call fcn.140008d80
movzx eax, byte [rbx + 0x128]
test al, al
je 0x1400c0561
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x64]
mov rcx, rdi
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 - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15], r12
mov qword [r15 + 8], r12
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400c0937
sub r14, rcx
mov rax, rcx
cmp r14, 0x1000
jb 0x1400c092f
add r14, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c092f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x40
call fcn.1400cdb70
mov r13, rax
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x20], r12
lea rax, [rsp + 0x70]
mov qword [rbp - 0x78], rax
xor edx, edx
mov rcx, r13
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QObject::constructor_class_QObject____ptr64____ptr64]
nop
lea rax, vtable.WinIcmpEcho.0
mov qword [r13], rax
mov qword [r13 + 0x10], r12
mov rax, qword [rsp + 0x70]
mov qword [r13 + 0x10], rax
mov qword [rsp + 0x70], r12
mov qword [r13 + 0x18], r12
mov qword [r13 + 0x20], r12
mov qword [r13 + 0x28], r12
xor r8d, r8d
mov rdx, qword [r13 + 0x10]
lea rcx, [r13 + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QWinEventNotifier::constructor_void____ptr64__class_QObject____ptr64____ptr64]
nop
movzx edx, word [rsp + 0x78]
lea rcx, [r13 + 0x18]
call fcn.1400b7140
lea rax, [0x1400c0c80]
mov qword [rbp - 0x80], rax
mov rax, qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QWinEventNotifier::activated_void____ptr64__struct_QWinEventNotifier::QPrivateSignal____ptr64]
mov qword [rbp - 0x58], rax
mov rbx, qword [sym.imp.Qt5Core.dll_struct_QMetaObject_const_QWinEventNotifier::staticMetaObject]
mov ecx, 0x18
call fcn.1400cdb70
mov qword [rsp + 0x78], rax
mov rcx, qword [rbp - 0x80]
mov dword [rax], 1
lea rdx, [0x1400417a0]
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, [rbp - 0x58]
lea rdx, [r13 + 0x30]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const____ptr64__void____ptr64____ptr64__class_QObject_const____ptr64__void____ptr64____ptr64__class_QtPrivate::QSlotObjectBase____ptr64__enum_Qt::ConnectionType__int_const____ptr64__struct_QMetaObject_const____ptr64_]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400c06e5
mov byte [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_WinCloseHandle::operator___void____ptr64____ptr64]
nop
mov qword [rbp - 0x80], r13
mov esi, dword [rsp + 0x68]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_htonl]
mov edx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x30], 0x80
movzx ecx, byte [rbp - 0x2e]
mov eax, 0x96
movzx r10d, byte [rsp + 0x60]
test r10b, r10b
cmove ecx, eax
mov byte [rbp - 0x2e], cl
mov r9, qword [r13 + 0x18]
mov rcx, qword [r13 + 0x20]
sub rcx, r9
movzx r8d, cx
lea rax, [rbp - 0x30]
test r10b, r10b
cmovne rax, r12
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], rax
movzx eax, word [rsp + 0x64]
mov word [rsp + 0x30], ax
mov rbx, qword [rbp - 0x50]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], edx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [r13 + 0x10]
mov rcx, qword [0x140147390]
call qword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho2]
mov dword [rsp + 0x68], eax
test eax, eax
je 0x1400c0964
cmp eax, 0x3e5
je 0x1400c0964
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x60], eax
lea rax, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_ping.cpp
mov qword [rbp - 0x78], rax
lea rax, [0x140102640]
mov qword [rbp - 0x70], rax
mov r8d, 0x78
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x18]
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 - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp - 0x10]
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 rdi, rax
cmp byte [rax + 0x128], 0
je 0x1400c0808
mov rcx, rax
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rcx, [rdi + 0x40]
lea rdx, str.Unable_to_ping
call fcn.140008d80
mov edx, esi
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Network.dll_public:_void___cdecl_QHostAddress::constructor_unsigned_int____ptr64]
nop
lea rdx, [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.Qt5Network.dll_public:_class_QString___cdecl_QHostAddress::toString_void____ptr64]
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400390a0
mov rdi, rax
movzx eax, byte [rax + 0x128]
test al, al
je 0x1400c08a6
mov rcx, rdi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rcx, [rdi + 0x40]
lea rdx, str.__result
call fcn.140008d80
movzx eax, byte [rdi + 0x128]
test al, al
je 0x1400c08a6
mov rcx, rdi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rsi, [rdi + 0x40]
mov edx, dword [rsp + 0x68]
mov rcx, rsi
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]
movzx eax, byte [rdi + 0x128]
test al, al
je 0x1400c08c5
mov rcx, rdi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, str.__error
mov rcx, rsi
call fcn.140008d80
movzx eax, byte [rdi + 0x128]
jmp 0x1400c08aa
lea rsi, [rdi + 0x40]
test al, al
je 0x1400c08c5
mov rcx, rdi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rbp - 0x60]
mov rcx, rsi
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 - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15], r12
mov qword [r15 + 8], r12
mov rax, qword [r13]
mov edx, 1
mov rcx, r13
call qword [rax + 0x18]
nop
test rbx, rbx
je 0x1400c0937
sub r14, rbx
mov rax, rbx
cmp r14, 0x1000
jb 0x1400c092c
add r14, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c09a1
mov rcx, rbx
mov rdx, r14
call fcn.1400cdbac
mov rax, r15
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400cdb50
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x80], r12
mov rcx, r13
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QtSharedPointer::ExternalRefCountData____ptr64___cdecl_QtSharedPointer::ExternalRefCountData::getAndRef_class_QObject_const____ptr64_]
mov qword [r15], rax
mov qword [r15 + 8], r13
test rbx, rbx
je 0x1400c0937
sub r14, rbx
mov rax, rbx
cmp r14, 0x1000
jb 0x1400c092c
add r14, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c092c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [0x1400e2690]
call fcn.1400ce084
nop
lea rcx, [0x140147398]
call fcn.1400cdcdc
jmp 0x1400c0382
lea rcx, [0x140147398]
call fcn.1400cdd3c
cmp dword [0x140147398], 0xffffffff
jne 0x1400c0382
call qword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov qword [0x140147390], rax
test rax, rax
jne 0x1400c09a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r14
mov r8d, 0x22
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x10]
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 - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x40], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp - 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 0x1400c0a82
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.Failed_to_open_ICMP:
call fcn.140008d80
cmp byte [rbx + 0x128], 0
je 0x1400c0a82
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, [rsp + 0x78]
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]
movzx ebx, word [rsp + 0x64]
jmp 0x1400c09a8