Function at 0x14020d870
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 r14, rdx
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x14020da31
mov r15, qword [rcx + 8]
mov rdi, qword [rcx + 0x18]
jmp 0x14020d8d5
mov rcx, qword [0x1404a30d0]
xor edx, edx
mov r8, rbp
call fcn.14021d5e4
dec r12
mov rcx, qword [0x1404a30d0]
xor edx, edx
mov r8, r12
call fcn.14021d5e4
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, r14
xor r9d, r9d
call fcn.1402097e0
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x14020da4e
mov r13, qword [rsp + 0x28]
cmp al, 2
je 0x14020da67
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
mov r8, rdx
sub r8, rbp
jb 0x14020db1b
movzx ebx, byte [rsp + 0x30]
mov rdx, qword [rsi]
add rdx, rbp
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov rcx, qword [rsp + 0x20]
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x14020da6e
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x14020daac
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rcx, r12
call fcn.1400b5570
cmp al, 0xd
jne 0x14020d9a1
test rdi, rdi
je 0x14020d9a1
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
lock inc qword [rax]
jle 0x14020dabd
add rcx, 0x10
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
movzx r9d, byte [rdi + 0x18]
call fcn.1400b42c0
test rax, rax
cmovne r12, rax
mov rcx, r12
call fcn.140050690
cmp al, 0xd
jne 0x14020da96
and r13d, 0x23
mov rax, qword [r15 + 0x90]
xor r13, 0x2f
mov ecx, ebx
shl ecx, 0x10
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x14020d9ec
mov edx, r13d
and edx, eax
or rdx, rcx
lock cmpxchg qword [r15 + 0x90], rdx
jne 0x14020d9d0
mov eax, r12d
and eax, 3
cmp eax, 1
jne 0x14020d8d5
mov rbp, qword [r12 - 1]
mov rbx, qword [r12 + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14020da12
mov rcx, rbp
call rax
cmp qword [rbx + 8], 0
je 0x14020d8c1
cmp qword [rbx + 0x10], 0x11
jb 0x14020d8b0
mov rbp, qword [rbp - 8]
jmp 0x14020d8b0
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x28]
mov r8, r14
xor r9d, r9d
call fcn.1402097e0
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x14020da58
mov eax, 1
mov r12, r13
jmp 0x14020da98
cmp al, 2
jne 0x14020db0e
mov r12, qword [rsp + 0x28]
jmp 0x14020da96
xor eax, eax
mov r12, r13
jmp 0x14020da98
movsxd rdx, eax
lea rax, [rdx + rbp]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
jbe 0x14020da85
mov qword [rsi + 0x18], rax
mov rcx, rax
add rbp, rdx
jb 0x14020dabf
cmp rax, rcx
ja 0x14020dad7
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 0x14020da7e
jmp 0x14020da85
ud2
lea rcx, str.filled_overflowC:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srcutilwake_list.rs
lea r8, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srciopoll_evented.rs
mov edx, 0xf
call fcn.140049f10
lea rax, [0x140441228]
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.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srciopoll_evented.rs
lea rcx, [rsp + 0x28]
call fcn.1400467a0
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
cmp rbp, rdx
jbe 0x14020db2a
lea r8, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srcio_read_buf.rs
mov rcx, rbp
call fcn.1400467e0
lea rcx, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srciopoll_evented.rs
call fcn.140049ef0
int3