Function at 0x14007ca30
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 0x14007cca9
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 0x14007cc92
mov r8d, 0x10
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14007cc92
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14007cc92
cmp dword [rsp + 0x58], 0xf
jle 0x14007cc92
mov edx, 1
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x14007cc92
mov ecx, 2
xor r8d, r8d
mov edx, 1
call r12
mov qword [rsi], rax
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x14007cc92
mov r8d, 0x10
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14007cc92
mov edx, 1
mov rcx, rbx
call fcn.14008d7d0
test eax, eax
js 0x14007cc92
movd xmm6, dword [0x140178390]
mov r8d, 0x3e8
mov edx, 1
mov rcx, rbp
mov qword [rsp + 0x80], rbx
movd dword [rsp + 0x88], xmm6
call fcn.1400570d0
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 0x14007cc92
lea r14, [rsp + 0x40]
lea rdi, [rsp + 0x5e]
mov rcx, r14
call fcn.14005c650
xor ecx, ecx
mov r8d, 9
mov rdx, rdi
movdqu xmm8, xmmword [rsp + 0x40]
call fcn.1400561f0
test eax, eax
jne 0x14007cc92
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 fcn.1400570d0
xor r9d, r9d
mov rcx, qword [rsi + 8]
mov r8d, edi
mov rdx, r12
call r13
cmp eax, 0xffffffff
je 0x14007cce0
cdqe
sub rdi, rax
jne 0x14007ccd8
mov rax, qword [rsp + 0x67]
cmp qword [rsp + 0x5e], rax
je 0x14007cd20
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 0x14007cc3e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, r14
mov r15d, eax
call fcn.14005c650
lea rdx, [rsp + 0x30]
mov rcx, r14
movups xmmword [rsp + 0x30], xmm8
call fcn.14005c6e0
cmp r15d, 0x2733
jne 0x14007cc92
cmp rax, 0xea60
jle 0x14007cc3e
jmp 0x14007cc92
movzx eax, byte [rsp + 0x6f]
cmp byte [rsp + 0x66], al
jne 0x14007cc92
xor esi, esi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14007ccae