Function at 0x140011474
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Start tcp server

Disassembly:
jmp 0x140015d50
push rbp
push rdi
mov eax, 0x1998
call fcn.140011127
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4de
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x1968], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.14001165e
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x1c8], rax
mov eax, 2
mov word [rbp + 0x1e8], ax
mov cx, 0x1388
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1ea], ax
mov dword [rbp + 0x1ec], 0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x1e8]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_bind]
mov edx, 0x7fffffff
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_listen]
xor eax, eax
cmp eax, 1
je 0x140015fac
mov dword [rbp + 0x12a4], reloc.WS2_32.dll_recv
lea r8, [rbp + 0x12a4]
lea rdx, [rbp + 0x1278]
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x1258], rax
mov r9d, socket
lea r8, [rbp + 0x12c8]
lea rdx, [rbp + 0x127c]
mov ecx, 2
call fcn.1400113a2
lea rdx, [rbp + 0x12c8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b4
lea rdx, [0x14001f508]
mov rcx, rax
call fcn.1400110b4
lea rdx, [0x140011046]
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]
xor eax, eax
cmp eax, 1
je 0x140015fa7
mov r8d, 0x800
xor edx, edx
lea rcx, [rbp + 0x220]
call fcn.1400114ec
lea rcx, [rbp + 0x12f8]
call fcn.14001164f
nop
lea rdx, [rbp + 0x12c8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b4
lea rdx, [0x14001f514]
mov rcx, rax
call fcn.1400110b4
lea rdx, [rbp + 0x12f8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14001138e
lea rcx, [rbp + 0x12f8]
call fcn.140011096
mov rdx, rax
lea rcx, [rbp + 0xa40]
call fcn.140011262
lea rcx, [rbp + 0xa40]
call fcn.140011221
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rbp + 0xa40]
mov rcx, qword [rbp + 0x1258]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 0x1334], eax
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rbp + 0x220]
mov rcx, qword [rbp + 0x1258]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x1354], eax
lea rcx, [rbp + 0x220]
call fcn.140011221
lea rdx, [rbp + 0x220]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b4
lea rdx, [0x140011046]
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 + 0x12f8]
call fcn.140011131
jmp 0x140015e98
jmp 0x140015e11
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001f0b0]
call fcn.140011555
mov eax, edi
mov rcx, qword [rbp + 0x1968]
xor rcx, rbp
call fcn.140011311
lea rsp, [rbp + 0x1978]
pop rdi
pop rbp
ret