Function at 0x5c0ce0
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 0x5c0e59
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x6c]
lea rax, [rax + rcx]
cmp rax, qword [rbp + 0x74]
jne 0x5c0e59
cmp qword [rbp + 0x60], 0x20000000
jge 0x5c0e59
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 0x5c0fc4
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
mov r8, qword [rbp + 0x60]
call fcn.005beb60
test al, al
je 0x5c0fc4
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005bfa70
test al, al
je 0x5c0fc4
mov eax, dword [rbp + 0x68]
sub eax, 1
test eax, eax
je 0x5c0de6
sub eax, 1
test eax, eax
jne 0x5c0e35
jmp 0x5c0e0b
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5c0e35
mov rcx, qword [rbp + 0xb0]
call fcn.005c01f0
jmp 0x5c0e35
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5c0e35
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005b5000
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 0x5c0fc4
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 0x5c0fc4
cmp dword [rbp + 0x54], 0
jle 0x5c0fc4
mov eax, dword [rbp + 0x54]
cmp eax, dword [rbp + 0xb8]
jg 0x5c0fc4
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
movsxd r8, dword [rbp + 0x54]
call fcn.005beb60
test al, al
je 0x5c0fc4
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005bfa70
test al, al
je 0x5c0fc4
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.004fb180
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 0x5c0f4c
sub eax, 1
test eax, eax
jne 0x5c0f9b
jmp 0x5c0f71
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5c0f9b
mov rcx, qword [rbp + 0xb0]
call fcn.005c01f0
jmp 0x5c0f9b
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5c0f9b
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005b5000
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 0x5c0fc4
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