Function at 0x5c0320
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 0x5c0499
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x6c]
lea rax, [rax + rcx]
cmp rax, qword [rbp + 0x74]
jne 0x5c0499
cmp qword [rbp + 0x60], 0x20000000
jge 0x5c0499
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 0x5c0604
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
mov r8, qword [rbp + 0x60]
call fcn.005be1b0
test al, al
je 0x5c0604
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005bf0b0
test al, al
je 0x5c0604
mov eax, dword [rbp + 0x68]
sub eax, 1
test eax, eax
je 0x5c0426
sub eax, 1
test eax, eax
jne 0x5c0475
jmp 0x5c044b
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5c0475
mov rcx, qword [rbp + 0xb0]
call fcn.005bf830
jmp 0x5c0475
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5c0475
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005b4640
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 0x5c0604
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 0x5c0604
cmp dword [rbp + 0x54], 0
jle 0x5c0604
mov eax, dword [rbp + 0x54]
cmp eax, dword [rbp + 0xb8]
jg 0x5c0604
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
movsxd r8, dword [rbp + 0x54]
call fcn.005be1b0
test al, al
je 0x5c0604
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005bf0b0
test al, al
je 0x5c0604
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.004fb150
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 0x5c058c
sub eax, 1
test eax, eax
jne 0x5c05db
jmp 0x5c05b1
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5c05db
mov rcx, qword [rbp + 0xb0]
call fcn.005bf830
jmp 0x5c05db
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
jle 0x5c05db
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rax]
call fcn.005b4640
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 0x5c0604
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