import struct


def get_dword_at(li, offset):
    """
    Get dword at specified offset

    :param li: Loader input
    :param offset: Offset
    """

    li.seek(offset)
    return struct.unpack('>I', li.read(4))[0]