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

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
mov qword [rbp + 0xb0], r8
mov dword [rbp + 0xb8], r9d
nop
mov dword [rbp + 0x7c], 0
nop
mov rcx, qword [rbp + 0xa0]
lea rdx, [rbp + 0x60]
mov r8d, 0x1c
mov r9d, 2
call sub.ws2_32.dll_recv
cmp eax, 0x1c
jne 0x5b7319
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x6c]
lea rax, [rax + rcx]
cmp rax, qword [rbp + 0x74]
jne 0x5b7319
cmp qword [rbp + 0x60], 0x20000000
jge 0x5b7319
mov rcx, qword [rbp + 0xa0]
lea rdx, [rbp + 0x60]
mov r8d, 0x1c
xor r9, r9
call sub.ws2_32.dll_recv
cmp eax, 0x1c
jne 0x5b7484
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
mov r8, qword [rbp + 0x60]
call fcn.005b5210
test al, al
je 0x5b7484
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005b5ed0
test al, al
je 0x5b7484
mov eax, dword [rbp + 0x68]
sub eax, 1
test eax, eax
je 0x5b72a6
sub eax, 1
test eax, eax
jne 0x5b72f5
jmp 0x5b72cb
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5b72f5
mov rcx, qword [rbp + 0xb0]
call fcn.005b6650
jmp 0x5b72f5
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5b72f5
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.0059f9c0
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
xor edx, edx
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x48]
mov dword [rbp + 0x7c], 1
jmp 0x5b7484
mov rcx, qword [rbp + 0xa0]
lea rdx, [rbp + 0x54]
mov r8d, 4
xor r9, r9
call sub.ws2_32.dll_recv
cmp eax, 4
jne 0x5b7484
cmp dword [rbp + 0x54], 0
jle 0x5b7484
mov eax, dword [rbp + 0x54]
cmp eax, dword [rbp + 0xb8]
jg 0x5b7484
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
movsxd r8, dword [rbp + 0x54]
call fcn.005b5210
test al, al
je 0x5b7484
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005b5ed0
test al, al
je 0x5b7484
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
lea rax, [rax - 8]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rdx, qword [rbp + 0x48]
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x50]
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax]
lea rdx, [rbp + 0x58]
mov r8d, 8
call fcn.004fb3b0
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov edx, dword [rbp + 0x58]
mov rbx, qword [rax]
call qword [rbx + 8]
mov eax, dword [rbp + 0x5c]
sub eax, 1
test eax, eax
je 0x5b740c
sub eax, 1
test eax, eax
jne 0x5b745b
jmp 0x5b7431
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5b745b
mov rcx, qword [rbp + 0xb0]
call fcn.005b6650
jmp 0x5b745b
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5b745b
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.0059f9c0
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
xor edx, edx
xor r8, r8
mov rax, qword [rax]
call qword [rax + 0x48]
mov dword [rbp + 0x7c], 2
jmp 0x5b7484
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040e960
mov eax, dword [rbp + 0x7c]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret