Function at 0x140011154
Capabilities:
Check for time delay via gettickcount
Create raw socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
jmp 0x1400123e0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1018
call fcn.1400110be
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2da
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1038]
mov rax, qword [0x14001f008]
xor rax, rbp
mov qword [rbp + 0xfd8], rax
lea rcx, [0x140025036]
call fcn.14001141a
lea rdx, [rbp + 0x10]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov r8d, 1
mov edx, 3
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov dword [rbp + 0x1c4], eax
mov eax, dword [rbp + 0x1c4]
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x1008]
mov r8d, 0x1006
mov edx, 0xffff
mov ecx, eax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rbp + 0x1e4], gethostbyname
lea rax, [rbp + 0x210]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov edx, dword [rbp + 0x1e4]
lea rcx, [rbp + 0x210]
call fcn.14001115e
mov eax, dword [rbp + 0x218]
mov dword [rbp + 0x624], eax
mov r8d, setsockopt
xor edx, edx
lea rcx, [rbp + 0x648]
call fcn.140011339
mov rcx, qword [rbp + 0x1000]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
movsx rax, word [rax + 0x12]
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x678]
mov rdx, qword [rdx + 0x18]
mov r8, rax
mov rdx, qword [rdx + rcx]
lea rcx, [rbp + 0x64c]
call fcn.14001120d
mov rax, qword [rbp + 0x678]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x648], ax
mov eax, dword [rbp + 0x1c4]
mov dword [rsp + 0x28], setsockopt
lea rcx, [rbp + 0x648]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, dword [rbp + 0x1e4]
lea rdx, [rbp + 0x210]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rbp + 0x694], 0xffffffff
mov dword [rbp + 0x6e4], setsockopt
xor eax, eax
cmp eax, 1
je 0x140012640
lea rax, [rbp + 0x710]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov eax, dword [rbp + 0x1c4]
lea rcx, [rbp + 0x6e4]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x6b8]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0x710]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rbp + 0xb24], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
lea r8, [rbp + 0x6b8]
mov edx, dword [rbp + 0xb24]
lea rcx, [rbp + 0x710]
call fcn.140011325
mov dword [rbp + 0xb44], eax
cmp dword [rbp + 0xb44], 0
jl 0x14001260d
mov dword [rbp + 0x694], 0
jmp 0x140012640
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbp + 0x624]
cmp eax, dword [rbp + 0x1008]
jae 0x14001262f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [rbp + 0x624]
jae 0x14001263b
mov dword [rbp + 0x694], 0xffffffff
jmp 0x140012640
jmp 0x140012574
mov eax, dword [rbp + 0x1c4]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [rbp + 0x694]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001be70]
call fcn.14001138e
mov eax, edi
mov rcx, qword [rbp + 0xfd8]
xor rcx, rbp
call fcn.140011208
lea rsp, [rbp + 0xfe8]
pop rdi
pop rbp
ret