Function at 0x14002d10b
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 0x14002d291
mov r12, qword [rdi]
mov rdx, qword [rdi + 8]
lea rcx, [r12 + 0x30]
mov r8d, dword [rdi + 0x10]
call fcn.14002d433
test rax, rax
jne 0x14002d2a2
mov rcx, r12
call fcn.14002cfe4
test rdx, rdx
jne 0x14002d1f6
mov rcx, r15
mov rdx, r12
call fcn.14002b25c
mov eax, dword [rsp + 0x58]
cmp eax, 2
je 0x14002d304
test eax, eax
je 0x14002d1f6
cmp qword [r12 + 0xd0], 0
je 0x14002d1d9
mov rcx, r15
mov rdx, r12
call fcn.14002bfa1
cmp qword [rsp + 0x58], 0
jne 0x14002d304
cmp qword [rsp + 0x60], 0
je 0x14002d1f6
and qword [r12 + 0xd0], 0
mov rcx, r15
mov rdx, r12
call fcn.14002c176
cmp byte [rsp + 0x58], 0
jne 0x14002d304
cmp byte [rsp + 0x59], 0
je 0x14002d17d
mov rcx, r12
call fcn.14002cfe4
mov rbp, rdx
test rax, rax
je 0x14002d357
mov rsi, rax
xor r13d, r13d
test rbp, rbp
setne r13b
mov r8d, 1
mov rcx, r13
mov rdx, r14
lea r9, [0x14004da28]
call fcn.14002c344
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rdx
mov rcx, rsi
mov rdx, rbp
mov r8, r13
lea r9, [0x14004da40]
call fcn.14002cfbf
mov r9, rdx
lea rcx, [0x14004da58]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov r8, rax
call fcn.140011395
mov rax, qword [r12 + 0x50]
add rax, r13
cmp rax, qword [r12 + 0x48]
ja 0x14002d419
mov qword [r12 + 0x50], rax
mov rbp, r13
xor eax, eax
jmp 0x14002d35c
mov rdx, qword [rdi + 0x30]
mov rcx, rsi
call fcn.14002d433
test rax, rax
je 0x14002d2b8
mov r13, rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], 1
jmp 0x14002d375
mov r8, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
cmp rax, rcx
jne 0x14002d2ef
cmp r8, 2
jae 0x14002d2ef
movups xmmword [rbx], xmm6
mov rdx, qword [rsi]
mov r9d, 1
lea rcx, [rsp + 0x38]
mov r8, r14
call fcn.14001bd20
mov rax, qword [rsp + 0x38]
jmp 0x14002d36b
mov r13, rax
mov r12, qword [rdi]
sub r13, rcx
jbe 0x14002d310
test r12, r12
je 0x14002d2a5
jmp 0x14002d3bf
mov rbp, qword [rsp + 0x60]
mov eax, 1
jmp 0x14002d361
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 0x14002d3a3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x14002d3ae
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rsi, qword [rsp + 0x50]
jmp 0x14002d2a5
mov eax, 1
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14002d39c
mov r13, qword [rsp + 0x40]
mov rcx, r13
call fcn.14002bdca
cmp al, 0x23
jne 0x14002d38e
mov rcx, r13
call fcn.14002be00
jmp 0x14002d14e
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
mov qword [rax + 8], r13
jmp 0x14002d3fd
mov rdx, qword [rsp + 0x40]
jmp 0x14002d3df
cdqe
cmp rsi, rax
cmovbe rsi, rax
jmp 0x14002d3b0
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 0x14002d3d2
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 0x14002d3f5
mov al, byte [rsp + 0x37]
mov rcx, qword [rsp + 0x48]
mov byte [rcx], 0
mov byte [rcx + 1], al
jmp 0x14002d3fd
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, [0x14004da97]
lea r8, [0x14004dad8]
mov edx, 0x3b
call fcn.140041c70
ud2