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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x491f58
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x58]
push edi
mov byte [ecx], 0
mov byte [ebx], 0
mov byte [ebp], 0
mov byte [eax], 0
cmp dword [esi + 0x54], 0xffffffff
jne 0x464148
mov ecx, dword [esp + 0x4c]
push str.This_socket_is_not_connected
mov dword [ecx], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov byte [ebp], 1
mov byte [esi + 0x50], 0
xor al, al
jmp 0x464324
mov dword [0x4c542c], 0x6e
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x464161
mov eax, 0x80befc00
mov edi, dword [esp + 0x54]
push edi
push ecx
mov ecx, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push ecx
push eax
push ebp
mov ecx, esi
call fcn.00463210
test al, al
jne 0x46418e
mov edx, dword [esp + 0x4c]
mov dword [edx], 0
jmp 0x464324
mov eax, dword [esp + 0x58]
push ebx
push eax
lea ecx, [esi + 0x98]
push ebp
mov dword [0x4c542c], 0x6f
call fcn.00473930
cmp byte [ebx], 0
je 0x4641cc
mov edx, dword [edi]
push str.Aborted_by_application_while_download_throttling__2_
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esp + 0x4c]
mov dword [eax], 0
xor al, al
jmp 0x464324
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [0x4c542c], 0x70
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jne 0x46424c
mov dword [0x4c542c], 0x72
mov eax, dword [ebp]
mov edx, dword [edi]
push eax
push str.numBytesRequested
mov ecx, edi
call dword [edx + 0x2c]
mov edx, dword [edi]
push str.Connection_closed_by_server.
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esi + 0x54]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [esi + 0x54]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [esp + 0x68]
mov dword [esi + 0x54], 0xffffffff
mov byte [esi + 0x50], bl
xor al, al
mov byte [edx], 1
mov dword [ebp], ebx
jmp 0x464324
cmp ebx, 0xffffffff
jne 0x4642cd
lea ecx, [esp + 0x10]
call fcn.0041d9e0
push str.SOCKET_ERROR:
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0041d4d0
lea ecx, [esp + 0x10]
call fcn.0041ef70
mov ebx, dword [edi]
lea ecx, [esp + 0x10]
call fcn.0041c940
push eax
mov ecx, edi
call dword [ebx + 0x10]
mov ecx, dword [ebp]
mov eax, dword [edi]
push ecx
push str.numBytesRequested
mov ecx, edi
call dword [eax + 0x2c]
mov edx, dword [edi]
push str.Failed_to_receive_data_on_the_TCP_socket
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
mov byte [eax], 1
mov dword [ebp], 0
mov byte [esi + 0x50], 0
call fcn.0041dcd0
xor al, al
jmp 0x464324
mov dword [ebp], ebx
mov dword [0x4c542c], 0x71
test ebx, ebx
jle 0x464302
push ebx
lea ecx, [esi + 0x98]
call fcn.004738d0
mov al, byte [esi + 0x12c]
test al, al
je 0x464302
mov ecx, dword [esp + 0x58]
push ecx
push ebx
lea ecx, [esi + 0x10]
call fcn.00473ca0
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x464318
mov edx, dword [esp + 0x60]
mov eax, dword [ebp]
push edx
push eax
call fcn.00430c90
mov dword [0x4c542c], 0x73
mov al, 1
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24