Function at 0x1400112fd
Capabilities:
Convert ip address from string
Create raw socket
Create tcp socket
Create udp socket
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
jmp 0x140012500
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov eax, 0x10a0
call fcn.1400110e6
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2fc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x10c8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1068], rax
lea rcx, [0x1400250f8]
call fcn.14001142e
lea rax, [rbp + 8]
lea rcx, str.192.168.1.12
mov rdi, rax
mov rsi, rcx
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x38]
lea rcx, str.192.168.1.11
mov rdi, rax
mov rsi, rcx
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x68]
lea rcx, str.hellp__this_is_test
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_sendto
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 0x68]
call fcn.1400111db
inc rax
mov dword [rbp + 0x94], eax
lea rdx, [rbp + 0xc0]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400125ef
lea rdx, str.WSAStartup_failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011096
lea rdx, [0x14001103c]
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]
mov eax, 0xffffffff
jmp 0x140012973
mov r8d, 0xff
mov edx, 3
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x278], rax
mov dword [rbp + 0x294], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x294]
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.WS2_32.dll_setsockopt]
lea rax, [rbp + 0x2c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov byte [rax], 0x45
movsxd rax, dword [rbp + 0x94]
add rax, 0x1c
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbp + 0x6d8]
mov word [rcx + 2], ax
mov rax, qword [rbp + 0x6d8]
mov byte [rax + 8], 0x80
mov rax, qword [rbp + 0x6d8]
mov byte [rax + 9], sendto
mov rax, qword [rbp + 0x6d8]
add rax, 0xc
mov r8, rax
lea rdx, [rbp + 0x38]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
mov rax, qword [rbp + 0x6d8]
add rax, 0x10
mov r8, rax
lea rdx, [rbp + 8]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
mov edx, reloc.WS2_32.dll_sendto
mov rcx, qword [rbp + 0x6d8]
call fcn.14001107d
mov rcx, qword [rbp + 0x6d8]
mov word [rcx + 0xa], ax
mov eax, 1
imul rax, rax, 0x14
lea rax, [rbp + rax + 0x2c0]
mov qword [rbp + 0x6f8], rax
mov cx, 0xff97
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbp + 0x6f8]
mov word [rcx], ax
mov cx, 0xff98
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbp + 0x6f8]
mov word [rcx + 2], ax
movsxd rax, dword [rbp + 0x94]
add rax, 8
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbp + 0x6f8]
mov word [rcx + 4], ax
xor eax, eax
mov rcx, qword [rbp + 0x6f8]
mov word [rcx + 6], ax
mov eax, 1
imul rax, rax, 0x1c
lea rax, [rbp + rax + 0x2c0]
mov qword [rbp + 0x718], rax
movsxd rax, dword [rbp + 0x94]
mov r8, rax
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x718]
call fcn.140011221
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0xc]
mov dword [rbp + 0x738], eax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x73c], eax
mov byte [rbp + 0x740], 0
mov byte [rbp + 0x741], sendto
movsxd rax, dword [rbp + 0x94]
add rax, 8
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x742], ax
mov r8d, 0xc
lea rdx, [rbp + 0x738]
lea rcx, [rbp + 0x770]
call fcn.140011221
lea rax, [rbp + 0x77c]
mov r8d, 8
mov rdx, qword [rbp + 0x6f8]
mov rcx, rax
call fcn.140011221
mov eax, dword [rbp + 0x94]
inc eax
cdqe
lea rcx, [rbp + 0x784]
mov r8, rax
mov rdx, qword [rbp + 0x718]
call fcn.140011221
movsxd rax, dword [rbp + 0x94]
add rax, 0x14
mov edx, eax
lea rcx, [rbp + 0x770]
call fcn.14001107d
mov rcx, qword [rbp + 0x6f8]
mov word [rcx + 6], ax
mov r8d, sendto
xor edx, edx
lea rcx, [rbp + 0xb88]
call fcn.140011352
mov eax, 2
mov word [rbp + 0xb88], ax
mov cx, 0xff98
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0xb8a], ax
lea r8, [rbp + 0xb8c]
lea rdx, [rbp + 8]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
mov dword [rbp + 0xbd4], 0
jmp 0x1400128b2
mov eax, dword [rbp + 0xbd4]
inc eax
mov dword [rbp + 0xbd4], eax
cmp dword [rbp + 0xbd4], 5
jge 0x14001295e
movsxd rax, dword [rbp + 0x94]
add rax, 0x1c
mov dword [rsp + 0x28], sendto
lea rcx, [rbp + 0xb88]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x2c0]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rbp + 0xbb4], eax
cmp dword [rbp + 0xbb4], 0xffffffff
jne 0x14001294e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp + 0x1064], eax
lea rdx, str.sento_error
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011096
mov ecx, dword [rbp + 0x1064]
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]
lea rdx, [0x14001103c]
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]
mov eax, 0xffffffff
jmp 0x140012973
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400128a4
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_htons
call fcn.1400113a7
mov rax, rdi
mov rcx, qword [rbp + 0x1068]
xor rcx, rbp
call fcn.14001121c
lea rsp, [rbp + 0x1070]
pop rdi
pop rsi
pop rbp
ret