Function at 0x41a51c
Capabilities:
Connect to http server
Create http request

Disassembly:
mov eax, 0x440f21
call fcn.0043de50
sub esp, 0x68
push ebx
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
call fcn.0041d1f5
push dword [ebp + 8]
lea eax, [ebp - 0x48]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041d31f
add esp, 0x10
cmp dword [ebp - 0x50], ebx
mov byte [ebp - 4], 1
je 0x41a6de
cmp dword [ebp - 0x40], ebx
je 0x41a6de
mov byte [ebp + 0xb], bl
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x38], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [0x455afc]
mov byte [ebp - 4], 4
cmp eax, ebx
jne 0x41a58c
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x41a65f
mov eax, dword [ebp - 0x54]
cmp eax, ebx
jne 0x41a5ae
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push esi
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x41a637
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x41a5da
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push 0x400000
push ebx
push ebx
push ebx
push eax
push 0x452724
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x41a610
lea eax, [ebp - 0x10]
push eax
call fcn.0041b148
pop ecx
mov dword [ebp - 0x20], eax
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
call esi
jmp 0x41a630
mov edx, str.Request_cannot_be_completed_on_current_url.
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov byte [ebp + 0xb], 1
push dword [ebp - 0x14]
call esi
jmp 0x41a657
mov edx, str.Cannot_connect_to_server.
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov byte [ebp + 0xb], 1
push dword [ebp - 0x18]
call esi
pop esi
jmp 0x41a67f
mov edx, str.Cannot_initialize_library.
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov byte [ebp + 0xb], 1
cmp byte [ebp + 0xb], bl
je 0x41a69e
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x74]
push eax
call fcn.0041a3fa
lea eax, [ebp - 0x74]
push 0x448588
push eax
call sub.MSVCRT.dll__CxxThrowException
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, str.Cannot_get_file_size__bad_URL.
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_void_]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp - 0x74]
push 0x448588
push eax
mov dword [ebp - 0x74], vtable.HttpDownloaderException.0
mov byte [ebp - 4], 2
call sub.MSVCRT.dll__CxxThrowException