Function at 0x426b9c
Capabilities:
Check for time delay via gettickcount
Check internet connectivity via wininet
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], esp
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x426c47
push 0
push 0x40150ef
push 6
call fcn.0055df5e
add esp, 0xc
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0055eaf0
add esp, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push 0x1143959
mov ecx, 2
call fcn.004010b8
add esp, 8
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x426c9e
push ebx
call fcn.0055df58
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x426cb2
push ebx
call fcn.0055df58
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.0055f400
add esp, 0x1c
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x426d33
mov dword [ebp - 0x44], esp
push 0
push 0
push 0
push 4
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x426d2b
push 0xec
push 0x40150ef
push 6
call fcn.0055df5e
add esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x426d76
mov dword [ebp - 0x44], esp
push 0
push 0
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x426d73
push 0x145
push 0x40150ef
push 6
call fcn.0055df5e
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x426d9f
mov ebx, dword [0x1151187]
add ebx, 0x20
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
mov dword [ebx], 1
mov eax, 0xffffffff
jmp 0x4273db
mov eax, 0x114395f
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x426db5
push ebx
call fcn.0055df58
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x426e39
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x168
call fcn.0055eaf0
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x11439fc
push dword [ebp - 0x44]
push 0x11439fe
push dword [ebp - 0x10]
mov ecx, 4
call fcn.004010b8
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x426e21
push ebx
call fcn.0055df58
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x426e35
push ebx
call fcn.0055df58
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x2800
push 1
mov ebx, 0x1bc
call fcn.0055f610
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x426e6e
push ebx
call fcn.0055df58
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x426e85
mov eax, 0x5bc2a6
push eax
push 1
mov ebx, 0x130
call fcn.0055f640
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push 0
push 0x84000100
push dword [ebp - 0x44]
push dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x426edc
push 0x420
push 0x40150ef
push 6
call fcn.0055df5e
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x426f08
mov ebx, dword [0x1151187]
add ebx, 0x20
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
mov dword [ebx], 1
mov eax, 0xfffffffe
jmp 0x4273db
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp + 0x14], 0
jne 0x426f70
push 0
push 0
push 0
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x426f55
mov eax, 0x5bc2a6
push eax
push 3
mov ebx, 0x270
call fcn.00562860
add esp, 0x28
mov dword [ebp - 0x2c], eax
jmp 0x427045
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x426f85
mov eax, 0x5bc2a6
push eax
push 1
mov ebx, 0x24c
call fcn.0055f980
add esp, 0x10
test eax, eax
je 0x426fe2
push 0
push 0
push 0
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x426fc7
mov eax, 0x5bc2a6
push eax
push 3
mov ebx, 0x270
call fcn.00562860
add esp, 0x28
mov dword [ebp - 0x2c], eax
jmp 0x42701f
push 0
push 0
push 0
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x427009
mov eax, 0x5bc2a6
push eax
push 3
mov ebx, 0x270
call fcn.00562860
add esp, 0x28
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x290
call fcn.00562940
add esp, 0x10
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x2c], 0
jne 0x42706e
mov ebx, dword [0x1151187]
add ebx, 0x20
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
mov dword [ebx], 1
mov eax, 0xfffffffd
jmp 0x4273db
mov dword [ebp - 0x44], esp
mov eax, 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000005
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x4270b3
push 0x736
push 0x40150ef
push 6
call fcn.0055df5e
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4270c7
mov dword [ebp - 0x1c], 0
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0xa
mov dword [ebp - 0x3c], 0x800
mov ebx, dword [0x1151187]
add ebx, 0x1c
mov dword [ebp - 0x44], ebx
push dword [ebp + 8]
call fcn.00422c86
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42711e
push ebx
call fcn.0055df58
add esp, 4
pop eax
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
push 0
mov ebx, 0x350
call fcn.0055f650
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x3c]
push 1
mov ebx, 0x1bc
call fcn.0055f610
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x427169
push ebx
call fcn.0055df58
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x427181
add eax, 8
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x4271ab
push 0x8f1
push 0x40150ef
push 6
call fcn.0055df5e
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4271f3
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x278
call fcn.005629a0
add esp, 0x10
mov ebx, dword [0x1151187]
add ebx, 0x20
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
mov dword [ebx], 1
mov eax, 0xfffffffc
jmp 0x4273db
cmp dword [ebp - 0x40], 0
jne 0x42721c
mov ebx, dword [0x1151187]
add ebx, 0x20
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
mov dword [ebx], 1
jmp 0x427389
push 0x80000301
push 0
push dword [ebp - 0x40]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x427239
mov eax, 0x5bc2b7
push eax
push 2
mov ebx, 0x1a0
call fcn.00560bf0
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x427263
push ebx
call fcn.0055df58
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42727a
mov eax, 0x5bc2b7
push eax
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 2
mov ebx, 0x298
call fcn.005629b0
add esp, 0x1c
fild qword [ebp - 0x28]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401945
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401945
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x427300
mov dword [ebp - 0x38], 0xa
mov ebx, dword [0x1151187]
add ebx, 0xc
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov ebx, dword [0x1151187]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [0x1151187]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov ebx, dword [0x1151187]
add ebx, 0x10
mov dword [ebp - 0x44], ebx
fild qword [ebp - 0x28]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x54]
fsub qword [ebp - 0x54]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.00401945
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [0x1151187]
add ebx, 0x18
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
jmp 0x427124
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x278
call fcn.005629a0
add esp, 0x10
mov dword [ebp - 0x44], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x4273d1
push 0xc6e
push 0x40150ef
push 6
call fcn.0055df5e
add esp, 0xc
mov eax, 1
jmp 0x4273db
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4273ec
push ebx
call fcn.0055df58
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4273fc
push ebx
call fcn.0055df58
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42740c
push ebx
call fcn.0055df58
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10