Function at 0x46a350
Capabilities:
Check for time delay via gettickcount
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b871d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4e4018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], ecx
test esi, esi
je 0x46a591
push 0x4bc910
push 0x100
call fcn.00487e1f
add esp, 8
mov dword [ebp - 0x34], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x30], 0
test eax, eax
je 0x46a3b6
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x46a3cb
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
jmp 0x46a3cd
xor ebx, ebx
push 5
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.004724c0
mov esi, dword [ebp - 0x24]
push 0xa
push 0
push esi
call fcn.00499538
mov dword [ebp - 0x18], eax
add esp, 0xc
mov eax, edx
add esi, 0xfffffff0
mov dword [ebp - 0x24], eax
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x46a414
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x46a41f
test esi, esi
je 0x46a466
test edi, edi
je 0x46a466
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp - 0x1c], eax
cmp esi, ecx
jae 0x46a438
lea eax, [edx + esi]
jmp 0x46a463
jbe 0x46a466
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x46a44e
push ecx
push esi
mov ecx, edi
call fcn.0046b0f0
jmp 0x46a466
sub esi, ecx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.00489ec0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
push 0x100
push dword [ebp - 0x30]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x46a564
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x46a58a
test edi, edi
je 0x46a515
mov edx, dword [edi + 4]
xor eax, eax
mov dword [ebp - 0x1c], edx
mov esi, ecx
sub edx, dword [edi]
add esi, ebx
adc eax, dword [ebp - 0x14]
test eax, eax
jb 0x46a4fe
ja 0x46a4bf
cmp esi, edx
jbe 0x46a4fe
lea esi, [ebx + ecx]
cmp esi, edx
jae 0x46a4ca
mov eax, dword [edi]
jmp 0x46a4f9
jbe 0x46a4fe
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp esi, eax
jbe 0x46a4e3
push ecx
push esi
mov ecx, edi
call fcn.0046b0f0
mov ecx, dword [ebp - 0x10]
jmp 0x46a4fe
sub esi, edx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.00489ec0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add eax, esi
mov dword [edi + 4], eax
mov eax, dword [edi]
push ecx
push dword [ebp - 0x30]
add eax, ebx
push eax
call fcn.00489940
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add ebx, ecx
push ecx
adc eax, 0
push eax
push ebx
push dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x18]
push 0
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x28]
call fcn.00467f00
add esp, 0x24
test eax, eax
je 0x46a564
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [esi + 0x10]
push 0x100
push dword [ebp - 0x30]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x46a495
xor esi, esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x46a576
push eax
call fcn.00487e1a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x46a566
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret