It tells you your error, look for the instruction at the address, it pointed to 0x0000000, which you obviously don't have access to. Want to show us your code so we can help?
void __cdecl SetConsoleVariable(char* szVal) { void* vSetVar = (void*)ADR_ALTERNATIVE_CONSOLE; _asm { push szVal call vSetVar add esp, 4 } } try using this instead of pushtoconsole might work not sure