Function at 0x140107170
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, 0x58
mov rsi, r8
mov rbx, qword [rcx + 0x10]
mov r14, qword [rcx + 0x18]
cmp r14, 0xffffffffffffffff
je 0x140107332
mov rax, qword [rdx]
mov qword [rsp + 0x20], rax
mov rdi, qword [rcx + 0x20]
jmp 0x1401071d5
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, rbp
call fcn.14011d4ec
dec r12
mov rcx, qword [0x1401b2100]
xor edx, edx
mov r8, r12
call fcn.14011d4ec
lea rcx, [rsp + 0x28]
mov rdx, rbx
mov r8, qword [rsp + 0x20]
xor r9d, r9d
call fcn.140106ef0
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x14010734e
mov r13, qword [rsp + 0x28]
cmp al, 2
je 0x140107367
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
mov r8, rdx
sub r8, rbp
jb 0x14010741b
movzx r15d, byte [rsp + 0x30]
mov rdx, qword [rsi]
add rdx, rbp
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov rcx, r14
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x14010736e
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x1401073ac
mov r12d, eax
test rdi, rdi
sete bpl
shl r12, 0x20
or r12, 2
mov rcx, r12
call fcn.14005f5c0
cmp al, 0xd
setne al
or al, bpl
jne 0x1401072aa
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
lock inc qword [rax]
jle 0x1401073bd
add rcx, 0x10
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
movzx r9d, byte [rdi + 0x18]
call fcn.14005e2e0
test rax, rax
cmovne r12, rax
mov rcx, r12
call fcn.140029e40
cmp al, 0xd
jne 0x140107396
and r13d, 0x23
mov rax, qword [rbx + 0x90]
mov ecx, r15d
shl ecx, 0x10
xor r13, 0x2f
nop
mov edx, eax
shr edx, 0x10
cmp r15b, dl
jne 0x1401072ed
mov edx, eax
and edx, r13d
or rdx, rcx
lock cmpxchg qword [rbx + 0x90], rdx
jne 0x1401072d0
mov eax, r12d
and eax, 3
cmp eax, 1
jne 0x1401071d5
mov rbp, qword [r12 - 1]
mov r15, qword [r12 + 7]
mov rax, qword [r15]
test rax, rax
je 0x140107313
mov rcx, rbp
call rax
cmp qword [r15 + 8], 0
je 0x1401071c1
cmp qword [r15 + 0x10], 0x11
jb 0x1401071b0
mov rbp, qword [rbp - 8]
jmp 0x1401071b0
mov r8, qword [rdx]
lea rcx, [rsp + 0x28]
mov rdx, rbx
xor r9d, r9d
call fcn.140106ef0
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x140107358
mov eax, 1
mov r12, r13
jmp 0x140107398
cmp al, 2
jne 0x14010740e
mov r12, qword [rsp + 0x28]
jmp 0x140107396
xor eax, eax
mov r12, r13
jmp 0x140107398
movsxd rdx, eax
lea rax, [rdx + rbp]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
jbe 0x140107385
mov qword [rsi + 0x18], rax
mov rcx, rax
add rbp, rdx
jb 0x1401073bf
cmp rax, rcx
ja 0x1401073d7
mov qword [rsi + 0x10], rax
xor r12d, r12d
xor eax, eax
mov rdx, r12
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edx, edx
lea rax, [rdx + rbp]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
ja 0x14010737e
jmp 0x140107385
ud2
lea rcx, str.filled_overflowsrc_index.crates.io_6f17d22bba15001f_tokio_1.41.0_src_io_read_buf.rs
lea r8, str.src_index.crates.io_6f17d22bba15001f_tokio_1.41.0_src_io_poll_evented.rs
mov edx, 0xf
call fcn.14001dfe0
lea rax, str.filled_must_not_become_larger_than_initialized
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str.src_index.crates.io_6f17d22bba15001f_tokio_1.41.0_src_io_poll_evented.rs
lea rcx, [rsp + 0x28]
call fcn.14001a380
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
cmp rbp, rdx
jbe 0x14010742a
lea r8, [0x14017b8b8]
mov rcx, rbp
call fcn.14001a3b0
lea rcx, str.src_index.crates.io_6f17d22bba15001f_tokio_1.41.0_src_io_poll_evented.rs
call fcn.14001dfc0
int3