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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x28]
push ebx
mov ebx, dword [ebp + 0x24]
mov dword [eax], 0
mov eax, dword [ebp + 0x2c]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x20]
mov byte [ecx], 0
mov byte [ebx], 0
mov byte [edx], 0
mov byte [eax], 0
mov al, 1
je 0x5a877d
push edi
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x5a8668
mov ecx, dword [ebp + 0x10]
push 0x79
push ecx
mov ecx, edi
call fcn.0056d720
mov ecx, edi
call fcn.0056d4d0
test al, al
jne 0x5a8886
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x2c]
mov byte [ecx], 0
mov byte [ebx], 0
mov byte [edx], 0
mov byte [eax], 0
cmp dword [esi + 0xa4], 0xffffffff
je 0x5a878d
mov dword [0x7202e4], 0x6e
mov eax, dword [esi + 0x118]
test eax, eax
jne 0x5a86a3
mov eax, 0x1499700
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x28]
push ebx
push ecx
push edi
push eax
push edx
mov ecx, esi
call fcn.005a66b0
test al, al
je 0x5a87a9
mov eax, dword [ebp + 0x10]
push ebx
push edi
lea ecx, [esi + 0xf0]
push eax
mov dword [0x7202e4], 0x6f
call fcn.005f3f40
cmp byte [ebx], 0
jne 0x5a87bc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push ecx
mov dword [0x7202e4], 0x70
mov eax, dword [esi + 0xa4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
je 0x5a87de
cmp edi, 0xffffffff
je 0x5a8851
mov dword [0x7202e4], 0x71
test edi, edi
jle 0x5a874a
push edi
lea ecx, [esi + 0xf0]
call fcn.005f3ed0
cmp byte [esi + 0x184], 0
je 0x5a874a
mov ecx, dword [ebp + 0x18]
push ecx
push edi
lea ecx, [esi + 0x10]
call fcn.005ab480
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x5a8758
push ebx
push edi
call fcn.0056d9e0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], edi
sub eax, edi
mov dword [0x7202e4], 0x96
add dword [ecx], edi
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x5a8645
mov al, 1
pop edi
pop esi
mov dword [0x7202e4], 0x97
pop ebx
pop ebp
ret 0x28
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.This_socket_is_not_connected
call eax
mov ecx, dword [ebp + 0x28]
mov byte [ecx], 1
mov byte [esi + 0xa0], 0
pop edi
pop esi
xor al, al
mov dword [0x7202e4], 0x97
pop ebx
pop ebp
ret 0x28
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.Aborted_by_application_while_download_throttling__2_
call eax
pop edi
pop esi
xor al, al
mov dword [0x7202e4], 0x97
pop ebx
pop ebp
ret 0x28
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [0x7202e4], 0x72
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
push eax
push str.numBytesRequested
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Connection_closed_by_server.
mov ecx, edi
call edx
mov eax, dword [esi + 0xa4]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [esi + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp + 0x2c]
mov dword [esi + 0xa4], 0xffffffff
mov byte [esi + 0xa0], 0
pop edi
pop esi
mov byte [edx], 1
xor al, al
mov dword [0x7202e4], 0x97
pop ebx
pop ebp
ret 0x28
mov edi, dword [ebp + 0x14]
mov ecx, edi
call fcn.00561e70
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
push ecx
push str.numBytesRequested
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Failed_to_receive_data_on_the_TCP_socket
mov ecx, edi
call edx
mov eax, dword [ebp + 0x28]
mov byte [eax], 1
jmp 0x5a87a2
pop edi
mov byte [ebx], 1
pop esi
xor al, al
mov dword [0x7202e4], 0x97
pop ebx
pop ebp
ret 0x28