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

Disassembly:
endbr64
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rbp, qword [0x140485900]
pxor xmm0, xmm0
xor r12d, r12d
mov rax, qword [rbp]
mov qword [rsp + 0x78], rax
xor eax, eax
mov rdi, rcx
mov r13, rdx
mov rsi, r8
movups xmmword [rsp + 0x50], xmm0
lea rbx, [rcx + 0x78]
lea r15, [rcx + 0x1b8]
mov r8, qword [rbx + 0x38]
test r8, r8
je 0x1402f8cb8
mov rax, r13
xor edx, edx
mov r9, qword [rbx + 0x30]
div r8
shl rdx, 4
add rdx, r9
mov rcx, qword [rdx]
cmp rcx, rbx
je 0x1402f8cb8
mov rax, qword [rdx + 8]
mov rax, qword [rax]
cmp rcx, rax
jne 0x1402f8b9c
jmp 0x1402f8cb8
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1402f8cb8
cmp r13, qword [rcx + 0x10]
jne 0x1402f8b90
cmp rbx, rcx
je 0x1402f8cb8
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x1402f8c46
mov r8, qword [rsp + 0x58]
xor r10d, r10d
jmp 0x1402f8bdb
mov qword [r8 + 0x20], rdx
mov rax, qword [rcx + 0x18]
mov r8, rdx
test rax, rax
je 0x1402f8c2f
mov rdx, rax
movdqu xmm1, xmmword [rsi]
movups xmmword [rdx + 0x38], xmm1
mov rax, qword [rsi + 0x10]
mov qword [rdx + 0x48], rax
mov r9, qword [rcx + 0x18]
test r9, r9
je 0x1402f8c0d
mov rax, qword [r9 + 0x20]
mov qword [rcx + 0x18], rax
test rax, rax
je 0x1402f8d30
mov qword [r9 + 0x20], 0
mov qword [rdx + 0x20], 0
test r8, r8
jne 0x1402f8bc8
mov rax, qword [rcx + 0x18]
mov r14, rdx
mov r10d, 1
mov r8, rdx
test rax, rax
jne 0x1402f8bd8
mov qword [rsp + 0x58], rdx
test r10b, r10b
je 0x1402f8c3e
mov qword [rsp + 0x50], r14
mov r8, qword [rbx + 0x38]
mov r9, qword [rbx + 0x30]
mov rax, qword [rcx + 0x10]
xor edx, edx
div r8
shl rdx, 4
lea rax, [r9 + rdx]
mov r8, qword [rax]
mov r9, qword [rax + 8]
cmp r8, rcx
jne 0x1402f8e3d
cmp r9, rcx
jne 0x1402f8e38
mov qword [rax + 8], rbx
add rdx, qword [rbx + 0x30]
mov rax, qword [rdx + 8]
mov qword [rdx], rax
mov qword [rcx + 0x10], 0
mov rax, qword [rbx + 0x18]
mov r8, qword [rcx]
cmp rax, rcx
je 0x1402f8cad
cmp rax, r8
je 0x1402f8cad
mov rdx, rcx
mov rcx, rax
call sym.std::__detail::_List_node_base::_M_transfer_std::__detail::_List_node_base__std::__detail::_List_node_base_
add qword [rbx + 0x28], 1
sub qword [rbx + 0x10], 1
sub qword [rbx - 8], 1
mov r12d, 1
add rbx, 0x50
cmp r15, rbx
jne 0x1402f8b49
mov r13, qword [rdi + 0x28]
mov r14, qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov rbx, qword [rsp + 0x50]
jmp 0x1402f8d09
mov qword [rbx + 0x20], 0
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov dword [rbx + 0x30], 1
mov rcx, qword [r13 + 0x28]
call r14
test eax, eax
je 0x1402f8dc8
mov rbx, rsi
test rbx, rbx
je 0x1402f8d40
mov rsi, qword [rbx + 0x20]
mov qword [rsp + 0x50], rsi
test rsi, rsi
jne 0x1402f8ce0
mov qword [rsp + 0x58], 0
jmp 0x1402f8ce0
mov qword [rcx + 0x20], 0
jmp 0x1402f8c05
test r12b, r12b
je 0x1402f8d9e
lea rax, [rsp + 0x4b]
mov rcx, qword [rdi + 0x60]
mov byte [rsp + 0x4b], 0
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x4c]
mov r8d, 1
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASend]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rax, qword [rsp + 0x78]
sub rax, qword [rbp]
jne 0x1402f8e9a
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [r13 + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x20], 0
mov rax, qword [r13 + 0x98]
test rax, rax
je 0x1402f8e68
mov qword [rax + 0x20], rbx
mov qword [r13 + 0x98], rbx
test rsi, rsi
jne 0x1402f8e10
mov eax, 1
xchg dword [r13 + 0x58], eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1402f8cd0
mov rax, qword [r13 + 0x98]
pxor xmm0, xmm0
mov qword [rax + 0x20], rsi
mov rax, qword [rsp + 0x58]
movups xmmword [rsp + 0x50], xmm0
mov qword [r13 + 0x98], rax
jmp 0x1402f8df9
cmp r8, rcx
je 0x1402f8e58
cmp r9, rcx
jne 0x1402f8c7f
mov rdx, qword [rcx + 8]
mov qword [rax + 8], rdx
jmp 0x1402f8c7f
mov rdx, qword [rcx]
mov qword [rax], rdx
jmp 0x1402f8c7f
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [r13 + 0x90], xmm0
jmp 0x1402f8df4
call dbg.__stack_chk_fail
mov rcx, rbx
call sym._Unwind_Resume
nop
nop
nop
nop
nop
nop
nop
nop
nop