Function at 0x10033ea0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100861bc
mov eax, dword fs:[0]
push eax
mov eax, 0x10e4
call fcn.10084fa0
mov eax, dword [0x1009e3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x10e0], edi
push 0
push 0
push 0
push 1
push str.User_Agent
mov dword [ebp - 0x10e0], edi
mov dword [ebp - 0x10e4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10e0], eax
test eax, eax
je 0x10034209
cmp dword [esi + 0x14], 0xf
jbe 0x10033f14
mov esi, dword [esi]
push 0
push closesocket
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x10033f43
push dword [ebp - 0x10e0]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.Failed_to_open_URL.
jmp 0x1003420e
push 0xb0
lea eax, [ebp - 0x10dc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10dc], 0x10099b6c
lea ecx, [ebp - 0x1074]
mov dword [ebp - 0x10cc], 0x10099b10
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x10c4]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x10dc]
mov dword [ebp - 0x10e4], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10dc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x10dc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10e0], eax
lea ecx, [ebp - 0x10c4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x108c], 0
mov dword [ebp - 0x1088], 0
lea eax, [ebp - 0x1014]
mov dword [ebp - 4], 2
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1003405e
nop dword [eax]
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x1003405e
push 0
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x10cc]
call dword [sym.imp.MSVCP140.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__]
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10034020
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x10e0]
call esi
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov edx, dword [ebp - 0x1088]
mov eax, edx
and al, 0x22
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x10e4], 0xa
movq qword [ebp - 0x10f0], xmm0
mov dword [ebp - 0x10e8], 0
movups xmmword [ebp - 0x102c], xmm0
mov byte [ebp - 0x102c], 0
cmp al, 2
je 0x100340e7
mov eax, dword [ebp - 0x10a4]
mov ecx, dword [eax]
test ecx, ecx
je 0x100340e7
mov eax, dword [ebp - 0x10b4]
cmp ecx, dword [ebp - 0x108c]
cmovb ecx, dword [ebp - 0x108c]
mov edx, dword [eax]
sub ecx, edx
jmp 0x10034118
test dl, 4
jne 0x1003410c
mov eax, dword [ebp - 0x10a8]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003410c
mov eax, dword [ebp - 0x10b8]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x1098]
add ecx, dword [eax]
jmp 0x10034118
mov ecx, dword [ebp - 0x10ec]
mov edx, dword [ebp - 0x10f0]
test edx, edx
je 0x10034129
push ecx
push edx
lea ecx, [ebp - 0x102c]
call fcn.100372a0
mov dword [ebp - 4], 4
lea edx, [ebp - 0x102c]
xorps xmm0, xmm0
mov ecx, edi
movq qword [edi], xmm0
mov dword [edi + 8], 0
call fcn.10033a60
mov ecx, dword [ebp - 0x1018]
cmp ecx, 0xf
jbe 0x10034187
mov edx, dword [ebp - 0x102c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003417d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003417d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100843f0
add esp, 8
mov eax, dword [ebp - 0x10dc]
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0xf
mov byte [ebp - 0x102c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [ebp - 0x10dc]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0x10e0], ecx
lea ecx, [ebp - 0x10c4]
call fcn.10036d70
lea ecx, [ebp - 0x10bc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1074]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100841e2
mov esp, ebp
pop ebp
ret
push str.Failed_to_initialize_WinINet.
lea ecx, [ebp - 0x10f0]
call fcn.10033940
push 0x1009b7ac
lea eax, [ebp - 0x10f0]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3