Function at 0x14002c6f4
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, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rdi, rdx
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x37]
mov r14, rax
mov byte [rax], 0
lea rsi, [rdx + 0x28]
lea rbx, [rdx + 0x10]
lea r15, [rsp + 0x58]
xorps xmm6, xmm6
mov qword [rsp + 0x50], rsi
mov r8d, dword [rdi + 0x38]
cmp r8d, 0x3b9aca01
jne 0x14002c87d
mov r12, qword [rdi]
mov rdx, qword [rdi + 8]
lea rcx, [r12 + 0xc0]
mov r8d, dword [rdi + 0x10]
call fcn.14002ca1e
test rax, rax
jne 0x14002c88e
mov rcx, r12
call fcn.14002c58e
test rdx, rdx
jne 0x14002c7e2
mov rcx, r15
mov rdx, r12
call fcn.14002a7d6
mov eax, dword [rsp + 0x58]
cmp eax, 2
je 0x14002c8f0
test eax, eax
je 0x14002c7e2
cmp qword [r12 + 0xe8], 0
je 0x14002c7c5
mov rcx, r15
mov rdx, r12
call fcn.14002b5a6
cmp qword [rsp + 0x58], 0
jne 0x14002c8f0
cmp qword [rsp + 0x60], 0
je 0x14002c7e2
and qword [r12 + 0xe8], 0
mov rcx, r15
mov rdx, r12
call fcn.14002b779
cmp byte [rsp + 0x58], 0
jne 0x14002c8f0
cmp byte [rsp + 0x59], 0
je 0x14002c769
mov rcx, r12
call fcn.14002c58e
mov rbp, rdx
test rax, rax
je 0x14002c943
mov rsi, rax
xor r13d, r13d
test rbp, rbp
setne r13b
mov r8d, 1
mov rcx, r13
mov rdx, r14
lea r9, [0x14004ca40]
call fcn.14002b94a
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rdx
mov rcx, rsi
mov rdx, rbp
mov r8, r13
lea r9, [0x14004ca58]
call fcn.14002c569
mov r9, rdx
lea rcx, [0x14004ca70]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov r8, rax
call fcn.14001104e
mov rax, qword [r12 + 0x28]
add rax, r13
cmp rax, qword [r12 + 0x20]
ja 0x14002ca05
mov qword [r12 + 0x28], rax
mov rbp, r13
xor eax, eax
jmp 0x14002c948
mov rdx, qword [rdi + 0x30]
mov rcx, rsi
call fcn.14002ca1e
test rax, rax
je 0x14002c8a4
mov r13, rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], 1
jmp 0x14002c961
mov r8, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
cmp rax, rcx
jne 0x14002c8db
cmp r8, 2
jae 0x14002c8db
movups xmmword [rbx], xmm6
mov rdx, qword [rsi]
mov r9d, 1
lea rcx, [rsp + 0x38]
mov r8, r14
call fcn.14001b490
mov rax, qword [rsp + 0x38]
jmp 0x14002c957
mov r13, rax
mov r12, qword [rdi]
sub r13, rcx
jbe 0x14002c8fc
test r12, r12
je 0x14002c891
jmp 0x14002c9ab
mov rbp, qword [rsp + 0x60]
mov eax, 1
jmp 0x14002c94d
mov rsi, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x28]
mov eax, 0x7fffffff
cmp r8, rax
cmovae r8, rax
mov rdx, r12
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14002c98f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x14002c99a
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rsi, qword [rsp + 0x50]
jmp 0x14002c891
mov eax, 1
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14002c988
mov r13, qword [rsp + 0x40]
mov rcx, r13
call fcn.14002bd68
test al, al
je 0x14002c97a
mov rcx, r13
call fcn.14002b3f9
jmp 0x14002c737
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
mov qword [rax + 8], r13
jmp 0x14002c9e9
mov rdx, qword [rsp + 0x40]
jmp 0x14002c9cb
cdqe
cmp rsi, rax
cmovbe rsi, rax
jmp 0x14002c99c
xor eax, eax
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rsi
xor ecx, ecx
xor edx, edx
cmp rax, rcx
setne dl
je 0x14002c9be
mov r8b, byte [r12 + rcx]
mov byte [rsp + 0x37], r8b
add rcx, rdx
cmp rcx, rax
cmovae rcx, rax
mov qword [rbx], rcx
test rdx, rdx
je 0x14002c9e1
mov al, byte [rsp + 0x37]
mov rcx, qword [rsp + 0x48]
mov byte [rcx], 0
mov byte [rcx + 1], al
jmp 0x14002c9e9
mov rax, qword [rsp + 0x48]
mov byte [rax], 2
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
lea r8, [0x14004cb10]
mov edx, 0x3b
call fcn.140041390
int3