Function at 0x14005dec0
Capabilities:
Initialize winsock library
Send icmp echo request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x240
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov qword [rsp + 0x60], rdx
mov ecx, 0x202
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14005df3f
lea rdx, str.WSAStartup_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400063d0
lea rdx, [0x1400065a0]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, rdi
call fcn.1400062c0
mov eax, 0xffffffff
jmp 0x14005e14c
xor ebx, ebx
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005df4e
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov r14d, eax
call qword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14005dfb6
lea rdx, str.Unable_to_open_handle._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400063d0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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]
lea rdx, [0x1400065a0]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rcx, rdi
call fcn.1400062c0
mov eax, 0xffffffff
jmp 0x14005e14c
movsd xmm0, qword [str.Data_Buffer]
movsd qword [rsp + 0x210], xmm0
mov eax, dword [0x140566e28]
mov dword [rsp + 0x218], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x21c], xmm0
mov dword [rsp + 0x22c], eax
lea ecx, [rax + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x14005e030
lea rdx, str.Unable_to_allocate_memory_for_reply_buffer.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400063d0
lea rdx, [0x1400065a0]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rbp
call qword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
jmp 0x14005df9d
mov r12d, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x50], 0x3e8
mov dword [rsp + Ordinal_79], 0x48
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x30], r12w
lea rax, [rsp + 0x210]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho2]
test eax, eax
je 0x14005e080
mov ebx, dword [rsi + 8]
mov dword [rsp + 0x50], 0x3e8
mov dword [rsp + Ordinal_79], 0x48
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], 0
mov word [rsp + 0x30], r12w
lea rax, [rsp + 0x210]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho2]
test eax, eax
je 0x14005e0ce
add ebx, dword [rsi + 8]
mov dword [rsp + 0x50], 0x3e8
mov dword [rsp + Ordinal_79], 0x48
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], 0
mov word [rsp + 0x30], r12w
lea rax, [rsp + 0x210]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho2]
test eax, eax
je 0x14005e11c
add ebx, dword [rsi + 8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbp
call qword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0x55555556
imul ebx
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov rcx, rdi
call fcn.1400062c0
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1402cbf10
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret