Function at 0x42c4b0
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450d60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], esp
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0044b6f4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0044b6f4
lea eax, [esi + 4]
lea ecx, [ebp - 0x34]
push eax
push 0x475278
push ecx
mov dword [ebp - 0x1c], 5
mov ebx, 0x4e20
mov byte [ebp - 4], 3
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0044b81a
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x14]
push 0
push 0x9001
push edx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x42c574
mov eax, dword [ebp - 0x30]
push 0
push 0
lea ecx, [ebp - 0x30]
call dword [eax + 0x30]
push 0x10000000
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [0x468ea8], eax
jne 0x42c5b1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bcb8
mov eax, 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.WININET.dll_InternetSetStatusCallback]
push 0x42ca30
push eax
call edi
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x18]
push ecx
push 0x4738fd
push str._s_s
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x468ea8]
add esp, 0x10
push 2
push 0x84000002
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
push 1
push ebx
push 0
push 0x468eb0
push 3
call esi
test eax, eax
jne 0x42c638
mov edx, dword [0x468ea8]
push eax
push edx
call edi
mov eax, dword [0x468eac]
test eax, eax
je 0x42c627
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x468ea8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x42c82e
cmp eax, 2
jne 0x42c5fb
mov eax, dword [0x468eac]
test eax, eax
jne 0x42c662
mov ecx, dword [0x468ea8]
push eax
push ecx
call edi
mov edx, dword [0x468ea8]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x42c790
lea ecx, [ebp - 0x38]
push 0
lea edx, [ebp - 0x20]
push ecx
push edx
push 0x20000005
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov edi, eax
test edi, edi
jne 0x42c6f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42c6d4
mov eax, dword [0x468eac]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [0x468eb8]
push 1
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov edx, dword [0x468ea8]
push edi
push edx
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov eax, dword [0x468ea8]
push eax
jmp 0x42c78e
push 1
push ebx
push 0
push 0x468eb0
push 3
call esi
test eax, eax
jne 0x42c7cb
test edi, edi
mov dword [ebp - 0x1c], 3
je 0x42c919
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x42c919
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.WININET.dll_InternetReadFileExA]
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x60], 0x28
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0x12c
mov eax, dword [0x468eac]
push 3
lea edx, [ebp - 0x60]
push 9
push edx
push eax
call edi
test eax, eax
jne 0x42c882
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42c7e2
mov ecx, dword [0x468eac]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov edx, dword [0x468eb4]
push 1
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov eax, dword [0x468ea8]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov ecx, dword [0x468ea8]
push ecx
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bcb8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x42c6f9
cmp eax, 2
jne 0x42c6d4
jmp 0x42c6f9
push 1
push ebx
push 0
push 0x468eb0
push 3
call esi
test eax, eax
jne 0x42c86b
mov edx, dword [0x468eac]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [0x468eb4]
push 1
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov ecx, dword [0x468ea8]
push 0
push ecx
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov edx, dword [0x468ea8]
push edx
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bcb8
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x42c72d
cmp eax, 2
jne 0x42c7e2
jmp 0x42c72d
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x194]
push eax
push ecx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::Write
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x20]
add eax, edx
cmp eax, ecx
mov dword [ebp - 0x44], eax
jb 0x42c904
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::Flush
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [0x468eac]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
mov edi, 2
call esi
mov ecx, dword [0x468eb4]
push 1
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov edx, dword [0x468ea8]
push 0
push edx
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov eax, dword [0x468ea8]
push eax
call esi
push 1
push 0x64
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x42c9e4
lea edx, [ebp - 0x194]
mov dword [ebp - 0x48], 0x12c
mov dword [ebp - 0x4c], edx
jmp 0x42c72d
mov ecx, dword [0x468eac]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov edx, dword [0x468eb8]
push 1
push 0x3e8
jmp 0x42c772
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bcb8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret