if not arg:
            log.error("VirtualAllocEx failed when injecting process with pid %d, injection aborted (Error: %s)"
                      % (self.pid, get_error_string(KERNEL32.GetLastError())))
            return False