Function at 0x14001150f
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
jmp 0x140014c50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x308]
mov rax, qword [0x140024040]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
mov byte [rbp + 0x284], 0
lea rcx, [0x14002a0f6]
call fcn.14001157d
nop
mov r8d, 1
mov edx, 3
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 8], rax
mov dword [rbp + 0x144], 0x186a0
mov dword [rbp + 0x164], 0
mov dword [rbp + 0x184], 0
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140014cfa
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [0x140020528]
call fcn.1400112a3
nop
jmp 0x1400150f9
mov rcx, qword [rbp + 0x2d0]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140014d2b
mov rdx, qword [rbp + 0x2d0]
lea rcx, str.ping
call fcn.1400112a3
nop
jmp 0x1400150f9
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rax + rcx]
mov eax, dword [rax]
mov dword [rbp + 0x4c], eax
mov eax, 2
mov word [rbp + 0x48], ax
xor eax, eax
mov word [rbp + 0x4a], ax
mov ecx, dword [rbp + 0x4c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8d, 0x20
mov rdx, rax
lea rcx, [0x140020590]
call fcn.1400112a3
nop
mov dword [rbp + 0x1a4], 0
mov dword [rbp + 0x104], 0
jmp 0x140014d97
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
cmp dword [rbp + 0x104], 4
jge 0x140014f52
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 8]
call fcn.1400110c8
nop
mov rcx, qword [rbp + 8]
call fcn.1400111f4
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0xffffffff
jne 0x140014de4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [0x1400205c0]
call fcn.1400112a3
nop
jmp 0x140014f52
cmp dword [rbp + 0x124], 0
jne 0x140014dff
lea rcx, [0x1400204f0]
call fcn.1400112a3
nop
jmp 0x140014f52
mov byte [rbp + 0x284], 1
lea r8, [rbp + 0xe4]
lea rdx, [rbp + 0x78]
mov rcx, qword [rbp + 8]
call fcn.140011023
mov dword [rbp + 0xa4], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbp + 0xa4]
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0x164]
cmp dword [rbp + 0xc4], eax
jbe 0x140014e4c
mov eax, dword [rbp + 0xc4]
mov dword [rbp + 0x164], eax
mov eax, dword [rbp + 0x144]
cmp dword [rbp + 0xc4], eax
jae 0x140014e66
mov eax, dword [rbp + 0xc4]
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 0xc4]
mov ecx, dword [rbp + 0x184]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x184], eax
cmp dword [rbp + 0xc4], 0
ja 0x140014ee0
cmp byte [rbp + 0x284], 0
jne 0x140014e9b
lea rcx, str.srcIP
call fcn.1400110ff
nop
movzx eax, byte [rbp + 0xe4]
mov dword [rbp + 0x294], eax
mov ecx, dword [rbp + 0x7c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [rbp + 0x294]
mov r9d, ecx
mov r8d, 0x20
mov rdx, rax
lea rcx, [0x1400205f0]
call fcn.1400112a3
nop
mov eax, dword [rbp + 0x1a4]
inc eax
mov dword [rbp + 0x1a4], eax
jmp 0x140014f41
cmp byte [rbp + 0x284], 0
jne 0x140014ef6
lea rcx, str.srcIP
call fcn.1400110ff
nop
movzx eax, byte [rbp + 0xe4]
mov dword [rbp + 0x294], eax
mov ecx, dword [rbp + 0x7c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [rbp + 0x294]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbp + 0xc4]
mov r8d, 0x20
mov rdx, rax
lea rcx, [0x140020628]
call fcn.1400112a3
nop
mov eax, dword [rbp + 0x1a4]
inc eax
mov dword [rbp + 0x1a4], eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x140014d89
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0xffffffff
jne 0x140014f80
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [0x140020660]
call fcn.1400112a3
nop
lea rdx, [0x14001104b]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.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
cmp byte [rbp + 0x284], 0
jne 0x140014fab
lea rcx, str.srcIP
call fcn.1400110ff
nop
mov ecx, dword [rbp + 0x7c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b4
lea rdx, [0x140020688]
mov rcx, rax
call fcn.1400110b4
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 eax, 4
sub eax, dword [rbp + 0x1a4]
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140020780]
mulsd xmm1, xmm0
movaps xmm0, xmm1
cvtsi2sd xmm1, dword [rbp + 0x1a4]
divsd xmm0, xmm1
mulsd xmm0, qword [0x140020790]
movsd qword [rbp + 0x298], xmm0
mov eax, 4
sub eax, dword [rbp + 0x1a4]
mov dword [rbp + 0x2a0], eax
mov dl, 9
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011456
lea rdx, [0x1400206c8]
mov rcx, rax
call fcn.1400110b4
mov edx, dword [rbp + 0x1a4]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x1400206b8]
mov rcx, rax
call fcn.1400110b4
mov ecx, dword [rbp + 0x2a0]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov dl, 0x28
mov rcx, rax
call fcn.140011456
movsd xmm0, qword [rbp + 0x298]
movaps xmm1, xmm0
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
lea rdx, [0x1400206a8]
mov rcx, rax
call fcn.1400110b4
lea rdx, [0x1400206a0]
mov rcx, rax
call fcn.1400110b4
nop
cmp dword [rbp + 0x1a4], 4
jne 0x1400150f9
lea rcx, [0x1400206e8]
call fcn.1400112a3
nop
mov eax, dword [rbp + 0x184]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov r9d, eax
mov r8d, dword [rbp + 0x164]
mov edx, dword [rbp + 0x144]
lea rcx, [0x140020718]
call fcn.1400112a3
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400114bf
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.1400112bc
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret