Function at 0x14001afbb
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x288
movaps xmmword [rsp + 0x270], xmm6
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r8
mov r12, qword [rsp + 0x300]
cmp rcx, 0xffffffffffffffff
je 0x14001b01b
mov rsi, rcx
test dl, 0x10
je 0x14001b08f
cmp byte [rsp + 0x2f8], 0
je 0x14001b08f
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], 0
jmp 0x14001b071
mov rax, qword [0x140098750]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x14001b053
mov rax, qword [0x140098748]
lea rcx, [0x140098748]
mov edx, 0x2719
call qword [rax + 0x30]
mov ecx, 2
test al, al
je 0x14001b058
mov ecx, 3
mov qword [r12], 0x2719
lea rax, [0x140098748]
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], rcx
xor eax, eax
movaps xmm6, xmmword [rsp + 0x270]
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsp + 0x3b], dl
lea eax, [rsi + 1]
mov dword [rsp + 0x3c], eax
xorps xmm6, xmm6
lea rbp, [0x140098748]
lea rdi, [rsp + 0x68]
movabs rbx, 0x595588bd12bf6fe8
mov dword [rsp + 0x50], 0
movups xmmword [rsp + 0x28], xmm6
mov eax, dword [rsp + 0x2f0]
mov dword [rsp + 0x20], eax
mov rcx, rsi
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
lea r9, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSASend]
mov r15d, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r14, rdi
mov rcx, rdi
mov edx, eax
mov r8, rbp
call fcn.14000689a
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [r12], xmm0
mov rax, qword [rsp + 0x78]
mov qword [r12 + 0x10], rax
mov rdi, qword [r12 + 0x10]
mov r13d, dword [r12]
cmp rdi, 1
jne 0x14001b1a6
mov rcx, qword [r12 + 8]
mov rax, rcx
movabs rdx, 0x4800144005b3
mul rdx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul eax, eax, 0x1ffff7
sub ecx, eax
imul eax, ecx, 0x3e8
add eax, r13d
cmp eax, 0x40
je 0x14001b1af
cmp eax, 0x4d2
jne 0x14001b201
mov rax, qword [0x140098750]
shr rax, 1
cmp rax, rbx
je 0x14001b199
mov rax, qword [0x140098748]
mov r13d, 0x274d
mov rcx, rbp
mov edx, 0x274d
call qword [rax + 0x30]
mov edi, 2
test al, al
je 0x14001b1ea
mov edi, 3
mov r13d, 0x274d
jmp 0x14001b1ea
mov eax, r13d
cmp r13d, 0x40
jne 0x14001b15e
mov rax, qword [0x140098750]
shr rax, 1
cmp rax, rbx
je 0x14001b1df
mov rax, qword [0x140098748]
mov r13d, 0x2746
mov rcx, rbp
mov edx, 0x2746
call qword [rax + 0x30]
mov edi, 2
test al, al
je 0x14001b1ea
mov edi, 3
mov r13d, 0x2746
mov dword [r12], r13d
mov dword [r12 + 4], 0
mov qword [r12 + 8], rbp
mov qword [r12 + 0x10], rdi
test r15d, r15d
je 0x14001b20c
mov cl, byte [rsp + 0x3b]
jmp 0x14001b22f
movups xmmword [r12], xmm6
mov qword [r12 + 0x10], 0
mov eax, dword [rsp + 0x50]
test eax, eax
mov cl, byte [rsp + 0x3b]
jns 0x14001b073
xor r13d, r13d
xor edi, edi
test cl, 1
jne 0x14001b071
mov rax, qword [0x140098750]
shr rax, 1
cmp rax, rbx
je 0x14001b262
mov rax, qword [0x140098748]
mov rcx, rbp
mov edx, 0x2733
call qword [rax + 0x30]
mov rdi, qword [r12 + 0x10]
mov r13d, dword [r12]
cmp rdi, 1
je 0x14001b2b0
cmp r13d, 0x2733
jne 0x14001b2b0
mov rcx, rbp
test rdi, rdi
je 0x14001b27e
mov rcx, qword [r12 + 8]
mov rax, qword [0x140098750]
xor edx, edx
cmp rcx, rbp
setne dl
xor ebx, ebx
cmp qword [rcx + 8], rax
setne bl
test rax, rax
cmove ebx, edx
cmp bl, 1
movabs rbx, 0x595588bd12bf6fe8
je 0x14001b2b7
jmp 0x14001b333
mov rax, qword [0x140098750]
shr rax, 1
cmp rax, rbx
je 0x14001b2da
mov rax, qword [0x140098748]
mov rcx, rbp
mov edx, 0x4d5
call qword [rax + 0x30]
mov rdi, qword [r12 + 0x10]
mov r13d, dword [r12]
cmp rdi, 1
je 0x14001b071
mov eax, 0
cmp r13d, 0x4d5
jne 0x14001b073
mov rax, rbp
test rdi, rdi
je 0x14001b303
mov rax, qword [r12 + 8]
mov rcx, qword [0x140098750]
xor edx, edx
cmp rax, rbp
setne dl
xor ebx, ebx
cmp qword [rax + 8], rcx
setne bl
test rcx, rcx
cmove ebx, edx
test bl, bl
movabs rbx, 0x595588bd12bf6fe8
jne 0x14001b071
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x20], 0
mov ecx, dword [rsp + 0x3c]
xor edx, edx
mov rdi, r14
mov r8, r14
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x14001b375
movups xmmword [r12], xmm6
mov qword [r12 + 0x10], 0
jmp 0x14001b0b3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, [0x140098748]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov edx, eax
call fcn.14000689a
movups xmm0, xmmword [rsi]
movups xmmword [r12], xmm0
mov rax, qword [rsi + 0x10]
mov qword [r12 + 0x10], rax
jmp 0x14001b071