Function at 0x1400f93c0
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 0x1400f957e
mov r15, qword [rcx + 8]
mov rdi, qword [rcx + 0x18]
jmp 0x1400f9427
mov rcx, qword [0x140177e28]
xor edx, edx
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_HeapFree]
dec r12
mov rcx, qword [0x140177e28]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, r14
xor r9d, r9d
call fcn.1400f8710
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x1400f959b
mov r13, qword [rsp + 0x28]
cmp al, 2
je 0x1400f95b4
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
mov r8, rdx
sub r8, rbp
jb 0x1400f9668
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 qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1400f95bb
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x1400f95f9
mov r12d, eax
test rdi, rdi
sete bpl
shl r12, 0x20
or r12, 2
mov rcx, r12
call fcn.14004cf90
cmp al, 0xd
setne al
or al, bpl
jne 0x1400f94fd
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
lock inc qword [rax]
jle 0x1400f960a
add rcx, 0x10
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
movzx r9d, byte [rdi + 0x18]
call fcn.14004cd20
test rax, rax
cmovne r12, rax
mov rcx, r12
call fcn.14009b420
cmp al, 0xd
jne 0x1400f95e3
and r13d, 0x23
mov rax, qword [r15 + 0x90]
xor r13, 0xff002f
nop
mov ecx, eax
shr ecx, 0x10
cmp bl, cl
jne 0x1400f9539
mov ecx, eax
and ecx, r13d
lock cmpxchg qword [r15 + 0x90], rcx
jne 0x1400f9520
mov eax, r12d
and eax, 3
cmp eax, 1
jne 0x1400f9427
mov rbp, qword [r12 - 1]
mov rbx, qword [r12 + 7]
mov rax, qword [rbx]
test rax, rax
je 0x1400f955f
mov rcx, rbp
call rax
cmp qword [rbx + 8], 0
je 0x1400f9412
cmp qword [rbx + 0x10], 0x11
jb 0x1400f9400
mov rbp, qword [rbp - 8]
jmp 0x1400f9400
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x28]
mov r8, r14
xor r9d, r9d
call fcn.1400f8710
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x1400f95a5
mov eax, 1
mov r12, r13
jmp 0x1400f95e5
cmp al, 2
jne 0x1400f965b
mov r12, qword [rsp + 0x28]
jmp 0x1400f95e3
xor eax, eax
mov r12, r13
jmp 0x1400f95e5
movsxd rdx, eax
lea rax, [rdx + rbp]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
jbe 0x1400f95d2
mov qword [rsi + 0x18], rax
mov rcx, rax
add rbp, rdx
jb 0x1400f960c
cmp rax, rcx
ja 0x1400f9624
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 0x1400f95cb
jmp 0x1400f95d2
ud2
lea rcx, str.filled_overflowC:UsersMrtn.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.42.0_srcio_read_buf.rs
lea r8, str.C:UsersMrtn.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.42.0_srciopoll_evented.rs
mov edx, 0xf
call fcn.140113b00
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.C:UsersMrtn.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.42.0_srciopoll_evented.rs
lea rcx, [rsp + 0x28]
call fcn.140113690
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
cmp rbp, rdx
jbe 0x1400f9677
lea r8, [0x140163508]
mov rcx, rbp
call fcn.1401135b0
lea rcx, str.C:UsersMrtn.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.42.0_srciopoll_evented.rs
call fcn.140113ae0
int3