Function at 0x1800c10e0
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 rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xc8
mov ebx, 2
mov dword [rbp - 0x59], reloc.WS2_32.dll_recv
mov ecx, ebx
mov edx, 1
mov r8d, 6
mov r14, r9
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800c112a
add rsp, 0xc8
pop r14
pop rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0xf0], rsi
mov ecx, 0x7f000001
mov qword [rsp + 0xf8], r12
xor r12d, r12d
mov qword [rsp + 0x100], r13
mov qword [rsp + 0xc0], r15
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rbp - 0x29], r12
mov word [rbp - 0x31], bx
call qword [sym.imp.WS2_32.dll_htonl]
lea r9, [rbp - 0x55]
mov word [rbp - 0x2f], r12w
mov edx, 0xffff
mov dword [rbp - 0x2d], eax
mov r8d, 0xfffffffb
mov qword [r14 + 8], 0xffffffffffffffff
mov rcx, rdi
mov qword [r14], 0xffffffffffffffff
mov dword [rbp - 0x55], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1800c134f
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1800c134f
lea r8, [rbp - 0x59]
mov rcx, rdi
lea rdx, [rbp - 0x31]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1800c134f
cmp dword [rbp - 0x59], 0x10
jl 0x1800c134f
mov edx, 1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1800c134f
xor r8d, r8d
mov edx, 1
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [r14], rax
cmp rax, 0xffffffffffffffff
je 0x1800c134f
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x31]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1800c134f
mov edx, 1
mov rcx, rdi
call fcn.1800d59f0
test eax, eax
js 0x1800c134f
mov edx, 1
mov qword [rbp - 0x51], rdi
mov r8d, 0x3e8
mov dword [rbp - 0x49], 0x300
lea rcx, [rbp - 0x51]
call fcn.1800be6c0
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov qword [r14 + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1800c134f
lea rcx, [rbp - 9]
call fcn.18009c2b0
mov ebx, 9
lea rdx, [rbp - 0x41]
mov r8d, ebx
lea rsi, [rbp - 0x21]
xor ecx, ecx
movups xmm6, xmmword [rax]
call fcn.1800c2390
test eax, eax
jne 0x1800c134f
mov rcx, qword [r14]
lea rdx, [rbp - 0x41]
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.WS2_32.dll_send]
nop dword [rax]
mov rax, qword [r14 + 8]
lea rcx, [rbp - 0x51]
mov edx, 1
mov qword [rbp - 0x51], rax
mov r8d, 0x3e8
mov dword [rbp - 0x49], 0x300
call fcn.1800be6c0
mov rcx, qword [r14 + 8]
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1800c13a5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, [rbp + 0x17]
movdqa xmmword [rbp + 7], xmm6
mov r15d, eax
call fcn.18009c2b0
lea rdx, [rbp + 7]
lea rcx, [rbp - 9]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 9], xmm0
call fcn.18009c340
cmp rax, 0xea60
jg 0x1800c134f
cmp r15d, 0x2733
je 0x1800c12d0
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [r14 + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xffffffff
mov r15, qword [rsp + 0xc0]
mov r13, qword [rsp + 0x100]
mov r12, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop r14
pop rdi
pop rbx
pop rbp
ret
sub rbx, rcx
je 0x1800c13b2
add rsi, rcx
jmp 0x1800c12d0
mov rax, qword [rbp - 0x41]
cmp rax, qword [rbp - 0x21]
jne 0x1800c134f
movzx eax, byte [rbp - 0x39]
cmp al, byte [rbp - 0x19]
jne 0x1800c134f
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x1800c1370