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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xa4], 0xffffffff
jne 0x53c813
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
push 0x6ac2e8
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa0], 0
xor al, al
jmp 0x53ca17
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x100]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x53c82c
mov dword [ebp - 4], 0xea60
push 0xabc
push 0
push 0
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0053b7e0
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0xa]
test eax, eax
jne 0x53c8b1
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xa4], 0xffffffff
je 0x53c891
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x100]
push eax
push str.timeoutMs2
mov ecx, dword [ebp + 0x18]
call fcn.004a5c40
push str.WaitForData_timed_out.
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
jmp 0x53c8a1
mov edx, dword [ebp + 0x14]
mov byte [edx], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa0], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
xor al, al
jmp 0x53ca17
mov byte [ebp - 9], 0
lea edx, [ebp - 9]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xd8
call fcn.005923c0
movzx ecx, byte [ebp - 9]
test ecx, ecx
je 0x53c8f7
push str.Aborted_by_application_while_download_throttling__1_
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
xor al, al
jmp 0x53ca17
push 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
cmp dword [ebp - 8], 0
jne 0x53c982
push str.The_peer_has_closed_the_socket__TCP__connection
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
push 2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xa4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa0], 0
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
xor al, al
jmp 0x53ca17
cmp dword [ebp - 8], 0xffffffff
je 0x53c98e
cmp dword [ebp - 8], 0
jge 0x53c9b8
mov ecx, dword [ebp + 0x18]
call fcn.004a5dd0
push str.Failed_to_receive_on_the_TCP_socket
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa0], 0
xor al, al
jmp 0x53ca17
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
cmp dword [ebp - 8], 0
jle 0x53c9f9
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xd8
call fcn.00592330
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x16c]
test edx, edx
je 0x53c9f9
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00540f20
cmp dword [ebp + 0x1c], 0
je 0x53ca15
mov byte [ebp - 0xb], 0
lea edx, [ebp - 0xb]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.004bf930
mov al, 1
mov esp, ebp
pop ebp
ret 0x18