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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da71d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5060c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x489464
push 0x4e002e
push 0x100
call fcn.004a27ff
add esp, 8
mov dword [ebp - 0x38], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x4892e6
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x4892fb
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
jmp 0x4892fd
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x18], esi
call fcn.0048e660
mov ecx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x48931a
test eax, eax
je 0x489326
test edi, edi
je 0x489326
push eax
mov ecx, edi
call fcn.00479a50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push 0x100
push dword [ebp - 0x34]
mov dword [ebp - 0x10], esi
mov ecx, dword [eax + 0x10]
push dword [ecx]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x48943e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
test ecx, ecx
je 0x489437
test edi, edi
je 0x4893da
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 - 0x18]
test eax, eax
jb 0x4893c0
ja 0x489381
cmp esi, edx
jbe 0x4893c0
lea esi, [ebx + ecx]
cmp esi, edx
jae 0x48938c
mov eax, dword [edi]
jmp 0x4893bb
jbe 0x4893c0
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp esi, eax
jbe 0x4893a5
push ecx
push esi
mov ecx, edi
call fcn.00479ef0
mov ecx, dword [ebp - 0x10]
jmp 0x4893c0
sub esi, edx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.004a4300
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 - 0x34]
add eax, ebx
push eax
call fcn.004a3d80
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
add ebx, ecx
adc esi, 0
mov dword [ebp - 0x18], esi
test eax, eax
je 0x489403
push ecx
push esi
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x28]
call eax
add esp, 0x24
test eax, eax
je 0x48943e
cmp dword [ebp + 0x18], 0xffffffff
je 0x489417
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x18]
jae 0x48943e
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [ebp - 0x14]
push 0x100
push dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
push dword [eax]
jmp 0x489346
mov esi, 1
jmp 0x489440
xor esi, esi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x489450
push eax
call fcn.004a2808
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
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