Function at 0x140170264
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, 0x88
mov qword [rsp + 0x70], rdx
lea rbp, [rsp + 0x42]
mov rax, qword [r8 + 8]
mov rbx, qword [r8 + 0x10]
mov qword [rsp + 0x48], rax
mov rdx, rax
sub rdx, rbx
mov qword [rsp + 0x58], r8
mov rdi, qword [r8]
mov rax, rbx
mov qword [rsp + 0x30], rbx
add rdi, rbx
mov qword [rsp + 0x60], rdi
mov rsi, qword [rcx + 0x20]
mov rax, qword [rcx]
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
mov eax, 0x7fffffff
cmp rdx, rax
cmovae rdx, rax
mov qword [rsp + 0x68], rdx
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r8, qword [rsp + 0x70]
xor r9d, r9d
call fcn.14016fdc1
mov r12b, byte [rsp + 0x41]
cmp r12b, 3
je 0x140170464
mov r15, qword [rsp + 0x38]
cmp r12b, 2
je 0x1401704a2
mov r14b, byte [rsp + 0x40]
movzx eax, word [rbp + 4]
mov word [rsp + 0x2c], ax
mov eax, dword [rbp]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0x30]
jb 0x1401704bb
cmp rbx, 0xffffffffffffffff
je 0x1401704d3
mov rcx, rbx
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x14017046b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x140170470
mov qword [rsp + 0x78], r15
mov r15, rax
shl r15, 0x20
or r15, 2
mov ecx, eax
call fcn.140147190
cmp al, 0xd
jne 0x1401703d4
cmp qword [rsp + 0x50], 0
je 0x1401703d4
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x10]
lock inc qword [rdx]
jle 0x1401704ed
add rcx, 0x10
mov r8, qword [rax]
mov r9b, byte [rax + 0x18]
call fcn.1400783c3
test rax, rax
je 0x1401703d4
mov r13, rax
mov rcx, r15
call fcn.140076b79
mov eax, r13d
and eax, 3
lea rcx, [0x140170528]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov r15, r13
jmp rax
mov eax, r15d
and eax, 3
lea rcx, [0x140170528]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [r15 + 0x10]
jmp 0x140170402
mov al, byte [r15 + 0xf]
jmp 0x140170402
mov rcx, r15
shr rcx, 0x20
call fcn.140147190
cmp al, 0xd
je 0x14017041b
jmp 0x1401704a2
mov rax, r15
shr rax, 0x20
cmp eax, 0xd
jne 0x1401704a2
mov qword [rsp + 0x80], r15
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x40], r14b
mov byte [rsp + 0x41], r12b
movzx eax, word [rsp + 0x2c]
mov word [rbp + 4], ax
mov eax, dword [rsp + 0x28]
mov dword [rbp], eax
mov rcx, rsi
mov rdx, rdi
call fcn.14016bef6
lea rcx, [rsp + 0x80]
call fcn.14016dd64
jmp 0x1401702d2
mov eax, 1
jmp 0x1401704a4
movsxd rbp, eax
jmp 0x140170472
xor ebp, ebp
mov rax, qword [rsp + 0x30]
add rax, rbp
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdx + 0x18]
cmp rax, rcx
jbe 0x14017048f
mov qword [rdx + 0x18], rax
mov rcx, rax
add rbp, qword [rsp + 0x30]
jb 0x1401704f1
cmp rcx, rax
jb 0x14017050b
mov qword [rdx + 0x10], rax
xor r15d, r15d
xor eax, eax
mov rdx, r15
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.26.0_srcio_read_buf.rsh
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
call fcn.1402a6540
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.26.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.1402a6560
ud2
ud2
lea rcx, str.filled_overflowfilled_must_not_become_larger_than_initializedC:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.26.0_srcutilwake_list.rs
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.26.0_srciopoll_evented.rs
mov edx, 0xf
call fcn.1402a67f0
ud2
lea rcx, [0x140379aef]
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.26.0_srciopoll_evented.rs
mov edx, 0x2e
call fcn.1402a80ed
ud2