Expresses the sense of 'whether...or', 'no matter whether... or not'.
Long explanation:
The grammar point Verbようが Verbるまいが is used to indicate an indifference to two possible outcomes. It can be translated as 'whether...or', 'no matter whether... or not' in English. This is used with verbs to express that the outcome does not change even if the condition or the situation changes.