Function at 0x14071ee00
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Encode data using xor
Resolve dns
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14075c4c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
mov dword [rbp - 0x31], 0x10400
mov r14d, 2
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
mov edx, r14d
mov ecx, r14d
mov qword [rbp - 0x39], r15
mov r8d, reloc.WS2_32.dll_recvfrom
mov qword [rbp - 9], r15
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x14071ee7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14071f01f
mov rax, qword [0x140756978]
mov qword [rbp - 0x41], rax
test al, al
jne 0x14071eeb8
mov dword [rbp - 0x49], r15d
mov eax, dword [rbp - 0x49]
movsxd rax, dword [rbp - 0x49]
mov edx, dword [rbp - 0x49]
add edx, 0x78
xor edx, dword [rbp + rax*4 - 0x3d]
movsxd rax, dword [rbp - 0x49]
mov dword [rbp + rax*4 - 0x3d], edx
mov eax, dword [rbp - 0x49]
inc eax
mov dword [rbp - 0x49], eax
mov eax, dword [rbp - 0x49]
cmp eax, 1
jb 0x14071ee92
mov eax, dword [rbp - 0x3d]
lea r9, reloc.WS2_32.dll_htonl
xor edx, edx
lea rcx, [rbp - 1]
mov r8d, gethostbyname
call qword [r9 + rax*8]
lea r9, [rbp - 0x39]
mov dword [rbp + 3], r14d
lea r8, [rbp - 1]
mov dword [rbp + 7], r14d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x14071ef02
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x14071f01f
cmp qword [rbp - 0x39], r15
je 0x14071eef7
movzx ecx, si
mov word [rbp - 0x11], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0xf], ax
mov r8d, reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x39]
lea rdx, [rbp - 0x11]
mov rcx, qword [rax + 0x20]
mov eax, dword [rcx + 4]
mov rcx, qword [rbx]
mov dword [rbp - 0xd], eax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14071ee71
mov rcx, qword [rbx]
lea r9, [rbp - 0x31]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1002
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx]
lea r9, [rbp - 0x31]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx]
lea r9, [rbp - 0x29]
mov edi, 1
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov dword [rbp - 0x29], edi
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx]
lea rax, [rbp - 0x25]
mov qword [rsp + 0x40], r15
lea r8, [rbp - 0x21]
mov qword [rsp + 0x38], r15
mov r9d, ntohs
mov qword [rsp + 0x30], rax
mov edx, 0x98000004
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov dword [rbp - 0x21], edi
mov dword [rbp - 0x1d], 0x2710
mov dword [rbp - 0x19], 0x2710
mov dword [rbp - 0x25], r15d
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rcx, qword [rbx]
lea r9, [rbp - 0x2d]
mov edx, 0xffff
mov dword [rbp - 0x2d], 0xa0001
mov r8d, 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140743ce0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret