Function at 0x1400112a3
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Execute command
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Start tcp server

Disassembly:
jmp 0x140011920
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xde8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x27a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0xe08]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0xd98], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400113bb
mov dword [rbp + 0x454], 0
mov dword [rbp + 0x474], 0
mov dword [rbp + 0x494], 0
mov dword [rbp + 0x4b4], 0
mov edx, 0x40
lea rcx, str.____WSA_MAXIMUM_WAIT_EVENTS_______d_n
call fcn.1400111bd
lea rdx, [rbp + 0x780]
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 + 0x738], rax
mov eax, 0x2706
mov word [rbp + 0x934], ax
mov eax, 2
mov word [rbp + 0x978], ax
movzx ecx, word [rbp + 0x934]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x97a], ax
lea rcx, [0x14001afbc]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x9a8], rax
mov rax, qword [rbp + 0x9a8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rbp + 0x958], rax
mov rdx, qword [rbp + 0x958]
lea rcx, str.ip:_s_n
call fcn.1400111bd
mov rcx, qword [rbp + 0x958]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x97c], eax
mov r8d, 0x10
lea rdx, [rbp + 0x978]
mov rcx, qword [rbp + 0x738]
call qword [sym.imp.WS2_32.dll_bind]
mov edx, 3
mov rcx, qword [rbp + 0x738]
call qword [sym.imp.WS2_32.dll_listen]
lea rcx, str.Listening..._n
call fcn.1400111bd
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x738]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x758], rax
lea rcx, str.Client_Accepted..._n
call fcn.1400111bd
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [rbp + 0x454]
mov qword [rbp + rcx*8 + 0x4e0], rax
mov r8d, 0x400
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.1400112f8
mov r8d, 0x20
xor edx, edx
lea rcx, [rbp + 0x6f8]
call fcn.1400112f8
mov eax, dword [rbp + 0x454]
mov rax, qword [rbp + rax*8 + 0x4e0]
mov qword [rbp + 0x710], rax
mov dword [rbp + 8], 0x400
lea rax, [rbp + 0x40]
mov qword [rbp + 0x10], rax
mov eax, dword [rbp + 0x454]
inc eax
mov dword [rbp + 0x454], eax
xor eax, eax
cmp eax, 1
je 0x140011d27
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x6f8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x494]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x474]
mov r8d, 1
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x758]
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x140011b94
lea rcx, [0x14001aff0]
call fcn.1400111bd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x140011b92
lea rcx, str.Error_occured_at_WSARecv___n
call fcn.1400111bd
jmp 0x140011ba0
lea rcx, str.success
call fcn.1400111bd
mov dword [rsp + 0x20], 0
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp + 0x4e0]
mov ecx, dword [rbp + 0x454]
call qword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov dword [rbp + 0x9c4], eax
lea rax, [rbp + 0x494]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x4b4]
lea rdx, [rbp + 0x6f8]
mov rcx, qword [rbp + 0x758]
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
cmp dword [rbp + 0x4b4], 0
jne 0x140011c3d
mov rdx, qword [rbp + 0x758]
lea rcx, str.Closing_Socket__d_n
call fcn.1400111bd
mov rcx, qword [rbp + 0x758]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [rbp + 0x9c4]
mov eax, eax
mov rcx, qword [rbp + rax*8 + 0x4e0]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
mov eax, 0xffffffff
jmp 0x140011d36
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x6f8]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x494]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x474]
mov r8d, 1
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x758]
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x140011c8d
lea rcx, str.WSASend___is_busted_n
call fcn.1400111bd
jmp 0x140011ca9
lea rcx, [0x14001b070]
call fcn.1400111bd
mov rdx, qword [rbp + 0x10]
lea rcx, str._______s_______n
call fcn.1400111bd
mov eax, dword [rbp + 0x9c4]
mov eax, eax
mov rcx, qword [rbp + rax*8 + 0x4e0]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
xor edx, edx
lea rcx, str.______WSA_WAIT_EVENT_0_______d_n
call fcn.1400111bd
mov dword [rbp + 0x494], 0
mov r8d, 0x20
xor edx, edx
lea rcx, [rbp + 0x6f8]
call fcn.1400112f8
mov r8d, 0x400
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.1400112f8
mov eax, dword [rbp + 0x9c4]
mov eax, eax
mov rax, qword [rbp + rax*8 + 0x4e0]
mov qword [rbp + 0x710], rax
mov dword [rbp + 8], 0x400
lea rax, [rbp + 0x40]
mov qword [rbp + 0x10], rax
jmp 0x140011b1e
lea rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_htons
call fcn.140011343
mov rax, rdi
mov rcx, qword [rbp + 0xd98]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0xda8]
pop rdi
pop rbp
ret