Function at 0x140123da0
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, 0x68
mov r14, rdx
mov rsi, qword [r8 + 8]
mov rdi, qword [r8 + 0x10]
mov rax, rsi
sub rax, rdi
jae 0x140123e00
mov rdx, qword [rcx + 0x10]
lea rcx, [rsp + 0x20]
mov r8, r14
xor r9d, r9d
call fcn.1401224f0
movzx eax, byte [rsp + 0x29]
cmp al, 3
je 0x140123fb2
cmp al, 2
je 0x140123fc1
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_read_buf.rs
mov rcx, rdi
mov rdx, rsi
call fcn.14000a9c0
ud2
mov rdx, qword [rcx + 0x18]
mov qword [rsp + 0x60], rdx
cmp rdx, 0xffffffffffffffff
je 0x140123f95
mov rbx, r8
mov rdx, qword [r8]
mov qword [rsp + 0x50], rdi
add rdx, rdi
mov qword [rsp + 0x58], rdx
mov r13, qword [rcx + 0x10]
mov r15, qword [rcx + 0x20]
cmp rax, 0x7fffffff
mov ebp, 0x7fffffff
cmovb rbp, rax
nop dword [rax]
lea rcx, [rsp + 0x20]
mov rdx, r13
mov r8, r14
xor r9d, r9d
call fcn.1401224f0
movzx eax, byte [rsp + 0x29]
cmp al, 3
je 0x140123fb2
mov rsi, qword [rsp + 0x20]
cmp al, 2
je 0x140123ffe
movzx r12d, byte [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov r8d, ebp
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x140123fc8
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x140123fcd
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rdi
call fcn.1400531f0
cmp al, 0xd
jne 0x140123ee6
test r15, r15
je 0x140123ee6
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
lock inc qword [rdx]
jle 0x140124014
add rcx, 0x10
mov r8, qword [r15 + 0x10]
movzx r9d, byte [r15 + 0x18]
call fcn.140053010
test rax, rax
cmovne rdi, rax
mov rcx, rdi
call fcn.1400531f0
cmp al, 0xd
jne 0x140123ffb
and esi, 0x23
mov rax, qword [r13 + 0xd0]
xor rsi, 0x2f
mov rcx, r12
shl rcx, 0x10
nop dword [rax + rax]
mov edx, eax
shr edx, 0x10
cmp r12b, dl
jne 0x140123f2c
mov edx, esi
and edx, eax
or rdx, rcx
lock cmpxchg qword [r13 + 0xd0], rdx
jne 0x140123f10
mov eax, edi
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x140123e40
test rax, rax
je 0x140123e40
mov rsi, qword [rdi - 1]
mov r12, qword [rdi + 7]
mov rcx, rsi
call qword [r12]
cmp qword [r12 + 8], 0
je 0x140123f7c
cmp qword [r12 + 0x10], 0x11
jb 0x140123f6b
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1401be0e8]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
dec rdi
mov rcx, qword [0x1401be0e8]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
jmp 0x140123e40
mov rdx, qword [rcx + 0x10]
lea rcx, [rsp + 0x20]
mov r8, r14
xor r9d, r9d
call fcn.1401224f0
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x140123fb9
mov eax, 1
jmp 0x140124000
cmp al, 2
jne 0x14012406e
mov rsi, qword [rsp + 0x20]
jmp 0x140123ffe
movsxd r8, eax
jmp 0x140123fd0
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rax, [r8 + rdx]
mov rcx, qword [rbx + 0x18]
cmp rax, rcx
jbe 0x140123fe9
mov qword [rbx + 0x18], rax
mov rcx, rax
add r8, rdx
jb 0x140124018
cmp rax, rcx
ja 0x140124032
mov qword [rbx + 0x10], rax
xor esi, esi
jmp 0x140123ffe
mov rsi, rdi
xor eax, eax
mov rdx, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rcx, str.filled_overflowfilled_must_not_become_larger_than_initialized
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_poll_evented.rs_r
mov edx, 0xf
call fcn.140012210
ud2
lea rax, [0x140187250]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 1
lea rax, str.NoneSome
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rdx, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_poll_evented.rs_r
lea rcx, [rsp + 0x20]
call fcn.14000a710
ud2
lea rcx, [0x1401aec10]
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_poll_evented.rs_r
mov edx, 0x2b
call fcn.14000c150
ud2