Function at 0x140011451
Capabilities:
Connect socket
Convert ip address from string
Initialize winsock library
Send data
Send data on socket

Disassembly:
jmp 0x140015640
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x430
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x458]
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x400], rax
lea rcx, [0x1400290f8]
call fcn.140011609
lea rdx, str.hello.
lea rcx, [rbp + 8]
call fcn.1400112bc
nop
cmp dword [rbp + 0x430], 1
jle 0x1400156c4
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x438]
mov rdx, qword [rcx + rax]
lea rcx, [rbp + 8]
call fcn.140011046
lea rdx, [rbp + 0x50]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x238], rax
lea rax, [rbp + 0x258]
lea rcx, str.127.0.0.1
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
lea r8, [rbp + 0x20c]
lea rdx, [rbp + 0x258]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
mov eax, 2
mov word [rbp + 0x208], ax
mov cx, 0x15be
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x20a], ax
mov r8d, send
lea rdx, [rbp + 0x208]
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.WS2_32.dll_connect]
lea rdx, str.Connected_to_server_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, [0x140011050]
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]
lea rcx, [rbp + 8]
call fcn.14001155f
mov qword [rbp + 0x3f8], rax
lea rcx, [rbp + 8]
call fcn.1400110a5
xor r9d, r9d
mov rcx, qword [rbp + 0x3f8]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.WS2_32.dll_send]
lea rdx, str.Message_sent_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, [0x140011050]
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 rcx, qword [rbp + 0x238]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Socket_closed.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, [0x140011050]
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]
lea rdx, [0x140011050]
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
lea rcx, [rbp + 8]
call fcn.14001113b
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140011528
mov eax, edi
mov rcx, qword [rbp + 0x400]
xor rcx, rbp
call fcn.14001130c
lea rsp, [rbp + 0x410]
pop rdi
pop rsi
pop rbp
ret