Function at 0x140011037
Capabilities:
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 0x140011a50
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
mov eax, 0x1c28
call fcn.1400110be
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x57a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1c48]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x1bd8], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400113e8
mov dword [rbp + 0x1054], 0
mov dword [rbp + 0x1074], 0
mov dword [rbp + 0x1094], 0
mov dword [rbp + 0x10b4], 0
lea rdx, [rbp + 0x1380]
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 + 0x1338], rax
mov eax, 0x2706
mov word [rbp + 0x1534], ax
mov eax, 2
mov word [rbp + 0x1578], ax
movzx ecx, word [rbp + 0x1534]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x157a], ax
lea rcx, [0x14001af90]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x15a8], rax
mov rax, qword [rbp + 0x15a8]
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 + 0x1558], rax
mov rcx, qword [rbp + 0x1558]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x157c], eax
mov r8d, 0x10
lea rdx, [rbp + 0x1578]
mov rcx, qword [rbp + 0x1338]
call qword [sym.imp.WS2_32.dll_bind]
mov edx, 1
mov rcx, qword [rbp + 0x1338]
call qword [sym.imp.WS2_32.dll_listen]
lea rcx, str.Listening..._n
call fcn.1400111d1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x1338]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x1358], rax
lea rcx, str.Client_Accepted..._n
call fcn.1400111d1
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [rbp + 0x1054]
mov qword [rbp + rcx*8 + 0x10e0], rax
mov r8d, 0x1000
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14001131b
mov r8d, 0x20
xor edx, edx
lea rcx, [rbp + 0x12f8]
call fcn.14001131b
mov eax, dword [rbp + 0x1054]
mov rax, qword [rbp + rax*8 + 0x10e0]
mov qword [rbp + 0x1310], rax
mov dword [rbp + 8], 0x1000
lea rax, [rbp + 0x40]
mov qword [rbp + 0x10], rax
mov eax, dword [rbp + 0x1054]
inc eax
mov dword [rbp + 0x1054], eax
xor eax, eax
cmp eax, 1
je 0x140011df3
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x12f8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1094]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1074]
mov r8d, 1
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x1358]
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x140011c98
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x140011c98
lea rcx, str.Error_occured_at_WSARecv___n
call fcn.1400111d1
mov dword [rsp + 0x20], 0
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp + 0x10e0]
mov ecx, dword [rbp + 0x1054]
call qword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov dword [rbp + 0x15c4], eax
lea rax, [rbp + 0x1094]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x10b4]
lea rdx, [rbp + 0x12f8]
mov rcx, qword [rbp + 0x1358]
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
cmp dword [rbp + 0x10b4], 0
jne 0x140011d35
mov rdx, qword [rbp + 0x1358]
lea rcx, str.Closing_Socket__d_n
call fcn.1400111d1
mov rcx, qword [rbp + 0x1358]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [rbp + 0x15c4]
mov eax, eax
mov rcx, qword [rbp + rax*8 + 0x10e0]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
mov eax, 0xffffffff
jmp 0x140011e02
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x12f8]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x1094]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x1074]
mov r8d, 1
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x1358]
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x140011d83
lea rcx, str.WSASend___is_busted_n
call fcn.1400111d1
mov eax, dword [rbp + 0x15c4]
mov eax, eax
mov rcx, qword [rbp + rax*8 + 0x10e0]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
mov dword [rbp + 0x1094], 0
mov r8d, 0x20
xor edx, edx
lea rcx, [rbp + 0x12f8]
call fcn.14001131b
mov r8d, 0x1000
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14001131b
mov eax, dword [rbp + 0x15c4]
mov eax, eax
mov rax, qword [rbp + rax*8 + 0x10e0]
mov qword [rbp + 0x1310], rax
mov dword [rbp + 8], 0x1000
lea rax, [rbp + 0x40]
mov qword [rbp + 0x10], rax
jmp 0x140011c30
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.140011366
mov rax, rdi
mov rcx, qword [rbp + 0x1bd8]
xor rcx, rbp
call fcn.1400111ef
lea rsp, [rbp + 0x1be8]
pop rdi
pop rbp
ret