Function at 0x14006ae30
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, 0xc8
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0xb0], xmm8
mov r12, qword [sym.imp.WS2_32.dll_socket]
mov edx, 1
mov ecx, 2
mov r8d, 6
mov r15d, dword [rsp + 0x130]
mov dword [rsp + 0x68], 0x10
mov rsi, r9
call r12
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006b0c3
mov eax, 2
mov ecx, 0x7f000001
mov qword [rsp + 0x82], 0
lea rbp, [rsp + 0x90]
mov word [rsp + 0x80], ax
lea rdi, [rsp + 0x80]
mov qword [rsp + 0x88], 0
call qword [sym.imp.WS2_32.dll_htonl]
xor edx, edx
pcmpeqd xmm0, xmm0
mov r9, rbp
movups xmmword [rsi], xmm0
mov rcx, rbx
mov r8d, 0xfffffffb
mov word [rsp + 0x82], dx
mov edx, 0xffff
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x90], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14006b0ac
mov r8d, 0x10
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14006b0ac
lea r8, [rsp + 0x68]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14006b0ac
cmp dword [rsp + 0x68], 0xf
jle 0x14006b0ac
mov edx, 1
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x14006b0ac
mov ecx, 2
xor r8d, r8d
mov edx, 1
call r12
mov qword [rsi], rax
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x14006b0ac
mov r8d, 0x10
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14006b0ac
mov edx, 1
mov rcx, rbx
call sym.curlx_nonblock
test eax, eax
js 0x14006b0ac
movd xmm6, dword [0x1400ffca0]
mov r8d, 0x3e8
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x90], rbx
movd dword [rsp + 0x98], 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 0x14006b0ac
lea r14, [rsp + 0x50]
lea rdi, [rsp + 0x6e]
mov rcx, r14
call sym.Curl_now
xor ecx, ecx
mov r8d, 9
mov rdx, rdi
movdqu xmm8, xmmword [rsp + 0x50]
call sym.Curl_rand
test eax, eax
jne 0x14006b0ac
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 + 0x77]
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 + 0x98], xmm6
mov qword [rsp + 0x90], 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 0x14006b100
cdqe
sub rdi, rax
jne 0x14006b0f0
mov rax, qword [rsp + 0x77]
cmp qword [rsp + 0x6e], rax
je 0x14006b148
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 edi, 0xffffffff
movaps xmm6, xmmword [rsp + 0xa0]
mov eax, edi
movaps xmm8, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add r12, rax
jmp 0x14006b058
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, r14
mov dword [rsp + 0x3c], eax
call sym.Curl_now
lea rdx, [rsp + 0x40]
mov rcx, r14
movaps xmmword [rsp + 0x40], xmm8
call sym.Curl_timediff
cmp dword [rsp + 0x3c], 0x2733
jne 0x14006b0ac
cmp rax, 0xea60
jle 0x14006b058
jmp 0x14006b0ac
movzx eax, byte [rsp + 0x7f]
cmp byte [rsp + 0x76], al
jne 0x14006b0ac
xor edi, edi
test r15b, r15b
je 0x14006b189
mov rcx, qword [rsi]
mov edx, 1
call sym.curlx_nonblock
test eax, eax
js 0x14006b0ac
mov rcx, qword [rsi + 8]
mov edx, 1
call sym.curlx_nonblock
test eax, eax
js 0x14006b0ac
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14006b0c8