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

Disassembly:
jmp 0x180090340
push rbx
push rbp
sub rsp, 0x68
mov rbx, rdx
mov qword [rsp + 0x80], rsi
mov edx, dword [rdx + 0x58]
mov rsi, r8
btr edx, 0x11
mov rbp, rcx
mov dword [rbx + 0x58], edx
cmp dword [r8 + 0x40], 0
jge 0x180090400
bt edx, 8
jb 0x18009037d
bt edx, 0x13
jb 0x180090605
btr edx, 8
sub dword [rbx + 0x7c], 1
mov ecx, edx
mov dword [rbx + 0x58], edx
jne 0x1800903ab
mov eax, edx
and al, 0x41
cmp al, 0x40
jne 0x1800903ab
and edx, 0xffffffbf
mov dword [rbx + 0x58], edx
mov ecx, edx
test dl, 0x20
je 0x1800903ab
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov ecx, dword [rbx + 0x58]
bt ecx, 0x13
jae 0x1800903c2
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.1800017b7
jmp 0x1800903c9
lea rax, [rbx + 0x120]
movups xmm0, xmmword [rax]
mov ecx, dword [rsi + 0x40]
movups xmmword [rsp + 0x40], xmm0
call fcn.180004205
mov ecx, 0x2746
cmp eax, 0x2745
cmove eax, ecx
mov ecx, eax
call fcn.180001f37
movsxd rdx, eax
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
jmp 0x180090605
mov qword [rsp + 0x60], rdi
bt edx, 0x13
jb 0x18009043b
mov rax, qword [r8 + 0x48]
test rax, rax
je 0x1800904f0
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 0x1800905e6
mov edx, dword [rbx + 0x58]
bt edx, 8
jae 0x1800905e6
xor edi, edi
nop word [rax + rax]
lea r8, [rsp + 0x40]
mov edx, 0x10000
mov rcx, rbx
call qword [rbx + 0x68]
cmp dword [rsp + 0x40], edi
je 0x1800905d4
mov rcx, qword [rbx + 0x110]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x88]
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x90], edi
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
je 0x18009057d
mov eax, dword [rsp + 0x88]
test eax, eax
je 0x180090548
mov edx, eax
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jb 0x1800905e6
test dword [rbx + 0x58], 0x100
jne 0x180090450
jmp 0x1800905e6
bt edx, 8
jae 0x180090523
btr edx, 8
sub dword [rbx + 0x7c], 1
mov ecx, edx
jne 0x180090521
mov eax, edx
and al, 0x41
cmp al, 0x40
jne 0x180090521
and edx, 0xffffffbf
mov dword [rbx + 0x58], edx
mov ecx, edx
test dl, 0x20
je 0x180090521
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov ecx, dword [rbx + 0x58]
mov edx, ecx
btr edx, 0xf
lea r8, [rbx + 0x120]
xor edi, edi
mov dword [rbx + 0x58], edx
mov qword [rsp + 0x48], rdi
mov rdx, 0xfffffffffffff001
mov dword [rsp + 0x40], edi
jmp 0x1800905e0
mov ecx, dword [rbx + 0x58]
and ecx, 0xffff7eff
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x180090574
mov eax, ecx
and al, 0x41
cmp al, 0x40
jne 0x180090574
and ecx, 0xffffffbf
mov dword [rbx + 0x58], ecx
test cl, 0x20
je 0x180090574
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov rdx, 0xfffffffffffff001
jmp 0x1800905db
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
cmp eax, 0x2733
jne 0x180090590
xor edx, edx
jmp 0x1800905db
mov ecx, dword [rbx + 0x58]
btr ecx, 8
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x1800905ba
mov eax, ecx
and al, 0x41
cmp al, 0x40
jne 0x1800905ba
and ecx, 0xffffffbf
mov dword [rbx + 0x58], ecx
test cl, 0x20
je 0x1800905ba
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov ecx, 0x2746
cmp edx, 0x2745
cmove edx, ecx
mov ecx, edx
call fcn.180001f37
movsxd rdx, eax
jmp 0x1800905db
mov rdx, 0xfffffffffffff024
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rbx + 0x58]
mov rdi, qword [rsp + 0x60]
and eax, 0x20100
cmp eax, 0x100
jne 0x180090605
mov rdx, rbx
mov rcx, rbp
call fcn.180091c90
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 0x180090636
test ecx, ecx
jne 0x180090636
test al, 8
jne 0x180090636
or eax, 8
mov dword [rbx + 0x58], eax
mov rax, qword [rbp + 0x50]
mov qword [rbx + 0x50], rax
mov qword [rbp + 0x50], rbx
add rsp, 0x68
pop rbp
pop rbx
ret