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

Disassembly:
push rbp
sub rsp, 0x870
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x880], rcx
nop
mov eax, dword [rbp + 0x5c]
cmp eax, dword [rbp + 0x5c]
jle 0x5739a0
call fcn.00571190
add dword [rbp + 0x50], 0x239
sub dword [rbp + 0x50], 0x29d
lea rcx, [rbp + 0x60]
call fcn.0040e5d0
mov dword [rbp + 0x5c], 0
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1ca0]
call fcn.0040fe40
mov dword [rbp + 0x5c], 0
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1cf0]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
add dword [rbp + 0x5c], eax
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.0042be80
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x48]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
add dword [rbp + 0x5c], eax
lea rcx, [rbp + 0x60]
lea rdx, [0x00573c78]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x308
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x40]
mov edx, 3
call fcn.0042be80
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x40]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x2ec
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.0042be80
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x38]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x2f0
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x60]
lea rdx, [0x00573c88]
call fcn.0040fe40
sub dword [rbp + 0x50], 0x294
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1cf8]
call fcn.0040fe40
sub dword [rbp + 0x50], 0x258
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
mov eax, dword [rbp + 0x50]
add eax, 0x21c
mov dword [rbp + 0x54], eax
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
sub dword [rbp + 0x50], 0x260
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x2c9
mov dword [rbp + 0x50], eax
mov eax, 0x58
sub eax, dword [rbp + 0x5c]
cmp eax, 0x103
jge 0x573b0c
lea rcx, [rbp + 0x5c]
lea rdx, [rbp + 0x5c]
lea r8, [rbp + 0x5c]
lea r9, [rbp + 0x58]
call fcn.0056ee50
mov eax, dword [rbp + 0x5c]
cmp eax, dword [rbp + 0x5c]
jle 0x573b25
lea rcx, [rbp + 0x5c]
lea rdx, [rbp + 0x5c]
lea r8, [rbp + 0x5c]
call fcn.0056f180
mov rcx, qword [rbp + 0x880]
mov edx, 1
call sub.ws2_32.dll_shutdown
lea rcx, [rbp + 0x5c]
lea rdx, [rbp + 0x5c]
lea r8, [rbp + 0x5c]
lea r9, [rbp + 0x5c]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x54]
mov qword [rsp + 0x28], rax
call fcn.0056f650
mov eax, dword [rbp + 0x5c]
add eax, dword [rbp + 0x5c]
mov ecx, dword [rbp + 0x58]
add ecx, dword [rbp + 0x58]
cmp eax, ecx
jge 0x573b83
lea rcx, [rbp + 0x5c]
lea rdx, [rbp + 0x5c]
lea r8, [rbp + 0x58]
lea r9, [rbp + 0x58]
call fcn.00537d10
mov rcx, qword [rbp + 0x880]
lea rdx, [rbp + 0x6e]
mov r8d, 0x400
xor r9, r9
call sub.ws2_32.dll_recv
test eax, eax
jg 0x573b83
mov eax, dword [rbp + 0x5c]
add dword [rbp + 0x5c], eax
mov eax, 0x58
sub eax, dword [rbp + 0x5c]
cmp eax, 0x101
jge 0x573bcd
lea rcx, [rbp + 0x5c]
lea rdx, [rbp + 0x5c]
lea r8, [rbp + 0x5c]
lea r9, [rbp + 0x5c]
call fcn.0056aee0
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x31b
mov dword [rbp + 0x50], eax
mov rcx, qword [rbp + 0x880]
call sub.ws2_32.dll_closesocket
lea rcx, [rbp + 0x5c]
lea rdx, [rbp + 0x5c]
lea r8, [rbp + 0x5c]
lea r9, [rbp + 0x58]
call fcn.0056aee0
lea rcx, [rbp + 0x5c]
lea rdx, [rbp + 0x5c]
lea r8, [rbp + 0x5c]
lea r9, [rbp + 0x5c]
call fcn.0056ee50
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040e6b0
lea rcx, [rbp + 0x60]
call fcn.0040e5d0
lea rsp, [rbp + 0x870]
pop rbp
ret