Function at 0x1402af694
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov qword [rsp + 0x60], rdx
mov r14, rcx
lea r12, [rsp + 0x72]
lea rbx, [rsp + 0x42]
lea r15, [rcx + 0x18]
xor eax, eax
cmp qword [rcx + 0x18], 0xffffffffffffffff
cmove r15, rax
mov rbp, qword [r8 + 8]
mov rdi, qword [r8 + 0x10]
mov rcx, rbp
sub rcx, rdi
mov qword [rsp + 0x48], r8
mov rax, qword [r8]
add rax, rdi
mov qword [rsp + 0x50], rax
mov eax, 0x7fffffff
cmp rcx, rax
cmovae rcx, rax
mov qword [rsp + 0x58], rcx
lea r13, [rsp + 0x68]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r14
mov rdx, qword [r14 + 0x10]
mov rcx, r13
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call fcn.1402af46b
mov al, byte [rsp + 0x71]
cmp al, 3
je 0x1402af82f
mov rsi, qword [rsp + 0x68]
cmp al, 2
je 0x1402af867
mov cl, byte [rsp + 0x70]
movzx edx, word [r12 + 4]
mov word [rbx + 4], dx
mov edx, dword [r12]
mov dword [rbx], edx
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x40], cl
mov byte [rsp + 0x41], al
cmp rbp, rdi
jb 0x1402af880
mov rcx, r15
lea rdx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_poll_evented.rs
call fcn.1402ad6ac
mov rcx, qword [r15]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x1402af836
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x1402af83b
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.14001b929
cmp al, 0xd
jne 0x1402af804
mov rax, qword [r15 + 8]
test rax, rax
je 0x1402af804
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1402af894
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.14013411e
mov r15, rax
xor ecx, ecx
call fcn.14026316d
test r15, r15
je 0x1402af7fa
mov ecx, 1
mov rdx, rsi
call fcn.140134243
mov rsi, r15
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
mov rcx, rsi
call fcn.1402a9836
cmp al, 0xd
jne 0x1402af867
mov qword [rsp + 0x68], rsi
mov rcx, r14
lea rdx, [rsp + 0x38]
call fcn.1402af408
mov rcx, r13
call fcn.1401345a1
jmp 0x1402af706
mov eax, 1
jmp 0x1402af869
movsxd r8, eax
jmp 0x1402af83e
xor r8d, r8d
lea rax, [rdi + r8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx + 0x18]
cmp rax, rcx
jbe 0x1402af857
mov qword [rdx + 0x18], rax
mov rcx, rax
add rdi, r8
jb 0x1402af898
cmp rcx, rax
jb 0x1402af8b2
mov qword [rdx + 0x10], rax
xor esi, esi
xor eax, eax
mov rdx, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_read_buf.rs
mov rcx, rdi
mov rdx, rbp
call fcn.1400b2eb0
ud2
ud2
lea rcx, str.filled_overflowfilled_must_not_become_larger_than_initialized
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_poll_evented.rs
mov edx, 0xf
call fcn.1400bb2d0
ud2
lea rax, [0x1405c3018]
lea rcx, [rsp + 0x68]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, str.failed_to_write_whole_buffer
mov qword [rcx + 0x10], rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rcx + 0x18], xmm0
lea rdx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_poll_evented.rs
call fcn.1400b2c00
ud2