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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470d68
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x4c]
push edi
mov byte [ecx], 0
mov byte [ebx], 0
mov byte [ebp], 0
mov byte [eax], 0
cmp dword [esi + 0x4c], 0xffffffff
jne 0x4497a8
mov ecx, dword [esp + 0x40]
push str.This_socket_is_not_connected
mov dword [ecx], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov byte [ebp], 1
mov byte [esi + 0x48], 0
xor al, al
jmp 0x449948
mov eax, dword [esi + 0xb8]
test eax, eax
jne 0x4497b7
mov eax, 0x1499700
mov edi, dword [esp + 0x48]
push edi
push ecx
mov ecx, dword [esp + 0x54]
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push ecx
push eax
push ebp
mov ecx, esi
call fcn.00448a00
test al, al
jne 0x4497e4
mov edx, dword [esp + 0x40]
mov dword [edx], 0
jmp 0x449948
mov eax, dword [esp + 0x4c]
push ebx
push eax
lea ecx, [esi + 0x90]
push ebp
call fcn.00457de0
cmp byte [ebx], 0
je 0x449818
mov edx, dword [edi]
push str.Aborted_by_application_while_download_throttling__2_
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [esp + 0x40]
mov dword [eax], 0
xor al, al
jmp 0x449948
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x4c]
push 0
mov ecx, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jne 0x449884
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 + 0x4c]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [esi + 0x4c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x4c], 0xffffffff
mov byte [esi + 0x48], bl
xor al, al
mov byte [edx], 1
mov dword [ebp], ebx
jmp 0x449948
cmp ebx, 0xffffffff
jne 0x449905
lea ecx, [esp + 0x10]
call fcn.004146b0
push str.SOCKET_ERROR:
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.004141f0
lea ecx, [esp + 0x10]
call fcn.004159e0
mov ebx, dword [edi]
lea ecx, [esp + 0x10]
call fcn.00443b00
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 + 0x58]
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
mov byte [eax], 1
mov dword [ebp], 0
mov byte [esi + 0x48], 0
call fcn.004149a0
xor al, al
jmp 0x449948
test ebx, ebx
mov dword [ebp], ebx
jle 0x449930
push ebx
lea ecx, [esi + 0x90]
call fcn.00457d80
mov al, byte [esi + 0x100]
test al, al
je 0x449930
mov ecx, dword [esp + 0x4c]
push ecx
push ebx
lea ecx, [esi + 8]
call fcn.00458150
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x449946
mov edx, dword [esp + 0x54]
mov eax, dword [ebp]
push edx
push eax
call fcn.00421510
mov al, 1
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x24