Function at 0x140171cf0
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 0x140171eab
mov rax, qword [rdx]
mov qword [rsp + 0x20], rax
mov rdi, qword [rcx + 0x20]
jmp 0x140171d55
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, rbp
call fcn.1401abdbc
dec r12
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, r12
call fcn.1401abdbc
lea rcx, [rsp + 0x28]
mov rdx, rbx
mov r8, qword [rsp + 0x20]
xor r9d, r9d
call fcn.140171920
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x140171ec7
mov r13, qword [rsp + 0x28]
cmp al, 2
je 0x140171ee0
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
mov r8, rdx
sub r8, rbp
jb 0x140171f94
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 0x140171ee7
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x140171f25
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rcx, r12
call fcn.1400699e0
cmp al, 0xd
jne 0x140171e1e
test rdi, rdi
je 0x140171e1e
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
lock inc qword [rdx]
jle 0x140171f36
add rcx, 0x10
mov r8, qword [rdi + 0x10]
movzx r9d, byte [rdi + 0x18]
call fcn.140068820
test rax, rax
cmovne r12, rax
mov rcx, r12
call fcn.140074110
cmp al, 0xd
jne 0x140171f0f
and r13d, 0x23
mov rax, qword [rbx + 0x90]
mov ecx, r15d
shl ecx, 0x10
xor r13, 0x2f
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp r15b, dl
jne 0x140171e6d
mov edx, eax
and edx, r13d
or rdx, rcx
lock cmpxchg qword [rbx + 0x90], rdx
jne 0x140171e50
mov eax, r12d
and eax, 3
cmp eax, 1
jne 0x140171d55
mov rbp, qword [r12 - 1]
mov r15, qword [r12 + 7]
mov rcx, rbp
call qword [r15]
cmp qword [r15 + 8], 0
je 0x140171d41
cmp qword [r15 + 0x10], 0x11
jb 0x140171d30
mov rbp, qword [rbp - 8]
jmp 0x140171d30
mov r8, qword [rdx]
lea rcx, [rsp + 0x28]
mov rdx, rbx
xor r9d, r9d
call fcn.140171920
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x140171ed1
mov eax, 1
mov r12, r13
jmp 0x140171f11
cmp al, 2
jne 0x140171f87
mov r12, qword [rsp + 0x28]
jmp 0x140171f0f
xor eax, eax
mov r12, r13
jmp 0x140171f11
movsxd rdx, eax
lea rax, [rdx + rbp]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
jbe 0x140171efe
mov qword [rsi + 0x18], rax
mov rcx, rax
add rbp, rdx
jb 0x140171f38
cmp rax, rcx
ja 0x140171f50
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 0x140171ef7
jmp 0x140171efe
ud2
lea rcx, str.filled_overflow_home_dreamingcodes_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_read_buf.rs
lea r8, str._home_dreamingcodes_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
mov edx, 0xf
call fcn.140049c90
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._home_dreamingcodes_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
lea rcx, [rsp + 0x28]
call fcn.140046220
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
cmp rbp, rdx
jbe 0x140171fa3
lea r8, [0x14020dd18]
mov rcx, rbp
call fcn.140046280
lea rcx, str._home_dreamingcodes_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
call fcn.140049c70
int3