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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0xc8]
push ebx
call fcn.0046699a
mov esi, eax
mov dword [esp + 0x18], esi
pop ecx
test esi, esi
jne 0x42aa29
shr ebx, 1
cmp ebx, 0x400
jae 0x42a9ea
push str.unable_to_allocate_memory
push dword [edi + 0x1c4]
call fcn.0042c4b0
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push 0x498584
call fcn.0042f5ab
jmp 0x42acbf
push str._treceiving_response_n
call fcn.00427079
xor eax, eax
mov dword [esp + 0x4c], 0x28
lea ecx, [edi + 0x8c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp], str.InternetReadFileEx
call fcn.00431c89
and dword [esp + 0x10], 0
lea ecx, [esp + 0x20]
push 0x498580
call fcn.0042f5ab
mov esi, dword [ebp + 0x10]
mov eax, esi
cmp ebx, esi
cmovb eax, ebx
mov ecx, ebx
test esi, esi
cmovne ecx, eax
test ecx, ecx
je 0x42ac6b
lea eax, [edi + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x18], eax
mov ecx, eax
mov dword [esp + 0x1c], 0
call fcn.00434f2f
inc dword [esp + 0x1c]
cmp byte [edi + 0xf4], 0
jne 0x42ac4a
push edi
push 0
lea eax, [esp + 0x50]
push eax
push dword [edi + 0xc0]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00408856
test esi, esi
jne 0x42ab1a
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.0042b048
push eax
lea ecx, [esp + 0x24]
call fcn.0042f642
lea ecx, [esp + 0x34]
call fcn.0042f60f
cmp dword [esp + 0x2c], 0x7d0
jne 0x42abfd
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x42ac6b
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x10], eax
test edx, edx
je 0x42ab54
mov eax, dword [edx]
push ecx
push dword [esp + 0x18]
mov ecx, edx
call dword [eax]
mov esi, eax
cmp esi, 0x7d0
jne 0x42ac1c
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
test ecx, ecx
je 0x42abf0
test esi, esi
jne 0x42abb7
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a55c0]
call fcn.004846e0
movsd xmm1, qword [0x4a55a0]
comisd xmm0, xmm1
ja 0x42ab91
movapd xmm0, xmm1
movsd xmm1, qword [0x4a5590]
call fcn.00484970
movsd xmm2, qword [0x4a55a0]
movapd xmm1, xmm2
mov ecx, dword [ebp + 0x14]
divsd xmm1, xmm0
subsd xmm2, xmm1
jmp 0x42abe5
movd xmm2, eax
cvtdq2pd xmm2, xmm2
shr eax, 0x1f
movd xmm0, esi
addsd xmm2, qword [eax*8 + 0x4a55c0]
cvtdq2pd xmm0, xmm0
mov eax, esi
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a55c0]
divsd xmm2, xmm0
mov eax, dword [ecx]
push ecx
push ecx
movsd qword [esp], xmm2
call dword [eax]
mov eax, esi
sub eax, dword [esp + 0x10]
cmp ebx, eax
jmp 0x42aa8d
mov eax, dword [edi + 0x1c0]
push dword [edi + 0xa0]
push dword [eax + 0x44]
push dword [edi + 0x1c4]
call fcn.0042c4cd
add esp, 0xc
jmp 0x42ac6b
mov eax, dword [edi + 0x1c0]
push esi
push dword [eax + 0x48]
push dword [edi + 0x1c4]
call fcn.0042c4cd
add esp, 0xc
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], esi
push 0
call fcn.00413a05
jmp 0x42ac6b
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 0
mov dword [esp + 0x30], 0x7dd
call fcn.00413a05
lea ecx, [esp + 0x18]
call fcn.00408856
call sub.KERNEL32.DLL_GetTickCount
mov ecx, eax
mov eax, dword [edi + 0x1bc]
cmp ecx, eax
jae 0x42ac81
sub ecx, eax
dec ecx
jmp 0x42ac83
sub ecx, eax
mov eax, dword [edi + 0x1ac]
push dword [esp + 0x14]
mov dword [eax + 0x28], ecx
mov eax, dword [edi + 0x1ac]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x20], ecx
and dword [eax + 0x24], 0
call fcn.0045fb1d
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0042f5cb
lea ecx, [esp + 0x20]
call fcn.0042f60f
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10