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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084dad
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100a1040]
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
mov edi, dword [ebp + 8]
test esi, esi
je 0x10045db3
push 0x10087592
push 0x100
call fcn.10053bff
add esp, 8
mov dword [ebp - 0x34], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x30], 0
test eax, eax
je 0x10045bc9
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
test edi, edi
je 0x10045bdb
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
jmp 0x10045bdd
xor ebx, ebx
push 5
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.1004ab60
mov esi, dword [ebp - 0x24]
push 0xa
push 0
push esi
call fcn.1006b946
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 0x10045c24
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 0x10045c2f
test esi, esi
je 0x10045c76
test edi, edi
je 0x10045c76
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp - 0x1c], eax
cmp esi, ecx
jae 0x10045c48
lea eax, [edx + esi]
jmp 0x10045c73
jbe 0x10045c76
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x10045c5e
push ecx
push esi
mov ecx, edi
call fcn.100335f0
jmp 0x10045c76
sub esi, ecx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.10055b90
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 0x10045d86
mov edx, dword [ebp + 0xc]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10045dac
test edi, edi
je 0x10045d33
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 0x10045d19
ja 0x10045cda
cmp esi, edx
jbe 0x10045d19
lea esi, [ebx + ecx]
cmp esi, edx
jae 0x10045ce5
mov eax, dword [edi]
jmp 0x10045d14
jbe 0x10045d19
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp esi, eax
jbe 0x10045cfe
push ecx
push esi
mov ecx, edi
call fcn.100335f0
mov ecx, dword [ebp - 0x10]
jmp 0x10045d19
sub esi, edx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.10055b90
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.10055610
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 0x10045d5d
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 0x10045d86
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]
mov edx, dword [ebp + 0xc]
test eax, eax
jne 0x10045cb0
xor esi, esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10045d98
push eax
call fcn.100535b2
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 0x10045d88
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