Function at 0x14020de17
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.14020dbf0
mov al, byte [rsp + 0x71]
cmp al, 3
je 0x14020dfb2
mov rsi, qword [rsp + 0x68]
cmp al, 2
je 0x14020dfea
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 0x14020e003
mov rcx, r15
lea rdx, str._home_r3dlust_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_io_poll_evented.rs
call fcn.14020c23a
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 0x14020dfb9
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x14020dfbe
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.140087089
cmp al, 0xd
jne 0x14020df87
mov rax, qword [r15 + 8]
test rax, rax
je 0x14020df87
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14020e015
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.1400fe876
mov r15, rax
xor ecx, ecx
call fcn.1400fcf71
test r15, r15
je 0x14020df7d
mov ecx, 1
mov rdx, rsi
call fcn.1400fe99b
mov rsi, r15
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140207902
cmp al, 0xd
jne 0x14020dfea
mov qword [rsp + 0x68], rsi
mov rcx, r14
lea rdx, [rsp + 0x38]
call fcn.14020db8d
mov rcx, r13
call fcn.1402078a2
jmp 0x14020de89
mov eax, 1
jmp 0x14020dfec
movsxd r8, eax
jmp 0x14020dfc1
xor r8d, r8d
lea rax, [rdi + r8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx + 0x18]
cmp rax, rcx
jbe 0x14020dfda
mov qword [rdx + 0x18], rax
mov rcx, rax
add rdi, r8
jb 0x14020e017
cmp rcx, rax
jb 0x14020e02f
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._home_r3dlust_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_io_read_buf.rs
mov rcx, rdi
mov rdx, rbp
call fcn.1400bd790
ud2
lea rcx, str.filled_overflowfilled_must_not_become_larger_than_initialized
lea r8, str._home_r3dlust_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_io_poll_evented.rs
mov edx, 0xf
call fcn.1400c46a0
lea rax, [0x14031ae08]
lea rcx, [rsp + 0x68]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, str.called__Result::unwrap____on_an__Err__value
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str._home_r3dlust_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_io_poll_evented.rs
call fcn.1400bd510
int3