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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x14]
call fcn.004a91c0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa4], 0xffffffff
jne 0x48af0a
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
push str.This_socket_is_not_connected
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 + 0x14]
mov byte [eax + 0xe], 1
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0xa0], 0
mov edx, dword [ebp - 0xc]
mov byte [edx + 0xa1], 0
xor al, al
jmp 0x48b119
cmp dword [ebp + 0x10], 0
jne 0x48af17
mov dword [ebp + 0x10], 0x1499700
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.0048a300
mov byte [ebp - 6], al
movzx eax, byte [ebp - 6]
test eax, eax
jne 0x48af46
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
xor al, al
jmp 0x48b119
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0xd]
test eax, eax
je 0x48af73
push str.Aborted_by_application_while_waiting_for_data.
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 + 0xc]
mov dword [ecx], 0
xor al, al
jmp 0x48b119
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
push eax
push 0x1000
mov ecx, dword [ebp - 0xc]
add ecx, 0x140
call fcn.004e9b00
mov byte [ebp - 5], al
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x48afc1
mov edx, dword [ebp + 0x14]
mov byte [edx + 0xd], 1
push str.Aborted_by_application_while_download_throttling__2_
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
xor al, al
jmp 0x48b119
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xa4]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48b03e
mov ecx, dword [ebp + 0x18]
movzx edx, byte [ecx + 0x48]
test edx, edx
je 0x48b016
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push 0x59e4cc
mov ecx, dword [ebp + 0x18]
call fcn.00461550
push str.Connection_closed_by_peer.
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 + 0x18]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00489c30
mov ecx, dword [ebp + 0x14]
mov byte [ecx + 0xf], 1
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
xor al, al
jmp 0x48b119
cmp dword [ebp - 4], 0xffffffff
je 0x48b04a
cmp dword [ebp - 4], 0
jge 0x48b09a
mov ecx, dword [ebp + 0x18]
call fcn.00461690
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push 0x59e4fc
mov ecx, dword [ebp + 0x18]
call fcn.00461550
push str.Failed_to_receive_data_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 + 0x14]
mov byte [eax + 0xe], 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov edx, dword [ebp - 0xc]
mov byte [edx + 0xa0], 0
xor al, al
jmp 0x48b119
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
jle 0x48b0e8
mov edx, dword [ebp - 4]
sub edx, 0x1000
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x140
call fcn.004e9df0
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x24c]
test ecx, ecx
je 0x48b0e8
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
call fcn.004e4bc0
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x249]
test ecx, ecx
je 0x48b117
mov edx, dword [ebp + 0x14]
cmp dword [edx + 4], 0
je 0x48b117
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 4]
call fcn.0046be70
mov al, 1
mov esp, ebp
pop ebp
ret 0x14