Function at 0x1400ab20c
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 rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov rsi, r9
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x6c], reloc.WS2_32.dll_recv
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x90], xmm6
mov ecx, 2
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x1400ab43c
mov rdi, rax
mov qword [rsp + 0xb0], 0
mov word [rsp + 0xa8], 2
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0xac], eax
mov word [rsp + 0xaa], 0
pcmpeqd xmm0, xmm0
movdqu xmmword [rsi], xmm0
lea r9, [rsp + 0x50]
mov dword [r9], 1
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 0xffff
mov r8d, 0xfffffffb
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400ab417
lea rdx, [rsp + 0xa8]
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1400ab417
lea rdx, [rsp + 0xa8]
lea r8, [rsp + 0x6c]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1400ab417
cmp dword [rsp + 0x6c], 0x10
jl 0x1400ab417
mov rcx, rdi
mov edx, 1
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1400ab417
mov ecx, 2
mov edx, 1
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x1400ab417
lea rdx, [rsp + 0xa8]
mov rcx, rax
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400ab417
mov rcx, rdi
mov edx, 1
call fcn.1400d8128
test eax, eax
js 0x1400ab417
lea rcx, [rsp + 0x90]
mov qword [rcx], rdi
mov dword [rcx + 8], 0x300
mov r8d, 0x3e8
mov edx, 1
call fcn.1400b889c
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1400ab417
lea rcx, [rsp + 0x50]
movaps xmmword [rcx], xmm6
call fcn.140046bd4
mov al, 0xaa
lea rdx, [rsp + 0x80]
mov byte [rdx + 8], al
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rdx], rcx
mov byte [rsp + 0x78], al
mov qword [rsp + 0x70], rcx
mov ebx, 9
mov r8d, 9
xor ecx, ecx
call fcn.1400b8be0
test eax, eax
je 0x1400ab46f
mov rbx, qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rdi
call rbx
mov rcx, qword [rsi]
call rbx
mov rdi, qword [rsi + 8]
mov esi, 0xffffffff
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1400ab441
mov esi, 0xffffffff
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14015c2e0
mov eax, esi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi]
lea rdx, [rsp + 0x80]
mov r8d, 9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
lea r14, [rsp + 0x70]
mov r15, qword [sym.imp.WS2_32.dll_recv]
lea r12, [rsp + 0x40]
lea r13, [rsp + 0x30]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 0x300
mov r8d, 0x3e8
lea rcx, [rsp + 0x90]
mov edx, 1
call fcn.1400b889c
mov rcx, qword [rsi + 8]
mov rdx, r14
mov r8d, ebx
xor r9d, r9d
call r15
cmp eax, 0xffffffff
jne 0x1400ab523
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
mov rcx, r12
call fcn.140046bd4
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, r12
mov rdx, r13
call fcn.140046c72
cmp rax, 0xea60
jg 0x1400ab417
cmp ebp, 0x2733
je 0x1400ab49f
jmp 0x1400ab417
cdqe
sub rbx, rax
je 0x1400ab532
add r14, rax
jmp 0x1400ab49f
mov rax, qword [rsp + 0x80]
xor rax, qword [rsp + 0x70]
mov cl, byte [rsp + 0x88]
xor cl, byte [rsp + 0x78]
movzx ecx, cl
or rcx, rax
jne 0x1400ab417
xor esi, esi
jmp 0x1400ab431