Function at 0x1400f4ba0
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, 0x48
mov rsi, r8
mov r14, rdx
lea rdx, [rcx + 0x10]
mov r15, qword [rcx + 8]
cmp r15, 0xffffffffffffffff
je 0x1400f4df0
mov qword [rsp + 0x40], rdx
mov r12, qword [rcx + 0x10]
mov rdi, qword [rcx]
mov qword [rsp + 0x38], r14
jmp 0x1400f4c01
mov rcx, qword [0x14017e260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14017e260]
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapFree]
lea rcx, [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov r8, r14
xor r9d, r9d
call fcn.1400f4720
mov rax, qword [rsp + 0x20]
cmp rax, 2
je 0x1400f4e0b
test rax, rax
jne 0x1400f4c40
mov ebx, dword [rsp + 0x30]
mov r13, qword [rsp + 0x28]
je 0x1400f4c4e
jmp 0x1400f4e60
movzx ebx, bl
mov r13, qword [rsp + 0x28]
jne 0x1400f4e60
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
mov r8, rdx
sub r8, rbp
jb 0x1400f4ebb
mov rdx, qword [rsi]
add rdx, rbp
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov rcx, r15
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x1400f4e22
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x1400f4e4c
mov rbp, rax
shl rbp, 0x20
or rbp, 2
mov ecx, eax
call fcn.1400e2f90
cmp al, 0xd
jne 0x1400f4d00
test rdi, rdi
je 0x1400f4d00
mov rcx, qword [rdi + 8]
mov rdx, qword [rdi + 0x10]
lock inc qword [rdx]
jle 0x1400f4e76
add rcx, 0x10
mov r8, qword [rdi]
movzx r9d, byte [rdi + 0x18]
call fcn.14005bb80
test rax, rax
cmovne rbp, rax
mov r14d, ebp
and r14d, 3
lea rcx, [0x1400f4ee8]
movsxd rax, dword [rcx + r14*4]
add rax, rcx
jmp rax
mov r14d, ebp
and r14d, 3
lea rcx, [0x1400f4ee8]
movsxd rax, dword [rcx + r14*4]
add rax, rcx
jmp rax
movzx eax, byte [rbp + 0x10]
cmp al, 0xd
je 0x1400f4d70
jmp 0x1400f4e5d
movzx eax, byte [rbp + 0xf]
cmp al, 0xd
je 0x1400f4d70
jmp 0x1400f4e5d
mov rcx, rbp
shr rcx, 0x20
call fcn.1400e2f90
cmp al, 0xd
je 0x1400f4d70
jmp 0x1400f4e5d
mov rax, rbp
shr rax, 0x20
cmp eax, 0xd
jne 0x1400f4e5d
and r13d, 3
mov rax, qword [r12 + 0x40]
movzx ecx, bl
shl rcx, 0x10
xor r13, 0x7f00000f
nop word [rax + rax]
mov rdx, rax
shr rdx, 0x10
cmp bl, dl
jne 0x1400f4dac
mov edx, eax
and edx, r13d
or rdx, rcx
lock cmpxchg qword [r12 + 0x40], rdx
jne 0x1400f4d90
cmp r14d, 1
mov r14, qword [rsp + 0x38]
jne 0x1400f4c01
lea r13, [rbp - 1]
mov rcx, qword [rbp - 1]
mov rax, qword [rbp + 7]
call qword [rax]
mov rax, qword [rbp + 7]
cmp qword [rax + 8], 0
je 0x1400f4bef
mov r8, qword [r13]
cmp qword [rax + 0x10], 0x11
jb 0x1400f4be0
mov r8, qword [r8 - 8]
jmp 0x1400f4be0
lea rcx, [rsp + 0x20]
mov r8, r14
xor r9d, r9d
call fcn.1400f4720
mov rax, qword [rsp + 0x20]
cmp rax, 2
jne 0x1400f4e12
mov eax, 1
jmp 0x1400f4e62
test rax, rax
je 0x1400f4eae
mov r13, qword [rsp + 0x28]
jmp 0x1400f4e60
movsxd rdx, eax
lea rax, [rdx + rbp]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
jbe 0x1400f4e39
mov qword [rsi + 0x18], rax
mov rcx, rax
add rdx, rbp
jb 0x1400f4e7a
cmp rax, rcx
ja 0x1400f4e94
mov qword [rsi + 0x10], rax
xor r13d, r13d
jmp 0x1400f4e60
xor edx, edx
lea rax, [rdx + rbp]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
ja 0x1400f4e32
jmp 0x1400f4e39
mov r13, rbp
xor eax, eax
mov rdx, r13
add rsp, 0x48
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.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.21.2_srciopoll_evented.rs
mov edx, 0xf
call fcn.14010b7e0
ud2
lea rcx, [0x14014e6ef]
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.21.2_srciopoll_evented.rs
mov edx, 0x2e
call fcn.1401134c0
ud2
mov rdx, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
cmp rdx, rbp
jae 0x1400f4ecc
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.21.2_srcio_read_buf.rs
mov rcx, rbp
call fcn.14010b500
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.21.2_srciopoll_evented.rs
mov edx, 0x2b
call fcn.14010b520
ud2