Function at 0x448622
Capabilities:
Check http status code
Check internet connectivity via wininet
Create http request
Get http content length
Reference http user-agent string

Disassembly:
push 0x390
push 0x4da280
call fcn.0047c6b0
mov eax, ecx
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x17c], eax
xor ebx, ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
push 8
pop ecx
mov esi, 0x4d097c
lea edi, [ebp - 0x164]
rep movsd dword es:[edi], dword [esi]
push 0xa8
push ebx
lea eax, [ebp - 0x144]
push eax
call fcn.00458260
add esp, 0xc
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x16c], 4
cmp dword [ebp - 0x184], ebx
jne 0x4486bf
mov eax, dword [ebp - 0x168]
mov dword [eax + 4], 0x65
mov dword [eax + 8], ebx
xor eax, eax
jmp 0x44896c
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x4486d0
cmp dword [ebp + 0x14], ebx
ja 0x4486d0
or edi, 0xffffffff
jmp 0x448739
push 0x78
push ebx
lea eax, [ebp - 0x94]
push eax
call fcn.00458260
add esp, 0xc
cmp dword [ebp + 0x14], ebx
jne 0x448700
push esi
push str.Range:_bytes_d__r_n
push 0x3c
lea eax, [ebp - 0x94]
push eax
call fcn.00448a0e
add esp, 0x10
jmp 0x44871d
mov eax, dword [ebp + 0x14]
add eax, esi
push eax
push esi
push str.Range:_bytes_d__d_r_n
push 0x3c
lea eax, [ebp - 0x94]
push eax
call fcn.00448a0e
add esp, 0x14
or edi, 0xffffffff
push edi
lea eax, [ebp - 0x94]
push eax
push 0x64
lea eax, [ebp - 0x164]
push eax
call fcn.0045f23e
add esp, 0x10
mov esi, dword [ebp - 0x168]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test byte [ebp - 0x178], 0x20
je 0x44876c
mov dword [esi + 4], 0x66
jmp 0x44894e
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x448793
push eax
call fcn.0045b661
pop ecx
test eax, eax
je 0x448793
mov dword [ebp - 0x180], 3
mov eax, dword [ebp - 0x17c]
jmp 0x448795
mov eax, ebx
push ebx
push ebx
push eax
push dword [ebp - 0x180]
push str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT_6.1__QQPCMgr7.0_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x174], eax
test eax, eax
jne 0x4487c8
mov dword [esi + 4], 0x67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 8], eax
jmp 0x448951
push ebx
push 0x84004100
push edi
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x184]
push dword [ebp - 0x174]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
mov dword [ebp - 0x170], edi
test edi, edi
jne 0x448810
mov dword [esi + 4], 0x68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 8], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x44895e
push 0x20a
push ebx
lea eax, [ebp - 0x3a0]
push eax
call fcn.00458260
add esp, 0xc
mov dword [ebp - 0x18c], 0x208
push ebx
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x3a0]
push 0x2f
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x168], ebx
push ebx
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x168]
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x448920
cmp dword [ebp - 0x168], 0xc8
je 0x448897
cmp dword [ebp - 0x168], 0xce
je 0x448897
cmp dword [ebp - 0x168], 0x12e
jne 0x448920
push ebx
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x188]
push eax
push 0x20000005
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
push 0xffffffffffffffff
pop eax
cmovne eax, dword [ebp - 0x188]
mov dword [esi + 0x48], eax
push 0x80
push ebx
lea eax, [ebp - 0x9c]
push eax
call fcn.00458260
add esp, 0xc
mov dword [ebp - 0x16c], 0x80
push ebx
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x9c]
push eax
push 0xb
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea ecx, [esi + 0x30]
test eax, eax
je 0x44890d
lea eax, [ebp - 0x9c]
push eax
call fcn.00406eb9
jmp 0x448912
call fcn.00406e40
xor ebx, ebx
inc ebx
mov dword [ebp - 0x194], ebx
jmp 0x448804
mov dword [esi + 4], 0x69
mov eax, dword [ebp - 0x168]
jmp 0x448801
mov dword [esi + 8], ebx
mov dword [ebp - 4], 0xfffffffe
mov edi, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x174]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov eax, ebx
call fcn.0047c6f9
ret 0x10