Function at 0x14017101f
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, 0x58
mov r13, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
call fcn.140170db3
mov r15, rax
cmp rax, 2
je 0x1401710a0
test r15, r15
jne 0x1401710a5
mov rcx, rdi
call fcn.1401704e2
test r13, r13
je 0x1401710b3
mov r12, rax
mov rax, r13
shr rax, 0x20
jne 0x1401712d1
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rbx
mov rcx, qword [r12]
call fcn.1400c85be
mov r14, rax
mov ebp, edx
and bpl, 1
mov rax, qword [rax + 0x28]
cmp rax, 2
jae 0x1401710bd
movabs rbx, 0xd00000003
jmp 0x14017117f
jmp 0x1401711f6
mov r14, rdx
mov r15d, 1
jmp 0x1401711f6
xor ebx, ebx
xor r15d, r15d
jmp 0x1401711f3
cmp eax, 2
jne 0x140171167
mov qword [rsp + 0x28], r14
mov byte [rsp + 0x27], bpl
mov r14d, 8
xor r15d, r15d
mov r13d, 0x7fffffff
xor ebx, ebx
cmp r14, 0x18
je 0x14017120d
mov rax, qword [r12]
mov ebp, dword [rsp + r14 + 0x38]
mov rdx, qword [rsp + r14 + 0x40]
mov rcx, qword [rax]
cmp rbp, r13
mov r8d, 0x7fffffff
cmovb r8, rbp
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x14017111a
cdqe
jmp 0x140171133
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x140171220
xor eax, eax
mov r13d, 0x7fffffff
add rbx, rax
add r14, 0x10
cmp rbp, rax
jbe 0x1401710e1
mov bpl, byte [rsp + 0x27]
mov r14, qword [rsp + 0x28]
mov rcx, r14
mov edx, ebp
call fcn.1400c8890
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbx
test r15, r15
jne 0x140171197
jmp 0x1401711f3
mov rdx, r14
add rdx, 8
mov rbx, qword [r14 + 0x30]
and qword [r14 + 0x28], 0
mov rcx, r12
call fcn.1400c8670
mov rcx, r14
mov edx, ebp
call fcn.1400c8890
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call fcn.1400b52d9
mov r15d, 1
cmp al, 0xd
jne 0x1401711f3
lock and qword [rdi + 0x40], 0xfffffffffffffffe
mov rcx, rdi
mov rdx, rsi
call fcn.140170db3
test rax, rax
je 0x1401711ca
cmp rax, 1
jne 0x1401711d7
mov r14, rdx
jmp 0x1401711da
mov rax, qword [rsi]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
call qword [rdx + 0x10]
xor r14d, r14d
lea rcx, [rsp + 0x30]
call fcn.14016fbed
test r14, r14
jne 0x1401710a8
mov r15d, 2
mov r14, rbx
mov rax, r15
mov rdx, r14
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x28]
mov dl, byte [rsp + 0x27]
call fcn.1400c8890
jmp 0x1401710b5
mov r13d, eax
shl r13, 0x20
or r13, 2
mov qword [rsp + 0x50], r13
test rbx, rbx
je 0x140171279
mov rax, r13
shr rax, 0x20
cmp eax, 0x2733
mov bpl, byte [rsp + 0x27]
mov r14, qword [rsp + 0x28]
jne 0x1401712b1
lea r15, [r14 + 8]
mov rcx, r14
add rcx, 0x28
call fcn.1400c885d
and qword [r14 + 0x28], 0
mov rcx, r12
mov rdx, r15
call fcn.1400c8670
lea rcx, [rsp + 0x50]
call fcn.1400c80ce
jmp 0x1401712c9
mov r14, qword [rsp + 0x28]
lea rbx, [r14 + 8]
mov rcx, r14
add rcx, 0x28
call fcn.1400c885d
and qword [r14 + 0x28], 0
mov rcx, r12
mov rdx, rbx
call fcn.1400c8670
mov r15d, 1
mov rbx, r13
mov bpl, byte [rsp + 0x27]
jmp 0x140171149
mov rcx, r14
add rcx, 0x28
call fcn.1400c885d
mov qword [r14 + 0x28], 3
mov qword [r14 + 0x30], r13
xor r15d, r15d
jmp 0x140171149
lea rcx, [0x14034daea]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fiovec_0.1.4_src_syswindows.rsassertion_failed:_src.len_____MAX_LENGTH
mov edx, 0x29
call fcn.1402e8420
int3