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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cde0d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4fa0a8]
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 0x47d799
push 0x4d2d86
push 0x100
call fcn.0049aadc
add esp, 8
mov dword [ebp - 0x38], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x47d606
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x47d61b
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
jmp 0x47d61d
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x18], esi
call fcn.00488420
mov ecx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x47d63a
test eax, eax
je 0x47d646
test edi, edi
je 0x47d646
push eax
mov ecx, edi
call fcn.004734d0
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 0x47d76c
mov eax, dword [ebp + 0xc]
nop word [eax + eax]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x47d792
test edi, edi
je 0x47d703
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 0x47d6e9
ja 0x47d6aa
cmp esi, edx
jbe 0x47d6e9
lea esi, [ebx + ecx]
cmp esi, edx
jae 0x47d6b5
mov eax, dword [edi]
jmp 0x47d6e4
jbe 0x47d6e9
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp esi, eax
jbe 0x47d6ce
push ecx
push esi
mov ecx, edi
call fcn.00473a10
mov ecx, dword [ebp - 0x10]
jmp 0x47d6e9
sub esi, edx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.0049c3c0
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.0049be40
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 0x47d72c
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 0x47d76c
cmp dword [ebp + 0x18], 0xffffffff
je 0x47d740
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x18]
jae 0x47d76c
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]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x47d680
xor esi, esi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x47d77e
push eax
call fcn.0049aae5
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 0x47d76e
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