Function at 0x1400712d0
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
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, qword [sym.imp.WS2_32.dll_socket]
mov edx, 1
mov ecx, 2
mov r8d, 6
mov r15d, dword [rsp + 0x120]
mov dword [rsp + 0x68], 0x10
mov rbx, r9
call rsi
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140071628
mov eax, 2
mov qword [rsp + 0x80], 0
mov ecx, 0x7f000001
lea rdi, [rsp + 0x90]
mov word [rsp + 0x80], ax
lea r13, [rsp + 0x80]
mov qword [rsp + 0x88], 0
call qword [sym.imp.WS2_32.dll_htonl]
xor edx, edx
pcmpeqd xmm0, xmm0
mov r9, rdi
mov dword [rsp + 0x84], eax
mov r8d, 0xfffffffb
mov rcx, r12
mov word [rsp + 0x82], dx
mov edx, 0xffff
mov dword [rsp + 0x90], 1
mov dword [rsp + 0x20], 4
movups xmmword [rbx], xmm0
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14007153d
mov r8d, 0x10
mov rdx, r13
mov rcx, r12
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14007153d
lea r8, [rsp + 0x68]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14007153d
cmp dword [rsp + 0x68], 0xf
jle 0x14007153d
mov edx, 1
mov rcx, r12
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x14007153d
mov ecx, 2
xor r8d, r8d
mov edx, 1
call rsi
mov qword [rbx], rax
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x14007153d
mov r8d, 0x10
mov rdx, r13
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14007153d
mov edx, 1
mov rcx, r12
call sym.curlx_nonblock
test eax, eax
js 0x14007153d
mov r8d, 0x3e8
mov edx, 1
mov rcx, rdi
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 1
call sym.Curl_poll
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x14007153d
lea r13, [rsp + 0x50]
lea r14, [rsp + 0x6e]
mov rcx, r13
call sym.Curl_now
xor ecx, ecx
mov r8d, 9
mov rdx, r14
movdqu xmm6, xmmword [rsp + 0x50]
call sym.Curl_rand_bytes
test eax, eax
jne 0x14007153d
mov rdx, r14
mov rcx, qword [rbx]
xor r9d, r9d
mov r8d, 9
mov esi, 9
lea rbp, [rsp + 0x77]
lea r14, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_send]
mov rax, qword [rbx + 8]
mov r8d, 0x3e8
mov edx, 1
mov rcx, rdi
mov dword [rsp + 0x98], 1
mov qword [rsp + 0x90], rax
call sym.Curl_poll
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140071590
cdqe
sub rsi, rax
jne 0x140071580
mov rax, qword [rsp + 0x77]
cmp qword [rsp + 0x6e], rax
je 0x1400715d8
mov rsi, qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, r12
mov r13d, 0xffffffff
call rsi
mov rcx, qword [rbx]
call rsi
mov rcx, qword [rbx + 8]
call rsi
nop
movaps xmm6, xmmword [rsp + 0xa0]
mov eax, r13d
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add rbp, rax
jmp 0x1400714e4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, r13
mov dword [rsp + 0x3c], eax
call sym.Curl_now
mov rdx, r14
mov rcx, r13
movaps xmmword [rsp + 0x40], xmm6
call sym.Curl_timediff
cmp rax, 0xea60
jg 0x14007153d
cmp dword [rsp + 0x3c], 0x2733
je 0x1400714e4
jmp 0x14007153d
movzx eax, byte [rsp + 0x7f]
cmp byte [rsp + 0x76], al
jne 0x14007153d
xor r13d, r13d
test r15b, r15b
je 0x14007161a
mov rcx, qword [rbx]
mov edx, 1
call sym.curlx_nonblock
test eax, eax
js 0x14007153d
mov rcx, qword [rbx + 8]
mov edx, 1
call sym.curlx_nonblock
test eax, eax
js 0x14007153d
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14007155b
mov r13d, 0xffffffff
jmp 0x14007155b