Function at 0x14001129e
Capabilities:
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
jmp 0x140011900
push rbp
push rdi
sub rsp, 0x778
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x146
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x748], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400113ac
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x258], 0xffffffffffffffff
mov qword [rbp + 0x278], 0xffffffffffffffff
lea rdx, [rbp + 0xa0]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140011986
lea rcx, str.WSA_startup_in_working__n
call fcn.1400111bd
jmp 0x1400119a2
lea rcx, str.WSA_Startup_failed..._exiting...
call fcn.1400111bd
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011cc6
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x48]
call fcn.1400112f3
mov dword [rbp + 0x4c], 2
mov dword [rbp + 0x50], 1
mov dword [rbp + 0x54], 6
mov dword [rbp + 0x48], 1
lea r9, [rbp + 8]
lea r8, [rbp + 0x48]
lea rdx, str.4444
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1400119f8
lea rcx, str.gettaddrinfo_success____n
call fcn.1400111bd
jmp 0x140011a14
lea rcx, str.getaddrinfo_failed..._exiting...
call fcn.1400111bd
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011cc6
mov rax, qword [rbp + 8]
mov r8d, dword [rax + 0xc]
mov rax, qword [rbp + 8]
mov edx, dword [rax + 8]
mov rax, qword [rbp + 8]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0xffffffffffffffff
jne 0x140011a55
lea rcx, str.Socket_is_invalid..._exiting...
call fcn.1400111bd
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140011a61
lea rcx, str.Socket_created_successfully...
call fcn.1400111bd
mov rax, qword [rbp + 8]
mov r8d, dword [rax + 0x10]
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140011aab
lea rcx, str.Socket_failed_to_bind..._exiting...
call fcn.1400111bd
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, 1
jmp 0x140011cc6
lea rcx, str.Socket_bind_was_successful____n
call fcn.1400111bd
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov edx, 0x7fffffff
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x140011b0b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Listen_failed_with_error:__ld_n
call fcn.1400111bd
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011cc6
lea rcx, str.Socket_is_listening____n
call fcn.1400111bd
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x140011b65
lea rcx, str.Accept_failed..._exiting...
call fcn.1400111bd
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011cc6
lea rcx, str.Client_connecting____n
call fcn.1400111bd
mov dword [rbp + 0x4f4], 0x200
xor r9d, r9d
mov r8d, dword [rbp + 0x4f4]
lea rdx, [rbp + 0x2e0]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x294], eax
cmp dword [rbp + 0x294], 0
jle 0x140011c1a
mov edx, dword [rbp + 0x294]
lea rcx, str.Bytes_recieved:__d_n
call fcn.1400111bd
xor r9d, r9d
mov r8d, dword [rbp + 0x294]
lea rdx, [rbp + 0x2e0]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140011c06
lea rcx, str.Send_failed..._exiting...
call fcn.1400111bd
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
jmp 0x140011cc6
mov edx, dword [rbp + 0x294]
lea rcx, str.Bytes_sent:__d_n
call fcn.1400111bd
jmp 0x140011c5f
cmp dword [rbp + 0x294], 0
jne 0x140011c31
lea rcx, str.Connection_closing...
call fcn.1400111bd
jmp 0x140011c5f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.recv_failed:__d_n
call fcn.1400111bd
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011cc6
cmp dword [rbp + 0x294], 0
jg 0x140011b7b
mov edx, 1
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x140011cb1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Shutdown_failed_lol____err:__d_n
call fcn.1400111bd
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x140011cc6
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 - 0x20]
lea rdx, [0x14001ad50]
call fcn.14001133e
mov rax, rdi
mov rcx, qword [rbp + 0x748]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x758]
pop rdi
pop rbp
ret