Function at 0x140011726
Capabilities:
Connect socket
Convert ip address from string
Initialize winsock library

Disassembly:
jmp 0x14001c0e0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3d8]
mov rax, qword [0x140030040]
xor rax, rbp
mov qword [rbp + 0x388], rax
lea rcx, [0x14003810f]
call fcn.1400119a1
nop
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14001c170
lea rdx, str.Failed_to_initialize_Winsock.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110eb
lea rdx, [0x14001105a]
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 rax, 0xffffffffffffffff
jmp 0x14001c275
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0xffffffffffffffff
jne 0x14001c1cb
lea rdx, str.Failed_to_create_client_socket.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110eb
lea rdx, [0x14001105a]
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
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rax, 0xffffffffffffffff
jmp 0x14001c275
mov eax, 2
mov word [rbp + 0x1e8], ax
movzx ecx, word [rbp + 0x3b8]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1ea], ax
mov rcx, qword [rbp + 0x3b0]
call fcn.1400110c8
lea r8, [rbp + 0x1ec]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
nop
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x1e8]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14001c26e
lea rdx, str.Failed_to_connect_to_server.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110eb
lea rdx, [0x14001105a]
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 rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rax, 0xffffffffffffffff
jmp 0x14001c275
mov rax, qword [rbp + 0x1c8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400297b0]
call fcn.140011820
mov rax, rdi
mov rcx, qword [rbp + 0x388]
xor rcx, rbp
call fcn.1400114c4
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret