Function at 0x404dc0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdde8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], edx
test eax, eax
je 0x404e0c
mov dword [eax], 0
test edx, edx
je 0x404e25
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
test eax, eax
je 0x404e25
mov eax, 1
jmp 0x404fc3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x404fc3
mov eax, dword [ebx]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
mov dword [ebp - 0x1c], 0
call dword [eax + 4]
test eax, eax
jne 0x404e51
mov eax, 0x1400
jmp 0x404e6c
mov eax, dword [ebp - 0x1c]
cmp eax, 0x1400
jae 0x404e62
mov eax, 0x1400
jmp 0x404e6c
mov ecx, 0x400000
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x1c], eax
inc eax
push eax
call fcn.0047d9ae
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x404e90
xor edi, edi
jmp 0x404fc1
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 0
push esi
call fcn.0049aba0
mov ebx, dword [ebp - 0x1c]
mov ecx, 1
add esp, 0xc
mov dword [ebp - 0x14], ecx
xor edi, edi
mov eax, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
test ecx, ecx
je 0x404f7e
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x404ed4
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jne 0x404f7b
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
sub ebx, edi
lea eax, [edi + esi]
push ebx
push eax
mov eax, dword [ebp - 0x30]
push dword [eax + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x404f17
test ecx, ecx
je 0x404f17
mov edx, dword [ebp - 0x28]
add edi, ecx
mov dword [ebp - 0x24], edi
test edx, edx
je 0x404f17
mov eax, dword [edx]
push ecx
push edi
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
cmp edi, ebx
jne 0x404f6a
shl ebx, 2
lea eax, [ebx + 1]
push eax
call fcn.0047d9ae
mov edi, eax
add esp, 4
test edi, edi
je 0x404f77
lea eax, [ebx + 1]
push eax
push 0
push edi
call fcn.0049aba0
mov eax, dword [ebp - 0x24]
push eax
push esi
push edi
call fcn.0049ac30
mov eax, esi
add esp, 0x18
mov esi, edi
mov dword [ebp - 0x18], esi
test eax, eax
je 0x404f61
push eax
call fcn.00495300
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x404eb5
jmp 0x404fa5
xor edi, edi
jmp 0x404fa8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x404fa5
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov byte [edi + esi], 0
cmp edx, eax
je 0x404fa5
mov ecx, dword [edx]
mov eax, esi
xor esi, esi
mov dword [edx], eax
test ecx, ecx
je 0x404fa5
push ecx
call fcn.00495300
add esp, 4
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x404fb4
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
test esi, esi
je 0x404fc1
push esi
call fcn.00495300
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0xc