Function at 0x14000feb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
push rbp
push rbx
push r14
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov qword [rax + 8], rsi
mov edx, dword [rdx + 0x58]
mov rsi, r8
btr edx, 0x10
mov qword [rax + 0x20], rdi
mov r14, rcx
mov dword [rbx + 0x58], edx
cmp dword [r8 + 0x40], 0
jge 0x14000ff74
bt edx, 0xc
jb 0x14000fef4
bt edx, 0x12
jb 0x14001017a
btr edx, 0xc
sub dword [rbx + 0x7c], 1
mov ecx, edx
mov dword [rbx + 0x58], edx
jne 0x14000ff22
mov eax, edx
and al, 5
cmp al, 4
jne 0x14000ff22
and edx, 0xfffffffb
mov dword [rbx + 0x58], edx
mov ecx, edx
test dl, 8
je 0x14000ff22
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov ecx, dword [rbx + 0x58]
bt ecx, 0x12
jae 0x14000ff37
xor edi, edi
lea rax, [rbp - 0x20]
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x20], edi
jmp 0x14000ff3e
lea rax, [rbx + 0x120]
movups xmm0, xmmword [rax]
mov ecx, dword [r8 + 0x40]
movaps xmmword [rbp - 0x20], xmm0
call fcn.1400174c0
mov ecx, 0x2746
cmp eax, 0x2745
cmove eax, ecx
mov ecx, eax
call fcn.140016510
movsxd rdx, eax
lea r8, [rbp - 0x20]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
jmp 0x14001017a
bt edx, 0x12
jb 0x14000ffaa
mov rax, qword [r8 + 0x48]
test rax, rax
je 0x14001006d
lea r8, [rbx + 0x120]
mov rdx, rax
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rbx + 0x120]
cmp qword [rsi + 0x48], rax
jb 0x140010160
mov edx, dword [rbx + 0x58]
mov esi, 0x20
bt edx, 0xc
jae 0x140010160
xor edi, edi
nop dword [rax + rax]
mov eax, esi
dec esi
test eax, eax
jle 0x140010160
mov qword [rbp - 8], rdi
lea r8, [rbp - 0x20]
mov dword [rbp - 0x10], edi
mov edx, 0x10000
movaps xmm0, xmmword [rbp - 0x10]
mov rcx, rbx
movdqa xmmword [rbp - 0x20], xmm0
call qword [rbx + 0x68]
cmp qword [rbp - 0x18], rdi
je 0x14001014f
cmp dword [rbp - 0x20], edi
je 0x14001014f
mov rcx, qword [rbx + 0x110]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rdi
lea r9, [rbp + 0x28]
mov qword [rsp + 0x28], rdi
lea rdx, [rbp - 0x20]
mov r8d, 1
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x30], edi
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
je 0x1400100f8
mov eax, dword [rbp + 0x28]
test eax, eax
je 0x1400100c3
mov edx, eax
lea r8, [rbp - 0x20]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rbp - 0x20]
cmp dword [rbp + 0x28], eax
jb 0x140010160
test dword [rbx + 0x58], 0x1000
jne 0x14000ffc0
jmp 0x140010160
bt edx, 0xc
jae 0x1400100a0
btr edx, 0xc
sub dword [rbx + 0x7c], 1
mov ecx, edx
jne 0x14001009e
mov eax, edx
and al, 5
cmp al, 4
jne 0x14001009e
and edx, 0xfffffffb
mov dword [rbx + 0x58], edx
mov ecx, edx
test dl, 8
je 0x14001009e
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov ecx, dword [rbx + 0x58]
mov edx, ecx
btr edx, 0xe
lea r8, [rbx + 0x120]
xor edi, edi
mov dword [rbx + 0x58], edx
mov qword [rbp - 0x18], rdi
mov rdx, 0xfffffffffffff001
mov dword [rbp - 0x20], edi
jmp 0x14001015a
mov ecx, dword [rbx + 0x58]
and ecx, 0xffffafff
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x1400100ef
mov eax, ecx
and al, 5
cmp al, 4
jne 0x1400100ef
and ecx, 0xfffffffb
mov dword [rbx + 0x58], ecx
test cl, 8
je 0x1400100ef
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov rdx, 0xfffffffffffff001
jmp 0x140010156
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
cmp eax, 0x2733
jne 0x14001010b
xor edx, edx
jmp 0x140010156
mov ecx, dword [rbx + 0x58]
btr ecx, 0xc
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x140010135
mov eax, ecx
and al, 5
cmp al, 4
jne 0x140010135
and ecx, 0xfffffffb
mov dword [rbx + 0x58], ecx
test cl, 8
je 0x140010135
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov ecx, 0x2746
cmp edx, 0x2745
cmove edx, ecx
mov ecx, edx
call fcn.140016510
movsxd rdx, eax
jmp 0x140010156
mov rdx, 0xfffffffffffff024
lea r8, [rbp - 0x20]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rbx + 0x58]
and eax, 0x11000
cmp eax, 0x1000
jne 0x14001017a
mov rdx, rbx
mov rcx, r14
call fcn.14000f3d0
mov ecx, dword [rbx + 0x78]
mov eax, dword [rbx + 0x58]
dec ecx
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x78], ecx
test al, 1
je 0x1400101b3
test ecx, ecx
jne 0x1400101b3
test al, 0x20
jne 0x1400101b3
or eax, 0x20
mov dword [rbx + 0x58], eax
mov rax, qword [r14 + 0x50]
mov qword [rbx + 0x50], rax
mov qword [r14 + 0x50], rbx
add rsp, 0x60
pop r14
pop rbx
pop rbp
ret