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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b88ed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4e2018]
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 0x47a097
push 0x4ba900
push 0x100
call fcn.00486b7a
add esp, 8
mov dword [ebp - 0x38], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x479e96
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x479eab
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
jmp 0x479ead
xor ebx, ebx
push 5
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.0047ee90
mov esi, dword [ebp - 0x24]
push 0xa
push 0
push esi
call fcn.00498158
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 0x479ef4
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 0x479eff
test esi, esi
je 0x479f46
test edi, edi
je 0x479f46
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp - 0x1c], eax
cmp esi, ecx
jae 0x479f18
lea eax, [edx + esi]
jmp 0x479f43
jbe 0x479f46
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x479f2e
push ecx
push esi
mov ecx, edi
call fcn.0046be20
jmp 0x479f46
sub esi, ecx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.00488c10
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 0x47a06a
mov edx, dword [ebp + 0xc]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x47a090
test edi, edi
je 0x47a003
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 0x479fe9
ja 0x479faa
cmp esi, edx
jbe 0x479fe9
lea esi, [ebx + ecx]
cmp esi, edx
jae 0x479fb5
mov eax, dword [edi]
jmp 0x479fe4
jbe 0x479fe9
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp esi, eax
jbe 0x479fce
push ecx
push esi
mov ecx, edi
call fcn.0046be20
mov ecx, dword [ebp - 0x10]
jmp 0x479fe9
sub esi, edx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.00488c10
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.00488690
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 0x47a02d
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 0x47a06a
cmp dword [ebp + 0x18], 0xffffffff
je 0x47a041
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x18]
jae 0x47a06a
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 0x479f80
xor esi, esi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x47a07c
push eax
call fcn.00486b75
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 0x47a06c
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