Function at 0x14008cbf0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
movups xmmword [rsp + 0x90], xmm6
movups xmmword [rsp + 0xa0], xmm8
mov r12, qword [sym.imp.WS2_32.dll_socket]
mov edx, 1
mov ecx, 2
mov r8d, 6
mov dword [rsp + 0x58], 0x10
mov rsi, r9
call r12
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008ce69
mov eax, 2
mov ecx, 0x7f000001
mov qword [rsp + 0x72], 0
lea rbp, [rsp + 0x80]
mov qword [rsp + 0x78], 0
lea rdi, [rsp + 0x70]
mov word [rsp + 0x70], ax
call qword [sym.imp.WS2_32.dll_htonl]
xor edx, edx
pcmpeqd xmm0, xmm0
mov r9, rbp
mov word [rsp + 0x72], dx
mov rcx, rbx
mov r8d, 0xfffffffb
mov edx, 0xffff
movups xmmword [rsi], xmm0
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14008ce52
mov r8d, 0x10
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14008ce52
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14008ce52
cmp dword [rsp + 0x58], 0xf
jle 0x14008ce52
mov edx, 1
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x14008ce52
mov ecx, 2
xor r8d, r8d
mov edx, 1
call r12
mov qword [rsi], rax
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x14008ce52
mov r8d, 0x10
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14008ce52
mov edx, 1
mov rcx, rbx
call sym.curlx_nonblock
test eax, eax
js 0x14008ce52
movd xmm6, dword [0x14017a770]
mov r8d, 0x3e8
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x80], rbx
movd dword [rsp + 0x88], xmm6
call sym.Curl_poll
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x14008ce52
lea r14, [rsp + 0x40]
lea rdi, [rsp + 0x5e]
mov rcx, r14
call sym.Curl_now
xor ecx, ecx
mov r8d, 9
mov rdx, rdi
movdqu xmm8, xmmword [rsp + 0x40]
call sym.Curl_rand
test eax, eax
jne 0x14008ce52
mov rdx, rdi
mov rcx, qword [rsi]
xor r9d, r9d
mov r8d, 9
call qword [sym.imp.WS2_32.dll_send]
mov edi, 9
lea r12, [rsp + 0x67]
mov r13, qword [sym.imp.WS2_32.dll_recv]
mov rax, qword [rsi + 8]
mov r8d, 0x3e8
mov edx, 1
mov rcx, rbp
movd dword [rsp + 0x88], xmm6
mov qword [rsp + 0x80], rax
call sym.Curl_poll
xor r9d, r9d
mov rcx, qword [rsi + 8]
mov r8d, edi
mov rdx, r12
call r13
cmp eax, 0xffffffff
je 0x14008cea0
cdqe
sub rdi, rax
jne 0x14008ce98
mov rax, qword [rsp + 0x67]
cmp qword [rsp + 0x5e], rax
je 0x14008cee0
mov rcx, rbx
mov rbx, qword [sym.imp.WS2_32.dll_closesocket]
call rbx
mov rcx, qword [rsi]
call rbx
mov rcx, qword [rsi + 8]
call rbx
mov esi, 0xffffffff
movups xmm6, xmmword [rsp + 0x90]
mov eax, esi
movups xmm8, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add r12, rax
jmp 0x14008cdfe
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, r14
mov r15d, eax
call sym.Curl_now
lea rdx, [rsp + 0x30]
mov rcx, r14
movups xmmword [rsp + 0x30], xmm8
call sym.Curl_timediff
cmp r15d, 0x2733
jne 0x14008ce52
cmp rax, 0xea60
jle 0x14008cdfe
jmp 0x14008ce52
movzx eax, byte [rsp + 0x6f]
cmp byte [rsp + 0x66], al
jne 0x14008ce52
xor esi, esi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14008ce6e