Function at 0x468ef0
Capabilities:
Check http status code
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4ae568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
xor ebx, ebx
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x18]
mov dword [esp + 0xe0], ebx
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 1
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 2
call sub.MFC42u.DLL_CString::CString_5
lea eax, [esp + 0x20]
push 0x20000000
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0xfc]
lea edx, [esp + 0x68]
push ecx
push edx
push eax
mov byte [esp + 0x100], 3
call sub.MFC42u.DLL_AfxParseURLEx
cmp eax, 1
jne 0x46931e
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x30], ebp
je 0x46931e
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push edi
lea ecx, [esp + 0x14]
push 4
push ecx
push 2
push ebp
mov dword [esp + 0x24], 0x186a0
call esi
lea edx, [esp + 0x14]
push 4
push edx
push 3
push ebp
mov dword [esp + 0x24], 1
call esi
lea eax, [esp + 0x14]
push 4
push eax
push 4
push ebp
mov dword [esp + 0x24], 0x1f4
call esi
push ebx
push ebx
push 3
push ebx
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ebx
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x5c]
push eax
push ecx
push ebx
lea ecx, [esp + 0x4c]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x50], edi
je 0x469315
push ebx
push 0x84000000
push ebx
push ebx
push str.HTTP_1.0
push ebx
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x4f07f0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x54], esi
je 0x46930e
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x80000000
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
call edi
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
add esp, 4
push eax
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
push esi
call ebx
push 0x10000000
push str.Accept_Encoding:gzip_deflate
call edi
add esp, 4
push eax
push str.Accept_Encoding:gzip_deflate
push esi
call ebx
push 0x10000000
push 0x4f0710
call edi
add esp, 4
push eax
push 0x4f0710
push esi
call ebx
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
cmp eax, 1
jne 0x469303
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea edx, [esp + 0x2c]
push 0
lea eax, [esp + 0x64]
push edx
push eax
mov edi, 0x80
push 0x13
push esi
mov dword [esp + 0x40], edi
call ebx
cmp eax, 1
jne 0x469303
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
cmp eax, 0xc8
mov dword [esp + 0x14], eax
jne 0x469303
mov dword [esp + 0x2c], edi
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
push eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x64]
push edx
push eax
push 5
push esi
call ebx
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x4691a8
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x469303
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
jne 0x469199
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xf8]
mov byte [edi + ecx], 0
mov ecx, dword [esp + 0x10]
mov dword [edx], edi
mov dword [eax], ecx
jmp 0x469303
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x469303
push 0
lea edx, [esp + 0x14]
push 0
push edx
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp eax, 1
jne 0x469303
mov eax, dword [esp + 0x10]
add eax, 0xfff
and eax, 0xfffff000
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x58], edi
je 0x469303
xor ebp, ebp
xor ebx, ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
jne 0x4692e1
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, ecx
je 0x469265
cmp ebp, ecx
jne 0x469225
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
jmp 0x469234
lea eax, [ebx + eax + 1]
push eax
push ebp
call dword [sym.imp.MSVCRT.dll_realloc]
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x4692e1
mov ecx, dword [esp + 0x1c]
mov esi, edi
mov edx, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
add ebx, eax
jmp 0x4691ef
mov eax, dword [esp + 0xf4]
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x18], 1
mov dword [esp + 0x40], ecx
mov dword [eax], ebp
mov al, byte [esp + 0x27]
mov dword [edx], ebx
mov byte [ebx + ebp], 0
mov byte [esp + 0x3c], al
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe8], 4
push ecx
push ebx
push ebp
call fcn.00468c30
mov eax, dword [esp + 0x4c]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x4692d5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4692cc
cmp al, 0xff
je 0x4692cc
dec al
mov byte [ecx], al
jmp 0x4692d5
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push edi
mov edi, dword [sym.imp.MSVCRT.dll_free]
call edi
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
jne 0x4692ff
test ebp, ebp
je 0x4692ff
push ebp
call edi
add esp, 4
mov ebp, dword [esp + 0x38]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x50]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xd8]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret