Function at 0x42a8d0
Capabilities:
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 ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449852
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x256c
call fcn.00442aa0
mov eax, dword [0x46c060]
xor eax, esp
mov dword [esp + 0x2568], eax
push ebx
push esi
push edi
mov eax, dword [0x46c060]
xor eax, esp
push eax
lea eax, [esp + 0x2580]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x14], ecx
xor edi, edi
lea ecx, [esp + 0x104]
mov dword [esp + 0x2c], edi
call fcn.00401585
mov edx, esi
lea ecx, [esp + 0xec]
call fcn.0040fc50
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x42a945
mov esi, dword [esi]
lea ecx, [esp + 0x104]
call fcn.00401d18
push esi
lea ecx, [esp + 0x108]
call fcn.004017a7
push edi
push 1
lea ecx, [esp + 0xf4]
call fcn.0040253d
cmp dword [esp + 0x2554], 3
push edi
push edi
push edi
push edi
push 0x44c280
sete byte [esp + 0x2f]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2588], edi
test ebx, ebx
jne 0x42a9d1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], str.httpGetString___InternetOpen_ERROR
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0xd4], vtable.std::runtime_error.0
push 0x45f4ac
lea eax, [esp + 0xd8]
push eax
call sub.MSVCR110.dll__CxxThrowException
push edi
push edi
push 3
lea eax, [esp + 0x456]
push eax
lea eax, [esp + 0x358]
push eax
push dword [esp + 0x2564]
lea eax, [esp + 0x15e]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [esp + 0x30], edi
mov byte [esp + 0x2588], 1
test edi, edi
jne 0x42aa40
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], str.httpGetString___InternetConnect_ERROR
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0xd4], vtable.std::runtime_error.0
push 0x45f4ac
lea eax, [esp + 0xd8]
jmp 0x42a9cb
lea eax, [esp + 0x54c]
push eax
lea ecx, [esp + 0x20]
call fcn.0041f6a5
lea eax, [esp + 0x154e]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x258c], 2
call fcn.004021ab
push 0
xor eax, eax
cmp byte [esp + 0x1f], al
mov ecx, 0x800000
cmovne eax, ecx
push eax
push 0
push 0x44c188
push str.HTTP_1.0
push dword [esp + 0x30]
push 0x458d9c
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [esp + 0x34], esi
mov byte [esp + 0x2588], 3
test esi, esi
jne 0x42aadf
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], str.httpGetString___HttpOpenRequest_ERROR
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0xd4], vtable.std::runtime_error.0
push 0x45f4ac
lea eax, [esp + 0xd8]
jmp 0x42a9cb
xor eax, eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x42ab26
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], str.httpGetString___HttpSendRequest_ERROR
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0xd4], vtable.std::runtime_error.0
push 0x45f4ac
lea eax, [esp + 0xd8]
jmp 0x42a9cb
push ecx
push ecx
lea ecx, [esp + 0x44]
call fcn.0042cb1c
mov byte [esp + 0x2588], 4
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x42ab68
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42ac00
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42ab39
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42ac6c
cmp eax, 0xffffffff
je 0x42ac36
inc eax
push eax
call dword [sym.imp.MSVCR110.dll_malloc]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x24], eax
mov dword [esp], str.InternetReadFile_failed
call fcn.0040221e
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x258c], 5
push dword [esp + 0x28]
push dword [esp + 0x28]
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x42abc8
lea ecx, [esp + 0xd4]
call fcn.00437678
lea ecx, [esp + 0xd4]
mov byte [esp + 0x2588], 4
call fcn.00402286
push 0
push dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
push dword [esp + 0x20]
call dword [sym.imp.MSVCR110.dll_free]
pop ecx
jmp 0x42ab39
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], str.httpGetString___InternetQueryDataAvailable_ERROR
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0xd4], vtable.std::runtime_error.0
push 0x45f4ac
lea eax, [esp + 0xd8]
jmp 0x42a9cb
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x18], str.httpGetString___No_Settings_ERROR
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0xd4], vtable.std::runtime_error.0
push 0x45f4ac
lea eax, [esp + 0xd8]
jmp 0x42a9cb
push dword [esp + 0x14]
lea ecx, [esp + 0x40]
call fcn.0042cbcb
lea ecx, [esp + 0x8c]
call fcn.0042cb9b
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
lea ecx, [esp + 0x1c]
call fcn.00402409
push edi
call esi
push ebx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2580]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2568]
xor ecx, esp
call fcn.00440d0e
mov esp, ebp
pop ebp
ret