Function at 0x1400d279d
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov r12, rdx
mov r14, rcx
lea r15, [rbp - 0x4e]
lea rbx, [rbp + 0x12]
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x28], rax
mov rsi, qword [r8 + 8]
mov rdi, qword [r8 + 0x10]
mov qword [rbp], r8
mov rax, qword [r8]
add rax, rdi
mov qword [rbp - 0x18], rax
mov rcx, rsi
sub rcx, rdi
mov eax, 0x7fffffff
cmp rcx, rax
cmovae rcx, rax
mov qword [rbp - 0x10], rcx
mov rax, qword [r14 + 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [r14 + 0x20]
mov qword [rbp - 8], rax
lea rcx, [rbp - 0x58]
mov rdx, qword [rbp - 0x28]
mov r8, r12
xor r9d, r9d
call fcn.1400d2466
mov al, byte [rbp - 0x4f]
cmp al, 3
je 0x1400d2970
mov r13, qword [rbp - 0x58]
cmp al, 2
je 0x1400d29a6
mov cl, byte [rbp - 0x50]
movzx edx, word [r15 + 4]
mov word [rbx + 4], dx
mov edx, dword [r15]
mov dword [rbx], edx
mov qword [rbp + 8], r13
mov byte [rbp + 0x10], cl
mov byte [rbp + 0x11], al
cmp rsi, rdi
jb 0x1400d29cb
mov rcx, qword [rbp - 0x20]
cmp rcx, 0xffffffffffffffff
je 0x1400d29bf
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x10]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1400d2975
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x1400d297a
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, r13
call fcn.14002bd7d
cmp al, 0xd
jne 0x1400d2937
mov rax, qword [rbp - 8]
test rax, rax
je 0x1400d2937
mov qword [rbp + 0x18], r13
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1400d29dd
mov r13, rbx
mov rbx, r14
mov r14, rsi
mov rsi, rdi
mov rdi, r12
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.14004e1fa
mov r12, rax
xor ecx, ecx
call fcn.14004c05d
test r12, r12
je 0x1400d2924
push 1
pop rcx
mov rdx, qword [rbp + 0x18]
call fcn.14004e529
mov rax, r12
mov r12, rdi
mov rdi, rsi
mov rsi, r14
mov r14, rbx
mov rbx, r13
mov r13, rax
jmp 0x1400d2937
mov r12, rdi
mov rdi, rsi
mov rsi, r14
mov r14, rbx
mov rbx, r13
mov r13, qword [rbp + 0x18]
mov rcx, r13
call fcn.1400c9c96
cmp al, 0xd
jne 0x1400d29a6
mov rax, r13
mov r13, r12
mov qword [rbp - 0x58], rax
mov rcx, r14
lea rdx, [rbp + 8]
call fcn.1400d23fd
lea r12, [rbp - 0x58]
mov rcx, r12
call fcn.1400c8cc4
mov rcx, r12
mov r12, r13
jmp 0x1400d2816
push 1
pop rax
jmp 0x1400d29a8
movsxd r8, eax
jmp 0x1400d297d
xor r8d, r8d
lea rax, [rdi + r8]
mov rdx, qword [rbp]
mov rcx, qword [rdx + 0x18]
cmp rax, rcx
jbe 0x1400d2995
mov qword [rdx + 0x18], rax
mov rcx, rax
add rdi, r8
jb 0x1400d29df
cmp rcx, rax
jb 0x1400d29f5
mov qword [rdx + 0x10], rax
xor r13d, r13d
xor eax, eax
mov rdx, r13
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.1400e7850
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srcio_read_buf.rs
mov rcx, rdi
mov rdx, rsi
call fcn.1400e7430
ud2
lea rcx, str.filled_overflowfilled_must_not_become_larger_than_initialized
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
push 0xf
pop rdx
call fcn.1400e7870
lea rax, [0x140122848]
lea rcx, [rbp - 0x58]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, [0x140149a50]
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.1400e73f0
int3