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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8d0d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4e3018]
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 0x47a4a7
push 0x4bb900
push 0x100
call fcn.00486f8a
add esp, 8
mov dword [ebp - 0x38], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x47a2a6
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x47a2bb
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
jmp 0x47a2bd
xor ebx, ebx
push 5
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.0047f2a0
mov esi, dword [ebp - 0x24]
push 0xa
push 0
push esi
call fcn.00498568
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 0x47a304
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 0x47a30f
test esi, esi
je 0x47a356
test edi, edi
je 0x47a356
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp - 0x1c], eax
cmp esi, ecx
jae 0x47a328
lea eax, [edx + esi]
jmp 0x47a353
jbe 0x47a356
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x47a33e
push ecx
push esi
mov ecx, edi
call fcn.0046c230
jmp 0x47a356
sub esi, ecx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.00489020
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]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x10]
push eax
push 0x100
mov ecx, dword [esi + 0x10]
push dword [ebp - 0x34]
mov dword [ebp - 0x10], 0
push dword [ecx]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x47a47a
mov edx, dword [ebp + 0xc]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x47a4a0
test edi, edi
je 0x47a413
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 0x47a3f9
ja 0x47a3ba
cmp esi, edx
jbe 0x47a3f9
lea esi, [ebx + ecx]
cmp esi, edx
jae 0x47a3c5
mov eax, dword [edi]
jmp 0x47a3f4
jbe 0x47a3f9
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp esi, eax
jbe 0x47a3de
push ecx
push esi
mov ecx, edi
call fcn.0046c230
mov ecx, dword [ebp - 0x10]
jmp 0x47a3f9
sub esi, edx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.00489020
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.00488aa0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
add ebx, ecx
adc eax, 0
mov dword [ebp - 0x14], eax
test edx, edx
je 0x47a43d
push ecx
push eax
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push 0
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x28]
call edx
add esp, 0x24
test eax, eax
je 0x47a47a
cmp dword [ebp + 0x18], 0xffffffff
je 0x47a451
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x18]
jae 0x47a47a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [esi + 0x10]
push 0x100
push dword [ebp - 0x34]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [ebp + 0xc]
test eax, eax
jne 0x47a390
xor esi, esi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x47a48c
push eax
call fcn.00486f85
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 0x47a47c
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