Function at 0x14012038f
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.140120137
mov al, byte [rsp + 0x71]
cmp al, 3
je 0x14012052c
mov rsi, qword [rsp + 0x68]
cmp al, 2
je 0x140120564
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 0x14012057d
mov rcx, r15
lea rdx, str.C:Usersmadf0x.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srciopoll_evented.rsP
call fcn.1400463f1
mov rcx, qword [r15]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x140120533
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x140120538
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.140034738
cmp al, 0xd
jne 0x140120501
mov rax, qword [r15 + 8]
test rax, rax
je 0x140120501
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x140120591
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.140052dc7
mov r15, rax
xor ecx, ecx
call fcn.140051580
test r15, r15
je 0x1401204f7
mov ecx, 1
mov rdx, rsi
call fcn.140052eec
mov rsi, r15
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
mov rcx, rsi
call fcn.14011b457
cmp al, 0xd
jne 0x140120564
mov qword [rsp + 0x68], rsi
mov rcx, r14
lea rdx, [rsp + 0x38]
call fcn.1401200d4
mov rcx, r13
call fcn.14011b6d0
jmp 0x140120401
mov eax, 1
jmp 0x140120566
movsxd r8, eax
jmp 0x14012053b
xor r8d, r8d
lea rax, [rdi + r8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx + 0x18]
cmp rax, rcx
jbe 0x140120554
mov qword [rdx + 0x18], rax
mov rcx, rax
add rdi, r8
jb 0x140120595
cmp rcx, rax
jb 0x1401205af
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.C:Usersmadf0x.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srcio_read_buf.rs
mov rcx, rdi
mov rdx, rbp
call fcn.14012dfb0
ud2
ud2
lea rcx, str.filled_overflowfilled_must_not_become_larger_than_initialized
lea r8, str.C:Usersmadf0x.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srciopoll_evented.rsP
mov edx, 0xf
call fcn.14012e520
ud2
lea rax, [0x1401d12b0]
lea rcx, [rsp + 0x68]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, str._rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.C:Usersmadf0x.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srciopoll_evented.rsP
call fcn.14012df70
ud2