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

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r12d, r12d
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov r15d, r12d
cmp byte [rcx + 0x30], r12b
je 0x1400914ff
call fcn.140091410
mov r15, rax
mov edx, dword [rbx + 0x18]
cmp edx, 0xffffffff
je 0x1400916b9
cmp byte [rbx + 0x60], r12b
jne 0x14009153d
mov r8d, dword [rbx + 0x1c]
call fcn.140091320
test eax, eax
js 0x1400916e5
jne 0x14009153d
cmp dword [rbx + 0x1c], r12d
jne 0x140091711
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14009153d
mov rcx, qword [rbx + 0x28]
call rax
mov eax, dword [rbx + 0x18]
cmp eax, 0xffffffff
je 0x14009172d
mov qword [rsp + 0x148], rbp
xor bpl, bpl
mov qword [rsp + 0x140], rdi
nop dword [rax]
cmp byte [rbx + 0x60], r12b
je 0x14009159e
movsxd rax, dword [rbx + 0x64]
mov rcx, r14
mov edi, dword [rbx + 0x68]
mov rdx, rax
sub edi, eax
cmp esi, edi
cmovle edi, esi
add rdx, qword [rbx + 0x58]
movsxd r8, edi
call fcn.14011fbe0
add dword [rbx + 0x64], edi
mov eax, dword [rbx + 0x64]
cmp eax, dword [rbx + 0x68]
jne 0x140091599
mov byte [rbx + 0x60], r12b
mov qword [rbx + 0x64], r12
mov bpl, 1
jmp 0x1400915b2
movsxd rcx, eax
xor r9d, r9d
mov r8d, esi
mov rdx, r14
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1400915ed
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 4
jne 0x140091785
lea ecx, [rdi + 3]
call fcn.14012d310
mov rcx, rax
lea rdx, str.read_returned_EINTR_n
call fcn.1400698b0
mov eax, dword [rbx + 0x18]
cmp eax, edi
je 0x140091759
jmp 0x140091560
test edi, edi
js 0x140091785
je 0x1400917b1
test bpl, bpl
jne 0x140091687
movsxd rax, edi
add qword [rbx + 0x70], rax
cmp byte [rbx + 0x30], r12b
je 0x140091687
call fcn.140091410
mov rcx, rax
movabs rax, 0xa3d70a3d70a3d70b
sub rcx, r15
imul rcx
lea r9, [rcx + rdx]
sar r9, 6
lea ecx, [rdi*8]
mov rax, r9
shr rax, 0x3f
add r9, rax
mov eax, 0x10624dd3
imul ecx
mov r10d, edx
sar r10d, 6
mov eax, r10d
shr eax, 0x1f
add r10d, eax
imul eax, r10d, 0x3e8
movsxd r8, eax
mov eax, r10d
cdq
cmp r9, r8
cmovle r8, r9
and edx, 3
add eax, edx
sar eax, 2
movsxd rcx, eax
cmp r8, rcx
cmovge eax, r8d
add dword [rbx + 0x34], eax
add dword [rbx + 0x38], r10d
mov rbp, qword [rsp + 0x148]
mov eax, edi
mov rdi, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x150
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.read
lea rcx, [rsp + 0x20]
call fcn.140090ea0
lea rdx, [0x1401b18c8]
lea rcx, [rsp + 0x20]
call fcn.1401202c4
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.select
lea rcx, [rsp + 0x20]
call fcn.140090ea0
lea rdx, [0x1401b18c8]
lea rcx, [rsp + 0x20]
call fcn.1401202c4
int3
lea rcx, [rsp + 0x20]
call fcn.140091080
lea rdx, [0x1401b1828]
lea rcx, [rsp + 0x20]
call fcn.1401202c4
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.read
lea rcx, [rsp + 0x20]
call fcn.140090ea0
lea rdx, [0x1401b18c8]
lea rcx, [rsp + 0x20]
call fcn.1401202c4
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.read
lea rcx, [rsp + 0x20]
call fcn.140090ea0
lea rdx, [0x1401b18c8]
lea rcx, [rsp + 0x20]
call fcn.1401202c4
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.read
lea rcx, [rsp + 0x20]
call fcn.140090ea0
lea rdx, [0x1401b18c8]
lea rcx, [rsp + 0x20]
call fcn.1401202c4
int3
lea rdx, str.read
lea rcx, [rsp + 0x20]
call fcn.140037840
lea rdx, [0x1401b15a0]
lea rcx, [rsp + 0x20]
call fcn.1401202c4
int3