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

Disassembly:
push rbp
push rbx
push r14
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov qword [rsp + 0x80], rsi
mov edx, dword [rdx + 0x58]
mov rsi, r8
btr edx, 0x10
mov r14, rcx
mov dword [rbx + 0x58], edx
cmp dword [r8 + 0x40], 0
jge 0x1400b02de
bt edx, 0xc
jb 0x1400b0262
bt edx, 0x12
jb 0x1400b04ed
btr edx, 0xc
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], edx
jne 0x1400b0289
mov eax, edx
and al, 5
cmp al, 4
jne 0x1400b0289
and edx, 0xfffffffb
mov dword [rbx + 0x58], edx
test dl, 8
je 0x1400b0289
mov rax, qword [rbx + 8]
dec dword [rax + 8]
test dword [rbx + 0x58], 0x40000
je 0x1400b02a2
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.1400a8bd0
jmp 0x1400b02a9
lea rax, [rbx + 0x120]
movups xmm0, xmmword [rax]
mov ecx, dword [rsi + 0x40]
movups xmmword [rbp - 0x20], xmm0
call fcn.1400b8290
mov ecx, 0x2746
cmp eax, 0x2745
cmove eax, ecx
mov ecx, eax
call fcn.1400b6650
movsxd rdx, eax
lea r8, [rbp - 0x20]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
jmp 0x1400b04ed
mov qword [rsp + 0x98], rdi
bt edx, 0x12
jb 0x1400b0319
mov rax, qword [r8 + 0x48]
test rax, rax
je 0x1400b03de
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 0x1400b04cb
test dword [rbx + 0x58], 0x1000
mov edi, 0x20
je 0x1400b04cb
xor esi, esi
nop dword [rax]
mov eax, edi
dec edi
test eax, eax
jle 0x1400b04cb
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.1400a8bd0
lea r8, [rbp - 0x20]
mov edx, 0x10000
mov rcx, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
call qword [rbx + 0x68]
cmp qword [rbp - 0x18], rsi
je 0x1400b04ba
cmp dword [rbp - 0x20], esi
je 0x1400b04ba
mov rcx, qword [rbx + 0x110]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rsi
lea r9, [rbp + 0x28]
mov qword [rsp + 0x28], rsi
lea rdx, [rbp - 0x20]
mov r8d, 1
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x30], esi
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
je 0x1400b0463
mov eax, dword [rbp + 0x28]
test eax, eax
je 0x1400b042e
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 0x1400b04cb
test dword [rbx + 0x58], 0x1000
jne 0x1400b0330
jmp 0x1400b04cb
bt edx, 0xc
jae 0x1400b040b
btr edx, 0xc
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], edx
jne 0x1400b040b
mov eax, edx
and al, 5
cmp al, 4
jne 0x1400b040b
and edx, 0xfffffffb
mov dword [rbx + 0x58], edx
test dl, 8
je 0x1400b040b
mov rax, qword [rbx + 8]
dec dword [rax + 8]
and dword [rbx + 0x58], 0xffffbfff
lea r8, [rbx + 0x120]
xor esi, esi
mov rdx, 0xfffffffffffff001
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x20], esi
jmp 0x1400b04c5
mov ecx, dword [rbx + 0x58]
and ecx, 0xffffafff
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x1400b045a
mov eax, ecx
and al, 5
cmp al, 4
jne 0x1400b045a
and ecx, 0xfffffffb
mov dword [rbx + 0x58], ecx
test cl, 8
je 0x1400b045a
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov rdx, 0xfffffffffffff001
jmp 0x1400b04c1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
cmp eax, 0x2733
jne 0x1400b0476
xor edx, edx
jmp 0x1400b04c1
mov ecx, dword [rbx + 0x58]
btr ecx, 0xc
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x1400b04a0
mov eax, ecx
and al, 5
cmp al, 4
jne 0x1400b04a0
and ecx, 0xfffffffb
mov dword [rbx + 0x58], ecx
test cl, 8
je 0x1400b04a0
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov ecx, 0x2746
cmp edx, 0x2745
cmove edx, ecx
mov ecx, edx
call fcn.1400b6650
movsxd rdx, eax
jmp 0x1400b04c1
mov rdx, 0xfffffffffffff024
lea r8, [rbp - 0x20]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rbx + 0x58]
mov rdi, qword [rsp + 0x98]
and eax, 0x11000
cmp eax, 0x1000
jne 0x1400b04ed
mov rdx, rbx
mov rcx, r14
call fcn.1400b0f50
mov ecx, dword [rbx + 0x78]
mov eax, dword [rbx + 0x58]
dec ecx
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x78], ecx
test al, 1
je 0x1400b051e
test ecx, ecx
jne 0x1400b051e
test al, 0x20
jne 0x1400b051e
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