Function at 0x1401ae01d
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, 0x68
mov rsi, r9
mov rbx, r8
mov r13, rdx
mov rbp, rcx
lea rdi, [rsp + 0x58]
mov r9d, 1
mov rcx, rdi
call fcn.1401ad938
mov rax, qword [rdi]
test rax, rax
je 0x1401ae066
cmp eax, 2
jne 0x1401ae0b4
mov qword [rbp], 2
jmp 0x1401ae259
mov rdi, qword [rsp + 0xd0]
mov rcx, r13
call fcn.1401aaffa
test rdi, rdi
je 0x1401ae0ca
mov r12, rax
mov rax, rdi
shr rax, 0x20
jne 0x1401ae33b
mov rcx, qword [r12 + 0x20]
call fcn.1400e131e
mov r14, rax
mov r15d, edx
mov rax, qword [rax + 0x50]
cmp rax, 2
jae 0x1401ae0d7
movabs rsi, 0xd00000003
jmp 0x1401ae1aa
mov rax, qword [rsp + 0x60]
mov qword [rbp], 1
mov qword [rbp + 8], rax
jmp 0x1401ae259
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
jmp 0x1401ae250
add r12, 0x20
cmp eax, 2
jne 0x1401ae192
cmp r15b, 2
je 0x1401ae1b8
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rbp
mov byte [rsp + 0x2f], r15b
mov qword [rsp + 0x48], r14
mov ebp, edi
mov ebx, 0x7fffffff
cmp rbp, rbx
cmovb rbx, rbp
mov r15d, 2
xor edi, edi
dec r15
je 0x1401ae232
mov rax, qword [r12]
mov rcx, qword [rax + 0xe0]
mov rdx, rsi
mov r8d, ebx
xor r9d, r9d
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x1401ae143
cdqe
jmp 0x1401ae155
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1401ae26a
xor eax, eax
add rdi, rax
cmp rax, rbp
jae 0x1401ae118
mov qword [rsp + 0x38], rdi
and qword [rsp + 0x30], 0
xor esi, esi
mov r14, rdi
mov r15, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rcx, r15
mov dl, byte [rsp + 0x2f]
call fcn.1400e1598
test rsi, rsi
jne 0x1401ae1c6
jmp 0x1401ae250
mov rdx, r14
add rdx, 0x10
mov rsi, qword [r14 + 0x58]
and qword [r14 + 0x50], 0
mov rcx, r12
call fcn.1400e1375
mov rcx, r14
mov edx, r15d
call fcn.1400e1598
mov r14, rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], 1
mov rcx, r14
call fcn.1400caa54
cmp al, 0xd
jne 0x1401ae250
lock and qword [r13 + 0x10], 0xfffffffffffffffe
lea rsi, [rsp + 0x58]
mov r9d, 1
mov rcx, rsi
mov rdx, r13
mov r8, rbx
call fcn.1401ad938
mov rax, qword [rsi]
test rax, rax
je 0x1401ae211
cmp eax, 1
jne 0x1401ae21e
mov rax, qword [rsp + 0x60]
mov qword [rbp], 1
mov qword [rbp + 8], rax
jmp 0x1401ae226
mov rax, qword [rbx]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbp], 2
lea rcx, [rsp + 0x30]
call fcn.1401aa941
jmp 0x1401ae259
mov qword [rsp + 0x38], rdi
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x48]
mov dl, byte [rsp + 0x2f]
call fcn.1400e1598
mov rbp, qword [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, eax
shl r14, 0x20
or r14, 2
mov qword [rsp + 0x58], r14
test rdi, rdi
je 0x1401ae2d1
mov rcx, r14
call fcn.1400e0c40
cmp al, 0xd
mov r15, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
jne 0x1401ae30e
lea rsi, [r15 + 0x10]
mov rcx, r15
add rcx, 0x50
call fcn.1400e151b
and qword [r15 + 0x50], 0
mov rcx, r12
mov rdx, rsi
call fcn.1400e1375
mov qword [rsp + 0x38], rdi
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x58]
call fcn.1400e0a6a
jmp 0x1401ae331
mov r15, qword [rsp + 0x48]
lea rsi, [r15 + 0x10]
mov rcx, r15
add rcx, 0x50
call fcn.1400e151b
and qword [r15 + 0x50], 0
mov rcx, r12
mov rdx, rsi
call fcn.1400e1375
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], 1
mov esi, 1
jmp 0x1401ae172
mov rcx, r15
add rcx, 0x50
call fcn.1400e151b
mov qword [r15 + 0x50], 3
mov qword [r15 + 0x58], r14
mov qword [rsp + 0x38], rdi
and qword [rsp + 0x30], 0
xor esi, esi
mov r14, rdi
jmp 0x1401ae17c
lea rcx, [0x14039a6dc]
lea r8, str.C:Users_root.cargo_registry_srcgithub.com_1ecc6299db9ec823iovec_0.1.4_src_syswindows.rsassertion_failed:_src.len_____MAX_LENGTH
mov edx, 0x29
call fcn.140332d10
ud2